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

Baptiste COUDURIER baptiste.coudurier
Mon Mar 27 12:31:41 CEST 2006

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.

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312

More information about the ffmpeg-devel mailing list