Go to TogaWare.com Home Page.
GNU/Linux Desktop Survival Guide
by Graham Williams

Setup DVB-T

The dvb-apps package provides command line tools to access the functionality of a DVB-T device (as well as other DVB devices). Install the dvb-apps package:

$ wajig install dvb-apps

We can scan for our local television stations, following the instructions in http://www.linuxtv.org/wiki/index.php/Testing_your_DVB_device. The folder /usr/share/dvb/dvb-t is provided by dvb-apps and contains some known stations.

$ mkdir ~/.tzap
$ scan /usr/share/dvb/dvb-t/au-canberra > ~/.tzap/channels.conf

You should then see something like:

scanning /usr/share/doc/dvb-utils/examples/scan/dvb-t/au-canberra
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 205625000 1 3 3 3 1 1 0
initial transponder 177500000 1 2 9 3 1 2 0
initial transponder 191625000 1 3 9 3 1 1 0
initial transponder 219500000 1 3 1 3 1 1 0
initial transponder 543500000 1 2 9 3 1 2 0
Network Name 'ABC Southern NSW'
0x0000 0x0210: pmt_pid 0x0102 ABC -- ABC HDTV (running)
0x0000 0x0211: pmt_pid 0x0100 ABC -- ABC TV Canberra (running)
0x0000 0x0212: pmt_pid 0x0101 ABC -- ABC2 (running)
0x0000 0x0213: pmt_pid 0x0103 ABC -- ABC TV (running)
0x0000 0x0216: pmt_pid 0x0104 ABC -- ABC DiG Radio (running)
0x0000 0x0217: pmt_pid 0x0105 ABC -- ABC DiG Jazz (running)
0x0000 0x0807: pmt_pid 0x0160 Southern Cross Television -- SC10 Canberra (running)
0x0000 0x0827: pmt_pid 0x06ae Southern Cross Television -- SC10 HD (running)
WARNING: >>> tuning failed!!!
dumping lists (22 services)

The channels.conf can also be used by gxine by copying it into /home/kayon/.xine. Then startup gxine and choose DVB from the File option.

The file channels.conf now contains a list of available stations. Pick one to play and tell tzap to stream it:

$ tzap -r "ABC1"


$ tzap -r -c ~/.tzap/channels.conf "ABC1"

Then in another terminal:

$ mplayer /dev/dvb/adapter0/dvr0

Copyright © 1995-2014 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware.