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

Marton Balint cus at passwd.hu
Sat Jul 18 10:53:09 EEST 2020

On Sat, 18 Jul 2020, Ben via ffmpeg-user wrote:

> 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.

No, it is interpreted as local time.

> 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"

You should be able to specify the UTC offset as specified in ISO-8601. 



More information about the ffmpeg-user mailing list