[FFmpeg-user] How to change internal Exif "creation time" NOT to UTC timestamp but to MEZ/MESZ in MP4 video?

Ben bxstover at yahoo.co.uk
Sat Jul 18 09:55:39 EEST 2020


Ok, I can change the internal EXIF Metadata "Creation time" of an MP4 video with the following command:

    ffmpeg -i input.mp4 -c copy -map 0 -metadata creation_time="2020-04-19 11:30:00" output.mp4

It works.

However the date is interpreted as UTC time zone value.

Since I the videos are taken in the timezone MEZ resp. MESZ (summer time) the timestamp does not reflect the real time of recording.

Ok, I could manually investigate if at the time of recording it was summer time or not and add 1 or 2 hours to the command timestamp value.
But this inconvenient and tedious on the long run.

Isn't there a way to tell ffmpeg:

"Hey ffmpeg, this is the UTC time. Put AUTOMATICALLY the MEZ zone time (winter time) or MESZ zone time (Summer time) in EXIF header"

Thank you
Ben



More information about the ffmpeg-user mailing list