[FFmpeg-devel] [PATCH] add tag/comment support to the raw flac demuxer

Justin Ruggles justin.ruggles
Sat Dec 6 00:50:41 CET 2008


Baptiste Coudurier wrote:
> Jason Garrett-Glaser wrote:
>>> Of course not, Im actually arguing in favor of supporting flac metadata
>>> at demuxer level for now like stated. My point was also that in case
>>> flac was used in another container, metadata would be in the up level
>>> (in this case mkv).
>> Hmm, this is a good point.
>>
>> Is there any case where FLAC would be in a container that wouldn't
>> have that kind of metadata?
> 
> I guess ts/ps but AFAIK FLAC is not supported in these containers, 
> wav/aiff also, but I don't see any practical interest in doing this.

Ogg uses the same header data as raw FLAC, but it wraps each header
block around ogg stuff instead of just concatenating them together like
in raw FLAC files.

I thought caf would be similar to wav/aiff, but it apparently has its
own well-defined metadata format.

As for mkv, yes, the ideal would be for the metadata to be whatever the
mkv metadata format is.  However, I think that most mkv's with FLAC that
I've seen just put the whole FLAC header, including all the
vorbiscomment-style metadata, in the private stream place (I don't know
the technical matroska term...).

-Justin




More information about the ffmpeg-devel mailing list