Difference between revisions of "Dvbsnoop"

From LinuxTVWiki
Jump to: navigation, search
m (added obtaining/installing information from the "testing your dvb device" article)
m (fromatttin, minor edits)
Line 4: Line 4:
  
 
==Obtaining the dvbsnoop==
 
==Obtaining the dvbsnoop==
Install it, e.g. with debian:  
+
If the dvbsnoop package is maintained in a repository available for your "distro", then you can obtain it with your package manager. For example:
  # apt-get install dvbsnoop
+
 
Apparently, dvbsnoop isn't in any of the usual Fedora repositories at this time (Feb 2007).  Instead, download a copy directly from the source forge site using steps similar to the following. Note this is for version 1.40.  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.
+
:* To install it on a debian system:  
 +
::: <code># apt-get install dvbsnoop</code>
 +
 
 +
:* 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
 
   $ mkdir ~/dvbsnoop
 
   $ cd dvbsnoop
 
   $ cd dvbsnoop
Line 15: Line 22:
 
   $ ls  
 
   $ ls  
 
   $ cd bin-i386-api3
 
   $ cd bin-i386-api3
  $ ls
+
 
   $ ./dvbsnoop -help
+
==Usage==
 +
For dvbsnoop's options run
 +
   $ dvbsnoop -help
 +
 
 +
A typical usage might entail something like:
 
   $ ./dvbsnoop -s pidscan
 
   $ ./dvbsnoop -s pidscan
+
 
 
== External Links ==
 
== External Links ==
 
* [http://dvbsnoop.sourceforge.net/ dvbsnoop Homepage]
 
* [http://dvbsnoop.sourceforge.net/ dvbsnoop Homepage]

Revision as of 15:29, 9 January 2008

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