dvbsnoop

From LinuxTVWiki
Revision as of 15:29, 9 January 2008 by CityK (talk | contribs) (fromatttin, minor edits)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

dvbsnoop is a commandline DVB / MPEG stream analyzer utility, which is capable of debugging, dumping or viewing the information in such streams. It is a very usefool tool if you are in need to sniff data streams. dvbsnoop is part of the Tuxbox Project and is hosted on Sourceforge (see links below)

Obtaining the dvbsnoop

If the dvbsnoop package is maintained in a repository available for your "distro", then you can obtain it with your package manager. For example:

  • To install it on a debian system:
# apt-get install dvbsnoop
  • Using Fedora:
Apparently, dvbsnoop isn't in any of the usual Fedora repositories at this time (Feb 2007).

In any regard, dvbsnoop is available for direct download from the Sourceforge project site using steps similar to the following:.

Note: These steps are written in terms of the dvbsnoop version 1.40 release. Your download URL (and the extracted directory dvbsnoop-bin-i386-1.4.00-api3) will change as succeeding versions of dvbsnoop are published on Source Forge. Also you may wish to copy the binary dvbsnoop out to a more convenient directory in your path, rather than the deeply buried directory ~/dvbsnoop/dvbsnoop-bin-i386-1.4.00-api3/bin-i386-api3 which, in this example, contains the binary. Then ./dvbsnoop will not be required, just dvbsnoop as shown in the debian example below.
 $ mkdir ~/dvbsnoop
 $ cd dvbsnoop
 $ wget  http://downloads.sourceforge.net/dvbsnoop/dvbsnoop-bin-i386-1.4.00-api3.tar.gz?modtime=1124046233&big_mirror=0
 $ tar xvzf *.tar.gz
 $ ls
 $ cd dvbsnoop-bin-i386-1.4.00-api3
 $ ls 
 $ cd bin-i386-api3

Usage

For dvbsnoop's options run

 $ dvbsnoop -help

A typical usage might entail something like:

 $ ./dvbsnoop -s pidscan

External Links