[FFmpeg-devel] [PATCH]AAC audio: Skip ADTS Header when copied from TS container to Non-TS containers

Michael Niedermayer michaelni at gmx.at
Wed Apr 13 03:20:20 CEST 2011

On Mon, Apr 11, 2011 at 09:14:53PM +0000, Manjunath Siddaiah wrote:
> Hi,
> When we do "-acodec  copy" if input is "mpegts" and output is non-mpegts ( MOV, MP4, 3GP, FLV, ISM) ADTS header also got copied. AAC audio do not need ADTS header in MOV, MP4, 3GP, FLV, ISM containers. This patch skips the ADTS header copying to non-mpegts formats.

The idea is good but it shoule be implemented so that its available
to all applictaions not just ffmpeg.c

One simple way would be a bitstream filter, that checks which of
several filters are applicable and then passes the data through these.

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110413/36766e0a/attachment.asc>

More information about the ffmpeg-devel mailing list