[FFmpeg-devel] qt-faststart.c possibly implement in a format?
Thu Apr 24 16:23:05 CEST 2008
Tobias Brockamp wrote:
> Hi devels,
> i'm using ffmpeg for mp4/h264 video for portables and now also for
> flash player, i've read that for
> progressive download of mp4's in Flash Player the moov data has to be
> at the beginning of
> the mp4 container.
> In the ffmpeg tools there is the qt-faststart.c program which does the
> but i'm asking myself if it wouldn't be nice to have this build in in
> a "format specification" like
> "-f ipod" for the uuid atom thing.
I suppose yes.
Calculate worst case "moov" atom size when encoding a reasonably high
duration, if this size is reasonable, when using a flag in
AVFormatContext, write an empty "free" atom, and rewrite header in this
atom at the end, beware to change code to compute offsets of samples.
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
SMARTJOG SAS http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
More information about the ffmpeg-devel