Composite value DateTimeOriginal is incorrect

Started by mhdebokx, October 24, 2012, 04:07:38 PM

Previous topic - Next topic

mhdebokx

Many of my pictures have an incorrect DateTimeOriginal value as an composite.

The base value in the EXIF tags is correct
---- EXIF ----  (snippet)
Compression                : JPEG (old-style)
Make                       : Canon
Camera Model               : Canon DIGITAL IXUS 750
Modify Date                : 2009:07:04 10:44:53
Date/Time Original         : 2009:07:04 10:44:53
Create Date                : 2009:07:04 10:44:53


In the composite there is an extra .0 in the value. Unfortunately my mediacenter software doesn't like this
---- Composite ----  (snippet)
Create Date                     : 2009:07:04 10:44:53.0
Date/Time Original              : 2009:07:04 10:44:53.0
Modify Date                     : 2009:07:04 10:44:53.0


How can I fix tis problem ? Or how can I remove these dates from the composite (because not all pics have these tags in the composite area).
I already tried to export all meta-data to MIE, deleted alle tags from the JPG and restored all meta-data.
Same problem still occures..

Phil Harvey

The ".0" is the sub-seconds from the EXIF information.  Use the -e option to avoid creating the Composite tags, or specify the EXIF:CreateDate etc explicitly to use a version of the tag without the sub-seconds.  See the Composite tags documentation for more information about the Composite tags.

- 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 ($).

mhdebokx

Thanks, but somehow the mediasoftware still detects the subseconds. You wrote "specify the EXIF:CreateDate etc explicitly to use a version of the tag without the sub-seconds." What doy you mean exacctly ? Eg. do I have to make an addition to the ".ExifTool_config" file ?

Phil Harvey

On the command line, I meant a command like this:

exiftool -exif:creatdate FILE

But if you are using some other utility to run ExifTool, you may not be able to control this.

However, settings in the .ExifTool_config file will apply even if running via another utility.  So you could use this config file to turn off the Composite tags:

%Image::ExifTool::UserDefined::Options = (
    Composite => 0,
);
1; # end


- 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 ($).