[MPlayer-dev-eng] DVB-TS and ATSC-TS Differences

Nico nsabbi at tiscali.it
Fri Jan 30 09:10:07 CET 2004


James Courtier-Dutton wrote:

> Greg Herlein wrote:
>
>> It's come to light in my work on transport streams this week that
>> DVB-formatted streams (prevalent in Europe and on many satellites
>> here in the US) have subtle differences from ATSC-formatted
>> streams (prevalent here in the US for digital broadcasting,
>> especially the free to air terrestial).
>>
>> Specifically, the mapping of AC3 audio is done in 'PES private
>> streams' in DVB where it's has a mandated stream type of 0x06.
>> In ATSC it has to be set to a stream type of 0x81 and is a normal
>> audio PES stream.
>>
>> Reference:
>>
>> http://www.atsc.org/standards/a_52a.pdf
>> (see pages 118-127)
>>
>> There must be other differences as well.  Does anyone know of a
>> definitive paper or document that details all these?  If not, is
>> anyone willing to help produce such a document?
>>
>> Thanks!
>>
>> Greg
>>
> I have also done a lot of research on transport streams, and you are 
> correct in your findings.
> The most annoying problem I have found it identifying the contents of 
> the private stream. As it can be AC3 audio or Subtitles/Teletext.


now that I re-read your sentence I wonder if you are talking about DVB 
AC3 vs  subs (rather than ATSC):
it's easy: 0x06 followed by 0x6a in one of the entries of the loop 
identifies DVB-AC3,
if the stream is a sub it can have some stream_tag of 0x59 (SPU) , 0x56 
(text subs) or few other value (libmpdemux/demux_ts.c will help you).

        Nico




More information about the MPlayer-dev-eng mailing list