[FFmpeg-devel] [PATCH]AAC audio: Skip ADTS Header when copied from TS container to Non-TS containers
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Thu Apr 14 08:51:54 CEST 2011
On Wed, Apr 13, 2011 at 03:20:20AM +0200, Michael Niedermayer wrote:
> On Mon, Apr 11, 2011 at 09:14:53PM +0000, Manjunath Siddaiah wrote:
> > 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.
Making the muxer skip it is a method we also use already for other
formats and would be an option IMO.
More information about the ffmpeg-devel
mailing list