[vlc-devel] Re: [BUG] wrong IOD_descriptor coding

Måns Rullgård mru at inprovide.com
Sun Mar 20 01:45:53 CET 2005

Nico Sabbi <nsabbi at tiscali.it> writes:

> I forgot to add that two more things in the TS muxer that, if my
> understanding of the specs is correct,
> don't look good to me:
> 1) you always use pmt_stream_type 0x11 to identify AAC, but this
> value is valid only for AAC in LATM transport syntax, instead I
> always see ADTS syntax for which is assigned pmt_stream_type 0x0f

Correct, as per my reading of the standard.

> 2) for mpeg4video / h264 you always use pes_id==0xfa and
> pmt_stream_type=0x10 / 0x1b, but 0xfa is associated with
> pmt_stream_type 0x12 (SL or flexmux in PES) so IMHO the correct ways
> to mux these video streams are (in exclusion)
> a) drop SL (after all it's totally useless and complicated crap) and use
>     pmt_stream_type=0x10 / 0x1b and pes_id == 0xCn

The correct PES id to use is 0xen.  0xcn is for audio.

> b) use SL as you do now and set pmt_stream_type=0x12
> What's your opinion?

My opinion is to skip all the SL and flexmux nonsense.

Måns Rullgård
mru at inprovide.com

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list