Konubinix' opinionated web of thoughts

How to Prevent Ffmpeg From Dropping Metadata?

Fleeting

How to prevent ffmpeg from dropping metadata? - Video Production Stack Exchange

Other answers here are only working with the “known” meta keys, for custom/arbitrary meta keys,

-map_metadata 0

is not sufficient to keep them all.

In my transcoder project, a lot of camera makers like to inject custom meta keys in the MP4/MOV container, and I want to keep them in the transcoded MP4/MOV files. After a lot of head scratching, ffmpeg do have a switch for this purpose:

-movflags use_metadata_tags

https://video.stackexchange.com/questions/23741/how-to-prevent-ffmpeg-from-dropping-metadata