[linux-dvb] All I want is to record TV programs :-(

Adam Nielsen a.nielsen at shikadi.net
Mon Sep 4 10:11:36 CEST 2006

> Try dvbstream from dvbtools .

Ah, I've been using dvbstream to watch live TV, but I didn't realise the
latest version has support for writing to a file.  How does it cope with
files > 2GB?  dvbrecord doesn't like those (I have to record to stdout
and then redirect it to a file.)

> dvbstream -ps -f 12480 -p v -D 0 -s 27500 -v 255 -a 256 -t 32 -n 10 -o
> /tmp/20060903_103422.ps

Hmm, is there any way to convert a channel ID (or whatever it's called)
into a bunch of PIDs?  For example, if "dvbscan" outputs something like

0x0000 0x0240: pmt_pid 0x0102 ABC -- ABC HDTV (running)
0x0000 0x0241: pmt_pid 0x0100 ABC -- ABC TV Brisbane (running)
0x0000 0x0242: pmt_pid 0x0101 ABC -- ABC2 (running)
0x0000 0x0243: pmt_pid 0x0103 ABC -- ABC TV (running)
0x0000 0x0246: pmt_pid 0x0104 ABC -- ABC DiG Radio (running)
0x0000 0x0247: pmt_pid 0x0105 ABC -- ABC DiG Jazz (running)
dumping lists (6 services)
ABC HDTV                 (0x0240) 01: PCR 0x0905 V 0x090a TT 0x090c AC3 0x090b
ABC TV Brisbane          (0x0241) 01: PCR 0x0080 V 0x0200 A 0x028a (eng) TT 0x0240 AC3 0x0294
ABC2                     (0x0242) 01: PCR 0x0902 V 0x0903 A 0x0904 (eng) TT 0x0906
ABC TV                   (0x0243) 01: PCR 0x0080 V 0x0200 A 0x028a (eng) TT 0x0240
ABC DiG Radio            (0x0246) 02: PCR 0x0901          A 0x090d (eng)
ABC DiG Jazz             (0x0247) 02: PCR 0x0901          A 0x090e (eng)

The channel ID (e.g. 0x0240) stays the same, but the PIDs (e.g. 0x090a
and 0x090b) will sometimes change without warning (this is most
noticable when our commercial stations switch from single-channel normal
broadcasts to multi-channel sports broadcasts.)


More information about the linux-dvb mailing list