[MPlayer-dvb] PMT changes

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Sep 9 03:07:58 CEST 2006


Hi Nico!

Sorry if this has been reported before, I didn't find anything about it:

In Vienna, four channels are transmitted via DVB-T at the moment: ORF1, ORF2W
(Vienna), ORF2N (Lower Austria) and ATV. Most of the time, ORF2W and ORF2N send
the same program and are actually sent on the same streams: 1020 MPEG2 Video,
1021 MP3 Audio and 1023 AC-3.

At 7pm, there is a different program on ORF2N for half an hour, so the PMT
changes for that time and I've been told that "real" DVB-T receivers recognize
this change and show the correct program all the time. Is there a possibility to
implement this behaviour in MPlayer? I'm attaching the last PMT from before the
stream change and the first after (collected with dvbsnoop).

A related (and more disturbing) problem: At the moment of ORF2N's stream
change, the AC-3 stream of ORF2W ends: When I hear it at that moment,
MPlayer freezes, after some time returns with "Too many video packets in the
buffer" (no sound) and when I'm switching sound with "#", I get:

Too many video packets in the buffer: (698 in 8393647 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
alsa-uninit: pcm closed: -4.330 ct: -1.147 10143/10143  7%  2%  7.9% 0 0
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3

Too many video packets in the buffer: (697 in 8391642 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

Too many video packets in the buffer: (697 in 8391642 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [libmad] libmad mpeg audio decoder

Too many video packets in the buffer: (697 in 8391642 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Cannot sync MAD frame
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [hwmpa] MPEG audio pass-through (fake decoder)

Too many video packets in the buffer: (697 in 8391642 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Cannot sync MPA frame: 0
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x50.
Read DOCS/HTML/en/codecs.html!
V:18496.8 13687/13687  7%  2%  5.8% 0 0

and no sound ;-(

I've noticed similar problems whenever a sound stream "ends" on DVB-C.

Thanks for your work, "#" is a great feature for DVB!
Greetings, Carl Eugen Hoyos

$ ./dvbsnoop 0x67

[...]
------------------------------------------------------------
SECT-Packet: 00003679   PID: 103 (0x0067), Length: 83 (0x0053)
Time received: Fri 2006-09-08  18:58:12.053
------------------------------------------------------------
  0000:  02 b0 50 27 77 e1 00 00  e3 fc f0 00 02 e3 fc f0   ..P'w...........
  0010:  03 52 01 03 03 e3 fd f0  09 0a 04 67 65 72 01 52   .R.........ger.R
  0020:  01 04 06 e3 ff f0 0c 6a  01 00 0a 04 67 65 72 01   .......j....ger.
  0030:  52 01 07 06 e4 00 f0 08  c3 03 04 01 f0 52 01 08   R............R..
  0040:  06 e4 01 f0 0a 56 05 67  65 72 09 00 52 01 05 57   .....V.ger..R..W
  0050:  13 0c 79                                           ..y

PID:  103 (0x0067)
Guess table from table id...
PMT-decoding....
Table_ID: 2 (0x02)  [= Program Map Table (PMT)]
section_syntax_indicator: 1 (0x01)
(fixed '0'): 0 (0x00)
reserved_1: 3 (0x03)
Section_length: 80 (0x0050)
Program_number: 10103 (0x2777)
reserved_2: 3 (0x03)
Version_number: 16 (0x10)
current_next_indicator: 1 (0x01)  [= valid now]
Section_number: 0 (0x00)
Last_Section_number: 0 (0x00)
reserved_3: 7 (0x07)
PCR PID: 1020 (0x03fc)
reserved_4: 15 (0x0f)
Program_info_length: 0 (0x0000)

Stream_type loop:

    Stream_type: 2 (0x02)  [= ITU-T Rec. H.262 | ISO/IEC 13818-2 Video |
ISO/IEC
11172-2 constr. parameter video stream]
    reserved_1: 7 (0x07)
    Elementary_PID: 1020 (0x03fc)
    reserved_2: 15 (0x0f)
    ES_info_length: 3 (0x0003)

            DVB-DescriptorTag: 82 (0x52)  [= stream_identifier_descriptor]
            Descriptor_length: 1 (0x01)
            component_tag: 3 (0x03)


    Stream_type: 3 (0x03)  [= ISO/IEC 11172 Audio]
    reserved_1: 7 (0x07)
    Elementary_PID: 1021 (0x03fd)
    reserved_2: 15 (0x0f)
    ES_info_length: 9 (0x0009)

            MPEG-DescriptorTag: 10 (0x0a)  [= ISO_639_language_descriptor]
            Descriptor_length: 4 (0x04)
               ISO639_language_code:  ger
               Audio_type: 1 (0x01)  [= clean effects]


            DVB-DescriptorTag: 82 (0x52)  [= stream_identifier_descriptor]
            Descriptor_length: 1 (0x01)


    Stream_type: 6 (0x06)  [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES
packets
containing private data]
    reserved_1: 7 (0x07)
    Elementary_PID: 1023 (0x03ff)
    reserved_2: 15 (0x0f)
    ES_info_length: 12 (0x000c)

            DVB-DescriptorTag: 106 (0x6a)  [= AC3_descriptor]
            Descriptor_length: 1 (0x01)
            AC3_type_flag: 0 (0x00)
            bsid_flag: 0 (0x00)
            mainid_flag: 0 (0x00)
            asvc_flag: 0 (0x00)
            reserved_1: 0 (0x00)
            Additional info:

            MPEG-DescriptorTag: 10 (0x0a)  [= ISO_639_language_descriptor]
            Descriptor_length: 4 (0x04)
               ISO639_language_code:  ger
               Audio_type: 1 (0x01)  [= clean effects]


            DVB-DescriptorTag: 82 (0x52)  [= stream_identifier_descriptor]
            Descriptor_length: 1 (0x01)
            component_tag: 7 (0x07)


    Stream_type: 6 (0x06)  [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES
packets
containing private data]
    reserved_1: 7 (0x07)
    Elementary_PID: 1024 (0x0400)
    reserved_2: 15 (0x0f)
    ES_info_length: 8 (0x0008)

            DVB-DescriptorTag: 195 (0xc3)  [= User defined]
            Descriptor_length: 3 (0x03)
            Descriptor-data:
                 0000:  04 01 f0
...

            DVB-DescriptorTag: 82 (0x52)  [= stream_identifier_descriptor]
            Descriptor_length: 1 (0x01)
            component_tag: 8 (0x08)


    Stream_type: 6 (0x06)  [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES
packets
containing private data]
    reserved_1: 7 (0x07)
    Elementary_PID: 1025 (0x0401)
    reserved_2: 15 (0x0f)
    ES_info_length: 10 (0x000a)

            DVB-DescriptorTag: 86 (0x56)  [= teletext_descriptor]
            Descriptor_length: 5 (0x05)
               ISO639_language_code:  ger
               Teletext_type: 1 (0x01)  [= initial teletext page]
               Teletext_magazine_number: 1 (0x01)
               Teletext_page_number: 0 (0x00)


            DVB-DescriptorTag: 82 (0x52)  [= stream_identifier_descriptor]
            Descriptor_length: 1 (0x01)
            component_tag: 5 (0x05)

CRC: 1460866169 (0x57130c79)
==========================================================


------------------------------------------------------------
SECT-Packet: 00003680   PID: 103 (0x0067), Length: 66 (0x0042)
Time received: Fri 2006-09-08  18:58:12.117
------------------------------------------------------------
  0000:  02 b0 3f 27 77 e3 00 00  e4 0b f0 00 06 e4 00 f0   ..?'w...........
  0010:  08 c3 03 04 01 f0 52 01  0a 06 e4 01 f0 0a 56 05   ......R.......V.
  0020:  67 65 72 09 00 52 01 09  02 e4 0b f0 03 52 01 01   ger..R.......R..
  0030:  03 e4 0c f0 09 0a 04 67  65 72 01 52 01 02 b2 9c   .......ger.R....
  0040:  1c cb                                              ..

PID:  103 (0x0067)
Guess table from table id...
PMT-decoding....
Table_ID: 2 (0x02)  [= Program Map Table (PMT)]
section_syntax_indicator: 1 (0x01)
(fixed '0'): 0 (0x00)
reserved_1: 3 (0x03)
Section_length: 63 (0x003f)
Program_number: 10103 (0x2777)
reserved_2: 3 (0x03)
Version_number: 17 (0x11)
current_next_indicator: 1 (0x01)  [= valid now]
Section_number: 0 (0x00)
Last_Section_number: 0 (0x00)
reserved_3: 7 (0x07)
PCR PID: 1035 (0x040b)
reserved_4: 15 (0x0f)
Program_info_length: 0 (0x0000)

Stream_type loop:

    Stream_type: 6 (0x06)  [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES
packets
containing private data]
    reserved_1: 7 (0x07)
    Elementary_PID: 1024 (0x0400)
    reserved_2: 15 (0x0f)
    ES_info_length: 8 (0x0008)

            DVB-DescriptorTag: 195 (0xc3)  [= User defined]
            Descriptor_length: 3 (0x03)
            Descriptor-data:
                 0000:  04 01 f0
...

            DVB-DescriptorTag: 82 (0x52)  [= stream_identifier_descriptor]
            Descriptor_length: 1 (0x01)
            component_tag: 10 (0x0a)


    Stream_type: 6 (0x06)  [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES
packets
containing private data]
    reserved_1: 7 (0x07)
    Elementary_PID: 1025 (0x0401)
    reserved_2: 15 (0x0f)
    ES_info_length: 10 (0x000a)

            DVB-DescriptorTag: 86 (0x56)  [= teletext_descriptor]
            Descriptor_length: 5 (0x05)
               ISO639_language_code:  ger
               Teletext_type: 1 (0x01)  [= initial teletext page]
               Teletext_magazine_number: 1 (0x01)
               Teletext_page_number: 0 (0x00)


            DVB-DescriptorTag: 82 (0x52)  [= stream_identifier_descriptor]
            Descriptor_length: 1 (0x01)
            component_tag: 9 (0x09)


    Stream_type: 2 (0x02)  [= ITU-T Rec. H.262 | ISO/IEC 13818-2 Video |
ISO/IEC
11172-2 constr. parameter video stream]
    reserved_1: 7 (0x07)
    Elementary_PID: 1035 (0x040b)
    reserved_2: 15 (0x0f)
    ES_info_length: 3 (0x0003)

            DVB-DescriptorTag: 82 (0x52)  [= stream_identifier_descriptor]
            Descriptor_length: 1 (0x01)
            component_tag: 1 (0x01)


    Stream_type: 3 (0x03)  [= ISO/IEC 11172 Audio]
    reserved_1: 7 (0x07)
    Elementary_PID: 1036 (0x040c)
    reserved_2: 15 (0x0f)
    ES_info_length: 9 (0x0009)

            MPEG-DescriptorTag: 10 (0x0a)  [= ISO_639_language_descriptor]
            Descriptor_length: 4 (0x04)
               ISO639_language_code:  ger
               Audio_type: 1 (0x01)  [= clean effects]


            DVB-DescriptorTag: 82 (0x52)  [= stream_identifier_descriptor]
            Descriptor_length: 1 (0x01)
            component_tag: 2 (0x02)

CRC: 2996575435 (0xb29c1ccb)
==========================================================





More information about the MPlayer-dvb mailing list