Al 16/05/10 14:28, En/na Klaus Schmidinger ha escrit:


Ok, here's a complete patch that attempts to handle audio types.
It is untested, so please use it with care.
Please let me know whether this works with your audio types in
live mode and with replaying recordings.

As of yesterday I can tune to a dvb-t hd channel where vdr doesn't pick the audio pid, my tv picks it and identifies it as "dolby digital plus".
I tried this patch but vdr still doesn't pick the audio pid.
If I disable channel updating and manually introduce the pid, I cannot decode the audio with xine. vlc (through streamdev) doesn't decode it either but it tells me that it's of type eac3.

This is the output of dvbsnoop:

$ dvbsnoop -adapter 1 0
dvbsnoop V1.4.00 -- http://dvbsnoop.sourceforge.net/

------------------------------------------------------------
SECT-Packet: 00000001   PID: 0 (0x0000), Length: 36 (0x0024)
Time received: Tue 2010-05-18  21:17:20.758
------------------------------------------------------------
0000: 00 b0 21 9c 40 cd 00 00 00 00 e0 10 9c 41 e3 e8 ....@........a.. 0010: 9c 42 e7 d0 9c 43 eb b8 9c 45 e7 e4 9c 46 eb cc .B...C...E...F.. 0020: 9e 44 56 b1 .DV.

PID: 0 (0x0000) [= assigned for: ISO 13818-1 Program Association Table (PAT)] Guess table from table id... PAT-decoding.... Table_ID: 0 (0x00) [= Program Association Table (PAT)] section_syntax_indicator: 1 (0x01) (fixed): 0 (0x00) reserved_1: 3 (0x03) Section_length: 33 (0x0021) Transport_Stream_ID: 40000 (0x9c40) reserved_2: 3 (0x03) Version_number: 6 (0x06) current_next_indicator: 1 (0x01) [= valid now] Section_number: 0 (0x00) Last_Section_number: 0 (0x00)

    Program_number: 0 (0x0000)
    reserved: 7 (0x07)
    Network_PID: 16 (0x0010)

    Program_number: 40001 (0x9c41)
    reserved: 7 (0x07)
    Program_map_PID: 1000 (0x03e8)

    Program_number: 40002 (0x9c42)
    reserved: 7 (0x07)
    Program_map_PID: 2000 (0x07d0)

    Program_number: 40003 (0x9c43)
    reserved: 7 (0x07)
    Program_map_PID: 3000 (0x0bb8)

    Program_number: 40005 (0x9c45)
    reserved: 7 (0x07)
    Program_map_PID: 2020 (0x07e4)

    Program_number: 40006 (0x9c46)
    reserved: 7 (0x07)
    Program_map_PID: 3020 (0x0bcc)

CRC: 2655278769 (0x9e4456b1)
==========================================================

The channel is the one with pmt pid 1000

$ dvbsnoop -adapter 1 1000
dvbsnoop V1.4.00 -- http://dvbsnoop.sourceforge.net/

------------------------------------------------------------
SECT-Packet: 00000001   PID: 1000 (0x03e8), Length: 46 (0x002e)
Time received: Tue 2010-05-18  21:18:11.126
------------------------------------------------------------
0000: 02 b0 2b 9c 41 d7 00 00 e3 e9 f0 00 1b e3 e9 f0 ..+.A........... 0010: 0a 28 04 64 00 28 3f 2a 02 fe ef 06 e4 4c f0 0a .(.d.(?*.....L.. 0020: 7a 02 80 c2 0a 04 73 70 61 00 e4 8e 54 ed z.....spa...T.

PID:  1000 (0x03e8)
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: 43 (0x002b)
Program_number: 40001 (0x9c41)
reserved_2: 3 (0x03)
Version_number: 11 (0x0b)
current_next_indicator: 1 (0x01)  [= valid now]
Section_number: 0 (0x00)
Last_Section_number: 0 (0x00)
reserved_3: 7 (0x07)
PCR PID: 1001 (0x03e9)
reserved_4: 15 (0x0f)
Program_info_length: 0 (0x0000)

Stream_type loop:

Stream_type: 27 (0x1b) [= AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video] reserved_1: 7 (0x07) Elementary_PID: 1001 (0x03e9) reserved_2: 15 (0x0f) ES_info_length: 10 (0x000a)

            MPEG-DescriptorTag: 40 (0x28)  [= AVC_video_descriptor]
            Descriptor_length: 4 (0x04)
0000: 64 00 28 3f d.(?

MPEG-DescriptorTag: 42 (0x2a) [= AVC_timing_and_HRD_descriptor] Descriptor_length: 2 (0x02) 0000: fe ef ..


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: 1100 (0x044c) reserved_2: 15 (0x0f) ES_info_length: 10 (0x000a)

            DVB-DescriptorTag: 122 (0x7a)  [= reserved_descriptor]
            Descriptor_length: 2 (0x02)
              ----> ERROR: unimplemented descriptor (dvb context), Report!
            Descriptor-data:
0000: 80 c2 ..

            MPEG-DescriptorTag: 10 (0x0a)  [= ISO_639_language_descriptor]
            Descriptor_length: 4 (0x04)
               ISO639_language_code:  spa
               Audio_type: 0 (0x00)  [= undefined]


CRC: 3834533101 (0xe48e54ed)
==========================================================


Bye
--
Luca

_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to