[Ffmpeg-devel] HDTV h264 autodetection

matthieu castet castet.matthieu
Sat Nov 4 16:33:35 CET 2006


Hi Mans,

M?ns Rullg?rd wrote:
> matthieu castet <castet.matthieu at free.fr> writes:
> 
> 
>>Hi,
>>
>>i tried to grab dvb-t hdtv channel with an dib3000mc device [1].
>>
>>It works fine, but ffmpeg (or mplayer) detect the stream as mpeg2
>>instead of h264.
>>I had to force h264 in the TS parser to watch the stream.
>>
>>Is there a way to autodectect it or it is the device that give a wrong
>>ts stream ?
>>
>>I put a sample on http://castet.matthieu.free.fr/tmp/stream.dump
> 
> 
> Broken stream.  It doesn't have a PMT.
It seems it is mplayer that is not dumping the PMT.
Using scan from dvb-utils, I got [1].

Is there another tool to dump the stream with PMT .

Thanks,

Matthieu


[1]
parse_section:1161: pid 0x11 tid 0x42 table_id_ext 0x000e, 0/0 (version 4)
SDT (actual TS)
0x0000 0x0e02: pmt_pid 0x0000 TVN1 -- Test HD2 (running)
0x0000 0x0e01: pmt_pid 0x0000 TVN1 -- Test HD1 (running)
parse_section:1161: pid 0x00 tid 0x00 table_id_ext 0x000e, 0/0 (version 29)
PAT
parse_section:1161: pid 0x6e tid 0x02 table_id_ext 0x0e01, 0/0 (version 7)
PMT 0x006e for service 0x0e01
   VIDEO     : PID 0x0078
   AC3       : PID 0x0082
   AUDIO     : PID 0x0083
parse_iso639_language_descriptor:310:     LANG=fra 0
parse_pmt:823: 0x0000 0x0e01: TVN1 -- Test HD1, pmt_pid 0x006e, vpid 
0x0078, apid 0x0083 (fra)
parse_section:1161: pid 0xd2 tid 0x02 table_id_ext 0x0e02, 0/0 (version 22)
PMT 0x00d2 for service 0x0e02
   VIDEO     : PID 0x00dc
   AC3       : PID 0x00e6
   AUDIO     : PID 0x00e7
parse_iso639_language_descriptor:310:     LANG=fra 0
parse_pmt:823: 0x0000 0x0e02: TVN1 -- Test HD2, pmt_pid 0x00d2, vpid 
0x00dc, apid 0x00e7 (fra)
WARNING: filter timeout pid 0x0010
dumping lists (2 services)
Test HD2                 (0x0e02) 01: PCR == V   V 0x00dc A 0x00e7 (fra) 
AC3 0x00e6
Test HD1                 (0x0e01) 01: PCR == V   V 0x0078 A 0x0083 (fra) 
AC3 0x0082
Done.

-PID--FREQ-----BANDWIDTH-BANDWIDTH-
0000    10 p/s     1 kb/s    16 kbit
0001    10 p/s     1 kb/s    16 kbit
0017     0 p/s     0 kb/s     1 kbit
0018     1 p/s     0 kb/s     2 kbit
0110    10 p/s     1 kb/s    16 kbit
0120  7350 p/s  1349 kb/s 11054 kbit
0130   279 p/s    51 kb/s   419 kbit
0131   175 p/s    32 kb/s   263 kbit
0210    10 p/s     1 kb/s    16 kbit
0220  7349 p/s  1349 kb/s 11053 kbit
0230   279 p/s    51 kb/s   419 kbit
0231   175 p/s    32 kb/s   263 kbit
8191   312 p/s    57 kb/s   470 kbit
8192 15968 p/s  2931 kb/s 24016 kbit




More information about the ffmpeg-devel mailing list