Thanks for your help on this.
I have too many things to do to search in the archive. Here's a short description: assuming you captured a short sample stream with dvbstream -f ... (all tuning parameters removed) -0 8192 > test.ts decode_pat test.ts will show you a list of programs such as decode_pat test.ts
I get: New PAT transport_stream_id : 2050 version_number : 3 | program_number @ [NIT|PMT]_PID | 0 @ 0x10 (16) | 6903 @ 0x105 (261) | 6904 @ 0x106 (262) | 6940 @ 0x100 (256) | 6945 @ 0x101 (257) active : 1
then for each of the programs run decode_pmt test.ts <PROGRAM> <PMT_PID> e.g.
I get: ./decode_pmt hd2.ts 6945 257 libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0) for PID 257 New active PMT program_number : 6945 version_number : 2 PCR_PID : 0x90e (2318) ] 0x0e : Bitrate: 950328 | type @ elementary_PID | 0x1b (ISO/IEC 13818-1 reserved) @ 0x90e (2318) | ] 0x0e : Bitrate: 79185 | ] 0x06 : "" | ] 0x52 : Component tag: 11 | ] 0x0f : "OTV" | ] 0xfe : "HDV" | 0x03 (ISO/IEC 11172 Audio) @ 0x910 (2320) | ] 0x0e : Bitrate: 79185 | ] 0x0a : "und" | ] 0x0f : "OTV" | ] 0xfe : "AUD2" | ] 0x52 : Component tag: 7 ... So I do: dvbstream -f ... -o 0 257 2318 2320 >hd.ts But mplayer still thinks this contains an MPEG-2 video stream. _______________________________________________ linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb