[FFmpeg-user] Any way to estimate moov_size in mov/mp4?

Carl Zwanzig cpz at tuunq.com
Sat Feb 11 03:14:01 EET 2023

On 2/10/2023 2:26 PM, Stefan Oltmanns wrote:
>  Can someone
> simply explain what exactly is stored in the moov atom (not in theory
> what everything could be in there, but what ffmpeg actually writes there
> like "video codec information: x byte, audio codec information: x byte,
> timecode+byteoffset: x byte for each frame and so on)

In the ffmpeg source it appears to be in libavformat/mov.c and movenc.c, but 
the info actually included will vary with what's being stuffed into the 

Sidestepping the question, there are decent write-ups at

And while it's old, you could grab a copy of AtomicParsley and see what's in 
various test files.

(Please do not top-post on this mailing list, thanks.)


More information about the ffmpeg-user mailing list