[FFmpeg-user] Preserving 'udta' atom when using -movflags +faststart

Julian Cooper youcanreachjulian at gmail.com
Wed May 2 03:18:54 EEST 2018


Thank you for the response Carl! It unblocked me and I learned something
new.

On Tue, 1 May 2018 at 13:50 Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

> 2018-05-01 22:35 GMT+02:00, Julian Cooper <youcanreachjulian at gmail.com>:
>
> > I'm using the ffmpeg CLI to pre-process AVC and HEVC MP4s. Part of that
> > pre-processing involves moving the 'moov' atom to the head of the MP4.
> The
> > 'moov' atom contains a 'udta' with metadata I would like to preserve. The
> > 'moov/udta' atom is being dropped when calling:
> >
> > ffmpeg -i source.mp4 -c copy -movflags +faststart faststart.mp4
>
> You misunderstand:
> This command does not take an mp4 file and move its atoms
> around. It reads an mp4 file and writes a new mp4 file with
> many different attributes.
> The tool you need is qt-faststart which is also part of the
> FFmpeg project.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list