[FFmpeg-devel] [PATCH] Fix the MPEG TS Encoding PES Start Code for the AAC Codec

Tony Strauss tony
Tue Feb 22 00:46:54 CET 2011


Disclaimer: I'm new to the ffmpeg code base and problem space

This patch adds the AAC codec to the list of audio codecs that results
in a PES start code of 0x1c0 (audio stream) when ffmpeg encodes mpeg 2
ts.  I think that this is correct because:
* AAC has been standardized as part of various MPEG specifications
* There's at least one Flash player that depends on this
* Apple does the same thing in their mpeg 2 ts encoding software
that's part of their mediafilesegmenter for HTTP Live streams

http://en.wikipedia.org/wiki/Packetized_elementary_stream

Tony
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpegts_aac_pes_start_code.diff
Type: application/octet-stream
Size: 680 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110221/2d116f7e/attachment.obj>



More information about the ffmpeg-devel mailing list