[FFmpeg-devel] [PATCH] read header in FLAC demuxer

Justin Ruggles justin.ruggles
Sat Jan 31 16:12:08 CET 2009

M?ns Rullg?rd wrote:
> Michael Niedermayer <michaelni at gmx.at> writes:
>> On Fri, Jan 30, 2009 at 10:36:10PM -0500, Justin Ruggles wrote:
>>> Hi,
>>> Here is a patch to read the header in the raw FLAC demuxer.  Currently
>>> the header is passed through in the output AVPackets, which is not good
>>> and requires some ugliness on the decoder side.  After this patch is
>>> applied, the decoder can be changed so it doesn't have to handle the
>>> header except in the extradata.  The extradata handling in the decoder
>>> will also be simplified.
>> is it allowed to place the header in the stream instead of extradata in
>> flac in avi?
> If it is physically possible, someone will do it.

Should we really support everything that is physically possible?  FLAC
in avi and wav should not have the header in the stream.

>> flac in mkv?
> No.
>> flac in * ?
> There's always Ogg...

Ogg doesn't use the raw FLAC header. It splits it up in its own funny
way, which we already support.

Do we have any other format that is header+frames that we allow the
header to be in the stream?


More information about the ffmpeg-devel mailing list