From LinuxTVWiki
Jump to navigation Jump to search

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 package

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 Sourceforge.
 $ 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
Note: You may wish to copy the binary dvbsnoop to a much more convenient location, rather than leaving it deeply buried within the directory path ~/dvbsnoop/dvbsnoop-bin-i386-1.4.00-api3/bin-i386-api3


For dvbsnoop's options run

 $ dvbsnoop -help

A typical usage might entail something like:

 $ dvbsnoop -s pidscan

External Links