FFmpeg - Transcode video and keep original EXIF metadata in the transcoded file?

0

1

I am trying to transcode a video from a .mov (recorded with the iPhone) and add the original metadata (EXIF) to transcoded file, how can I achieve that? The original video contains EXIF metadata, etc.

Here is what I have tried but it does not add the metadata:

ffmpeg -i input.mov -map 0 -vcodec libx264 -preset superfast -acodec libfaac output.mp4

ffmpeg -i input.mov -map_metadata 0  -vcodec libx264 -preset superfast -acodec libfaac output.mp4

Paul A.

Posted 2015-05-07T23:35:57.233

Reputation: 101

ffmpeg keeps all metadata by default if the target container can handle it. Btw. EXIF is for images (Exchangeable image file format).

– Endoro – 2015-05-09T14:50:25.763

Yes, you are right about the EXIF. The videos have metadata that contains location was my point and I'd like to keep it in the new format. Does it mean that mp4 format cannot handle it? – Paul A. – 2015-05-09T20:18:53.193

mp4-Tags (from the AtomicParsley help function: here)

– Endoro – 2015-05-10T01:33:00.257

No answers