[FFmpeg-devel] Append to fmp4

Jun Li junli1026 at gmail.com
Thu Dec 19 23:46:32 EET 2019

On Thu, Dec 19, 2019 at 4:00 AM Daniel Oberhoff <
danieloberhoff at googlemail.com> wrote:

> Hello.
> I have been diving deep into the mp4 spec to understand fragmented mp4.
> From what I understand using moof atoms it is possible, given stream
> compatibility, to straight append to an mp4 file by appending moof+mdat
> pairs. Can ffmpeg or libavformat be somehow used to achieve that?

I use the command line like " ffmpeg -i test.mp4 -codec copy -f mp4
-movflags empty_moov+frag_keyframe+skip_trailer out.mp4".
It generates  fmp4 with atiom :   ftyp+moov+[moof+mdata]*

> Daniel Oberhoff
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-devel mailing list