Possible bug with EOS R5 timezone

Started by mvr, November 09, 2020, 04:31:21 PM

Previous topic - Next topic

mvr

Hello!

Thank you so much for putting all that work into this great tool!  :)

I have noticed weird output/interpretation that might be a bug either in exiftool, or in the R5 firmware. To reproduce and explain, I set the time almost identical on an EOS 5D Mark IV and an EOS R5, then simultaneously took a picture, RAW and JPG with each camera. Timezones in both cameras are set to Paris (UTC+1), Daylight Saving off.

I am using exiftool 12.09 on Windows 8.1.
Please note that CreateDate differs from the others, but solely for the CR3 file, not for its respectice JPG out of cam.

Command and output:
exiftool.exe -CreateDate -r *.cr? *.jpg
======== IMG_3739.CR2
Create Date                     : 2020:11:09 21:37:42
======== IMG_4507.CR3
Create Date                     : 2020:11:09 20:37:34
======== IMG_3739.JPG
Create Date                     : 2020:11:09 21:37:42
======== IMG_4507.JPG
Create Date                     : 2020:11:09 21:37:34
    4 image files read



The timestamps on the files reflect the correct local time:
09.11.2020  21:37        40.003.631 IMG_3739.CR2
09.11.2020  21:37         7.658.116 IMG_3739.JPG
09.11.2020  21:37        47.469.138 IMG_4507.CR3
09.11.2020  21:37        11.623.244 IMG_4507.JPG



So I tried -Alldates:

e:\prog\ExifTool\exiftool.exe -AllDates -r *.cr? *.jpg
======== IMG_3739.CR2
Date/Time Original              : 2020:11:09 21:37:42
Create Date                     : 2020:11:09 21:37:42
Modify Date                     : 2020:11:09 21:37:42
======== IMG_4507.CR3
Date/Time Original              : 2020:11:09 21:37:34
Create Date                     : 2020:11:09 20:37:34
Modify Date                     : 2020:11:09 20:37:34
======== IMG_3739.JPG
Date/Time Original              : 2020:11:09 21:37:42
Create Date                     : 2020:11:09 21:37:42
Modify Date                     : 2020:11:09 21:37:42
======== IMG_4507.JPG
Date/Time Original              : 2020:11:09 21:37:34
Create Date                     : 2020:11:09 21:37:34
Modify Date                     : 2020:11:09 21:37:34
    4 image files read


Canon's DPP shows all dates correctly, but as the call it
Shooting Date/Time   09.11.2020 21:37:42,
one can't know what exif data they refer to.

These files are huge, but I can upload them t a webserver if they could be of any help.

Best regards, mvr

StarGeek

CR3 files are Quicktime based, so I would presume that the same rules apply to the CreateDate and ModifyDate would apply if they're part of the Quicktime group.  You didn't include the -G (-groupNames) option to see the what group they are a part of..  See the fourth paragraph under Quicktime tags.

Also, check to make sure that there aren't duplicate tag names in different groups.  See FAQ #3.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

The file you sent shows this:

> exiftool IMG_4507.CR3 -a -G1 -createdate -datetimeoriginal
[ExifIFD]       Create Date                     : 2020:11:09 21:37:34
[QuickTime]     Create Date                     : 2020:11:09 20:37:34
[ExifIFD]       Date/Time Original              : 2020:11:09 21:37:34


If you add -api quicktimeutc to the command as StarGeek points out, you should see this:

> exiftool IMG_4507.CR3 -a -G1 -createdate -datetimeoriginal -api quicktimeutc
[ExifIFD]       Create Date                     : 2020:11:09 21:37:34
[QuickTime]     Create Date                     : 2020:11:09 21:37:34+01:00
[ExifIFD]       Date/Time Original              : 2020:11:09 21:37:34


- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

mvr

Thank you, StarGeek and Phil!

As of now, what you wrote is beyond what I can understand, but I'll read into it.

Phil Harvey

#4
I could patch ExifTool to apply the QuickTimeUTC option automatically for CR3 files if they are all this way.

- Phil

Edit: I checked all my CR3 samples and it seems to be this way for all of them.  So ExifTool 12.10 will patch this so you don't need the QuickTimeUTC option.
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).