ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: emoroch on April 15, 2020, 09:37:15 PM

Title: Wrong Shutter Speed returned by exiftool
Post by: emoroch on April 15, 2020, 09:37:15 PM
I'm in the process of evaluating Capture One as a replacement for my current photo editing application. While evaluating I ran the "Sync Metadata" command and noticed that the Shutter Speed value for most of my images changed to 1sec. I ran ExifTool on the raw (.CR2) file...

exiftool IMG_1847.CR2 | grep "Shutter Speed"

and it returned...

Shutter Speed Value             : 1/395
Shutter Speed                   : 1/400

I also ran Exiftool on the XMP file ...

exiftool IMG_1847.xmp | grep "Shutter Speed"
file but it returned...

Shutter Speed Value             : 1
Shutter Speed                   : 1

I searched the XMP file...

grep ShutterSpeed IMG_1847.xmp
and found...

   exif:ShutterSpeedValue="1/400"

It appears that both Capture One and Exiftool may be incorrectly reading the EXIF data within the XMP file. Am I missing something here?
Title: Re: Wrong Shutter Speed returned by exiftool
Post by: StarGeek on April 15, 2020, 10:13:53 PM
You might want to add the -G (groupNames) option (https://exiftool.org/exiftool_pod.html#G-NUM-:NUM...--groupNames) to see where the other shutter speed value is stored.  It might be in the MakerNotes or a Composite tag.  My sample CR2 here shows the second one is one of the Composite tags (https://exiftool.org/TagNames/Composite.html).

Side note, you don't need to grep the output.
exiftool -ShutterSpeed* -G1 IMG_1847.CR2
Title: Re: Wrong Shutter Speed returned by exiftool
Post by: Phil Harvey on April 16, 2020, 07:13:14 AM
Also look for the -exposuretime tag.

As well, it may be useful to run this command to see if any damage was done by Capture One:

exiftool -validate -warning -a IMG_1847.CR2

- Phil
Title: Re: Wrong Shutter Speed returned by exiftool
Post by: emoroch on April 17, 2020, 11:34:39 AM
Phil, StarGeek-  Thanks for your replies. I validated both the RAW file and the XMP sidecar. Both are OK. I believe I have found the source of my problem. The application that I'm considering migrating from is "ON1 Photo Raw". The application I'm considering migrating to is "Capture One Pro". ON1 Photo Raw will create an XMP sidecar file if I add tags such as keywords, description, etc. Capture One Pro does not create XMP sidecar files, however, it will read them if the "Prefer Sidecar XMP over Embedded Metadata" option is checked and "Auto Sync Sidecare XMP" is set to "Load" or "Sync". So, I believe the issue is with the way ON1 Photo Raw writes the XMP sidecar file. Syntactically it is correct, but something is misplaced. Both Exiftool and Capture One Pro read the XMP file correctly. It's just bad data.