Closed mrbrahman closed 2 years ago
Thanks for the well-written bug report!
Version 18.0.0 (which I just released) includes a new defaultVideosToUTC
option that defaults to true
, as I believe you're correct--videos seem to be mostly encoded in UTC.
Note that if any of the following tags have a valid value, even with videos, we'll use that instead: [ "TimeZone", "OffsetTime", "OffsetTimeOriginal", "OffsetTimeDigitized", "TimeZoneOffset" ]
.
If someone wants to skip the UTC default, they can set {defaultVideosToUTC: false}
when creating their ExifTool singleton.
Thanks again!
Thanks so much for the super fast fix!
Hi,
It seems CreateDate for video files is always in UTC across devices. At least that is my observation from a bunch of devices I have used (Samsung 2 and 9, Motorola phone, Samsung tablet, Nexus 5x, Pixel 4a 5g, iphone 12). I couldn't find a solid reference confirming this, but here are some of the links I could find.
https://www.photools.com/community/index.php?topic=10722.0 The creation time in videos is given in UTC - I think this is some kind of standard.
https://forums.androidcentral.com/ask-question/983495-why-doesnt-create-date-correspond-date-details-there-5-hour-difference.html
I see that exiftool-vendored is not adjusting CreateDate according to UTC. For e.g.
Is it possible to adjust CreateDate to UTC rather than just appending the timezone?