Difference between revisions of "Dvb-apps"

From MythTV Official Wiki
Jump to: navigation, search
m (Getting dvb-apps: Small re-word)
m (Reverted edits by Sveretenov (talk) to last revision by Wagnerrp)
 
(16 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
{{wrongtitle|dvb-apps}}
 
{{wrongtitle|dvb-apps}}
  
'''dvb-apps''' is a distribution of tools useful for low-level testing and configuration of [[DVB]] hardware. Many consider these tools essential to anyone with a DVB adapter.
+
'''dvb-apps''' is a distribution of tools useful for low-level testing and configuration of [[DVB]] hardware. In various places it is also called [[dvbutils]] or dvbtools. Many consider these tools essential to anyone with a DVB adapter.
  
 
== Getting dvb-apps ==
 
== Getting dvb-apps ==
  
Before using these tools you will need to build them yourself from the source code. To obtain the source code, the best way is to download it from CVS:
+
=== Precompiled ===
  
 +
Most Linux distributions have a dvbutils package which will be a breeze to install. For example, with Debian or Ubuntu install the package with:
 +
 +
apt-get install dvb-utils
 +
 +
or
 +
 +
apt-get install dvb-apps
 +
 +
If you have a system based on atrpms.net you can install the utilities with:
 +
 +
yum install linuxtv-dvb-apps
 +
 +
 +
Note: Fedora 12 has dvb-apps and w_scan in the updates repo.
 +
 +
=== Source ===
 +
Alternatively, you can build them yourself from the source code. There are two ways of obtaining the sourcecode:
 +
 +
'''Option 1''': Obtain the source code from CVS:
 
  cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv login (use an empty password)
 
  cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv login (use an empty password)
 
  cvs -z3 -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv co dvb-apps
 
  cvs -z3 -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv co dvb-apps
 +
'''Option 2''': Obtain the source code by downloading it:
 +
# Pick the most up to date version from http://linuxtv.org/downloads
 +
# Unpack it using '''tar xvjf linuxtv-dvb-apps''<your version>''.tar.bz2'''
  
Alternatively, download it from http://linuxtv.org/downloads (picking the most uptodate version) and unpack it using:
+
Once you have the source code (and are in the correct directory), build and install it by typing:
 
 
tar xvjf linuxtv-dvb-apps''<your version>''.tar.bz2
 
 
 
Once you have the source code (and are in the correct directory), build and install it by typeing:
 
  
 
  make
 
  make
Line 22: Line 40:
 
NOTE: Several of these tools may not operate properly while you are running the [[mythbackend]]. If mythbackend is running, it may have a lock on your [[DVB]] card, denying access to one of these tools.
 
NOTE: Several of these tools may not operate properly while you are running the [[mythbackend]]. If mythbackend is running, it may have a lock on your [[DVB]] card, denying access to one of these tools.
  
=== dvbscan ===
+
=== (dvb)scan ===
dvbscan is used to produce a channel configuration file. This is the first step to any successful DVB setup.
+
[[dvbscan|(dvb)scan]] is on some systems called "dvbscan" and on others called "scan", it is used to produce a channel configuration file. This is the first step to any successful DVB setup. You use it like this:<pre>scan /usr/share/doc/dvb-utils//examples/scan/dvb-t/au-sydney_north_shore -o zap | tee ~/.mplayer/channels.conf</pre>which gives you a file that mplayer can use (''e.g.'' mplayer dvb:// -vo null)
  
=== tzap ===
+
=== *zap ===
tzap (and it's siblings szap and czap) is a command line channel changing and signal monitor program. It can also set your card device up for recording. This util is the most basic means of testing your card.
+
[[tzap]] (and it's siblings [[szap]], [[czap]], & [[azap]]) is a command line channel changing and signal monitor program. It can also set your card device up for recording. This util is the most basic means of testing your card. ''e.g.'':<pre> tzap -c ~/.mplayer/channels.conf ABC1</PRE>
  
 
=== dvbdate ===
 
=== dvbdate ===
This is a util for working with the time signal from DVB transmissions. You can view the transmitted date/time and set the system clock. This looks to be a useful alternative to setting up NTP.
+
[[dvbdate]] is a utility for working with the time signal from DVB transmissions. You can view the transmitted date/time and set the system clock. This looks to be a useful alternative to setting up NTP.
  
 
=== ttusb_dec_reset ===
 
=== ttusb_dec_reset ===
Line 45: Line 63:
 
=== dib3000-watch ===
 
=== dib3000-watch ===
 
This util gathers signal statistics from dib3000 modulators.
 
This util gathers signal statistics from dib3000 modulators.
 +
 +
==External links==
 +
 +
* [http://www.linuxtv.org/wiki/index.php/LinuxTV_dvb-apps The linuxtv.org DVB Wiki ] - These guys created the dvb-apps tools!
 +
 +
[[Category:Software]]

Latest revision as of 20:07, 23 December 2012

Important.png Note: The correct title of this article is dvb-apps. It appears incorrectly here due to technical restrictions.


dvb-apps is a distribution of tools useful for low-level testing and configuration of DVB hardware. In various places it is also called dvbutils or dvbtools. Many consider these tools essential to anyone with a DVB adapter.

Getting dvb-apps

Precompiled

Most Linux distributions have a dvbutils package which will be a breeze to install. For example, with Debian or Ubuntu install the package with:

apt-get install dvb-utils

or

apt-get install dvb-apps

If you have a system based on atrpms.net you can install the utilities with:

yum install linuxtv-dvb-apps


Note: Fedora 12 has dvb-apps and w_scan in the updates repo.

Source

Alternatively, you can build them yourself from the source code. There are two ways of obtaining the sourcecode:

Option 1: Obtain the source code from CVS:

cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv login (use an empty password)
cvs -z3 -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv co dvb-apps

Option 2: Obtain the source code by downloading it:

  1. Pick the most up to date version from http://linuxtv.org/downloads
  2. Unpack it using tar xvjf linuxtv-dvb-apps<your version>.tar.bz2

Once you have the source code (and are in the correct directory), build and install it by typing:

make
make install

The apps

NOTE: Several of these tools may not operate properly while you are running the mythbackend. If mythbackend is running, it may have a lock on your DVB card, denying access to one of these tools.

(dvb)scan

(dvb)scan is on some systems called "dvbscan" and on others called "scan", it is used to produce a channel configuration file. This is the first step to any successful DVB setup. You use it like this:
scan /usr/share/doc/dvb-utils//examples/scan/dvb-t/au-sydney_north_shore -o zap | tee ~/.mplayer/channels.conf
which gives you a file that mplayer can use (e.g. mplayer dvb:// -vo null)

*zap

tzap (and it's siblings szap, czap, & azap) is a command line channel changing and signal monitor program. It can also set your card device up for recording. This util is the most basic means of testing your card. e.g.:
 tzap -c ~/.mplayer/channels.conf ABC1

dvbdate

dvbdate is a utility for working with the time signal from DVB transmissions. You can view the transmitted date/time and set the system clock. This looks to be a useful alternative to setting up NTP.

ttusb_dec_reset

This utility resets Hauppauge DEC USB DVB adapters.

dvbnet

This util appears to create a new network adapter based on the /dev/dvb/adapterN/net0 device.

dvbtraffic

This appears to analyze dvb traffic, but only on /dev/dvb/adapter0 as it's hardcoded!

av7110_loadkeys

This util is used to load the remote control configuration on certain DVB units.

dib3000-watch

This util gathers signal statistics from dib3000 modulators.

External links