Dvbtune command-line tuning application for dvb cards
dvbtune -f frequency -p h|v -s symbol_rate -v vpid -a apid -t tpid
dvbtune is a simple tuning application for DVB cards supported by the Linux DVB driver (www.linuxtv.org).
This is still very experimental - especially the XML output. The latest version can be found at www.linuxstb.org. You can contact the author at [email protected].
The following options are understood by dvbtune:
Use DVB device [0-3]
Absolute Frequency (DVB-S in Hz or DVB-T in Hz), or L-band Frequency (DVB-S in Hz or DVB-T in Hz).
Polarity (DVB-S only)
0 = 22 kHz off, 1 = 22 kHz on
0 = Spectrum Inversion off 1 = Spectrum Inversion on, 2 = auto (Default)
Symbol rate (DVB-S only),e.g. 27500
DiSEqc ("Digital Satellite Equipment Control") command (0=none)
Set video PID (Full cards only)
Set audio PID (full cards only)
Set teletext PID (full cards only)
Tune to Program Number (aka service) N
Dump SI information as XML
Attempt to auto-find other transponders (experimental)
Monitor the reception quality
Add network interface and receive MPE on PID dpid
Print help message
Print version string
For simple tuning, you can just use
dvbtune -f 12188000 -p h -s 27500 -v 163 -a 104 -t 32
to tune to a satellite transponder and set the video, audio and teletext PIDs.
dvbtune can also support DVB-T reception (currently for the UK only). In this case, you just need to specify the frequency:
dvbtune -f 48183300
To get the DVB SI information for a multiplex, you can use the -i option. The output of dvbtune needs some addition lines before it is a valid XML file.
To get the DVB SI information for a multiplex, you can use the "-i" option. The output of dvbtune needs some addition lines before it is a valid XML file. e.g. use a script containing
echo '<?xml version="1.0"?>' > test.xml ; echo '<satellite>' >> test.xml ; dvbtune -f freq -s srate -p pol -i >> test.xml ; echo '</satellite>' >> test.xml
to dump the SI for a satellite transponder.
This was done to allow you to write scripts to scan multiple transponders and write the output to the same XML file. See the "scripts" subdirectory for examples.
dvbtune depends on the appropriate device nodes in /dev being present. These are either provided automatically by devfsd or udev, or must be made using /sbin/MAKEDEV dvb. The Debian package automatically runs MAKEDEV if necessary on install.
xml2vdr (1), szap (1).
dvbtune was written by Dave Chapman [email protected].
Hilmar Linder added the Switch -n that adds a network interface and switch -m that monitors the reception quality. Changed the tuning code. Added command line parameters for spectral inversion. Changed code to allow L-Band frequencies with -f switch.
John Williams Added -D diseqc support, and made the 22kHz tone automatic again.
This manual page was written by Alastair McKinstry [email protected] for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.