Dvbsnoop: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
m (added obtaining/installing information from the "testing your dvb device" article)
m (minor edit)
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
'''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)
'''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==
==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:
Install it, e.g. with debian:

# apt-get install dvbsnoop
:* To install it on a debian system:
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.
::: <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 Sourceforge.}}
$ mkdir ~/dvbsnoop
$ mkdir ~/dvbsnoop
$ cd dvbsnoop
$ cd dvbsnoop
Line 15: Line 22:
$ ls
$ ls
$ cd bin-i386-api3
$ cd bin-i386-api3

$ ls
{{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''}}
$ ./dvbsnoop -help

$ ./dvbsnoop -s pidscan
==Usage==
For dvbsnoop's options run
$ dvbsnoop -help

A typical usage might entail something like:
$ dvbsnoop -s pidscan

== External Links ==
== External Links ==
* [http://dvbsnoop.sourceforge.net/ dvbsnoop Homepage]
* [http://dvbsnoop.sourceforge.net/ dvbsnoop Homepage]

Latest revision as of 16:12, 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 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

Usage

For dvbsnoop's options run

 $ dvbsnoop -help

A typical usage might entail something like:

 $ dvbsnoop -s pidscan

External Links