[FFmpeg-devel] [PATCH] Read extradata Quicktime-Atom "FFVH" for ffvhuff files from libquicktime

Richard Spindler richard.spindler
Wed Oct 24 10:20:07 CEST 2007


2007/10/24, Loren Merritt <lorenm at u.washington.edu>:
> > This patch adds support for the FFVH quicktime atom that is used to
> > store the Extradata for quicktime files with ffvhuff codec generated
> > by libquicktime.
>
> Is quicktime really so braindamaged that every single compression format
> needs to define its own extradata atom? Even if that is the case, you
> could pick a codec-agnostic name and pretend it's a standard place to put
> extradata.

It is only a convention/opinion, you could name the atom any way you
like. For example "ffex" or "FFEX" for ffmpeg-extradata. Whatever. It
is a non-standard codec AFAIK that is potentially only readable by
ffmpeg and libavcodec anyways.

As long as the mov_read_avcC handler is called, it works, but it is
only associated with "avcC", which is an atom specific to h264, and
therefore it SHOULD only be used by the h264 codec.

There is also the mov_read_extradata handler, but that failed for the
file I write, because it mangels the extradate a little differently.

Cheers
-Richard

-- 
Are you teaching the What and the How but without the Why and the When?




More information about the ffmpeg-devel mailing list