[linux-dvb] hdtv scanning

Nico Sabbi nicola_sabbi at fastwebnet.it
Sun Nov 5 19:40:04 CET 2006

Mario Rossi wrote:

>> add the pmt_pid to your list
> Sorry, but I do not understand.

the pmt_pid is the pid that contains the PMT; it's listed in the pat.
if you dump the whole stream to a file with

dvbstream -f ... -o 8192 > dump.ts
then run
decode_pat dump.ts

you will get a list of programs->pmt_pid

At this point you just have to add the pmt_pid that you want to see
to the list of pids in ~/.mplayer/channels.conf, e.g.


(notice the + between consecutive pids)

(i you run mplayer dump.ts (maybe adding -tsprobe 5000000)  -vid 1502
you will see H264).
P.S. notice this line:
VIDEO MPEG2(pid=1502) AUDIO A52(pid=1505) NO SUBS (yet)!  PROGRAM N. 0

program n.0 means that no program was found, so no pmt was available.

@all maintaners: several months ago I posted a patch to scan to add this 
damned pmt_pid
to the broken channels.conf, but it was completely ignored.
Since questions like these are so often recurring I think it's the right 
time to commit it.

More information about the linux-dvb mailing list