[Ffmpeg-devel] Re: possible patch: create AAC global headers

Måns Rullgård mru
Mon Mar 27 14:00:52 CEST 2006

Baptiste COUDURIER said:
> Hi Luca,
> Luca Abeni wrote:
>> Hi all,
>> I am reading a TS containing AAC audio, and I need the AAC audio frames
>> without the ADTS header. I could easily skip the first 7 bytes of every
>> frame in my application, but I tried doing something more useful for
>> ffmpeg.
>> With the attached patch, if CODEC_FLAG_GLOBAL_HEADER is set the parser
>> removes the ADTS header from the AAC stream and fills extradata with the
>> AAC global headers.
>> The patch works for me, but I do not know if it is correct or if its
>> behaviour is useful for ffmpeg... What do you think?
> I remember. This is, at the moment being discussed with Michael and
> Mans, check "global headers" thread. It would be better to make it
> general for every codec which need this process, which might be not
> specific to aac.

I agree this isn't the ideal spot to be doing that conversion.

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list