[Ffmpeg-devel] [PATCH] support S302M streams in MPEG TS

Måns Rullgård mru
Sat Dec 2 12:10:50 CET 2006


Stefan Gehrer <stefan.gehrer at gmx.de> writes:

> Baptiste Coudurier wrote:
>> Hi
>>
>> $subject. Sample: s302m.m2t on mplayerhq.
>>
> [snip]
>> @@ -436,9 +438,12 @@
>>                  } else if(desc_tag == 0x7B) {
>>                      /* DVB DTS audio */
>>                      stream_type = STREAM_TYPE_AUDIO_DTS;
>> +                } else if(desc_tag == 0x05) {
>> +                    /* registration descriptor */
>> +                    if (BE_32(p) == 0x42535344)
>> +                        stream_type = STREAM_TYPE_AUDIO_S302M;
>>                  }
>>
> Hey, this looks like a fourcc in MPEG TS. 'BSSD', anyone?
> Maybe Bastard Smpte Stream Descriptor?

The registration descriptor has a 32-bit value assigned by some
registration authority appointed by ISO.  I'm not sure what/who this
is currently, but it's not Microsoft, and the assigned values have
nothing to do with Microsoft "fourcc" values.  Nor have they any
connection with Apple "fourcc" values.  They are just 32-bit number.
Do not even think of trying to shove a microsoft fourcc into this
field.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list