[Ffmpeg-devel] global headers

Måns Rullgård mru
Tue Mar 14 01:08:50 CET 2006

Loren Merritt <lorenm at u.washington.edu> writes:

> On Mon, 13 Mar 2006, Michael Niedermayer wrote:
>> what about letting encoders always generate global headers / set extradata?
>> currently it needs CODEC_FLAG_GLOBAL_HEADER to be set, which well, is
>> annoying from a encoder - muxer seperation POV
>> objections, comments?
> Then it would be the muxer's job to interleave the headers into the
> stream if it doesn't want global headers? Are there any codecs where
> that doesn't consist of "prepend a copy of extradata to each keyframe"?

Yes, AAC (what else?).  The format of the global header is different
from the frame header used with any of the stream formats (ADTS, ...)
used either raw or in program/transport streams.

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list