ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: SamMat on December 03, 2020, 02:19:38 PM

Title: Warning: Not an integer for CreateDate
Post by: SamMat on December 03, 2020, 02:19:38 PM
Hello,
I recently update exiftool.exe from an older version (probably April 2020) to the latest (12.11) and a problem has appeared.
The code that ran without problems before now have a problem :
Error message :
Warning: Not an integer for CreateDate -
Running on a Windows 10 PC (but problem is also on macOS).

Here is some explanation:
I want to add and then shift the createdate from a mp4 video file ("20190330_130000.mp4"). I do this :

First step : I add the date tag from the filename :
exiftool.exe "-quicktime:createdate<filename" -api quicktimeutc -charset FileName=latin1 C:\Users\Samuel\Desktop\20190330_130000.mp4
Result is :  "1 image files updated"

Second step : I want to substract 1 hour, 11 minutes and 30 seconds :
[quote][quote]exiftool.exe -quicktime:createdate-=1:11:30 -api quicktimeutc -charset FileName=latin1 C:\Users\Samuel\Desktop\20190330_130000.mp4[/quote][/quote]
Result is : "Warning: Not an integer for CreateDate - C:/Users/Samuel/Desktop/20190330_130000.mp4
    0 image files updated
    1 image files unchanged"

With older version of exiftool.exe, the second step was OK, meaning something has changed. But what ? And how can I fix this ?

Here is the time content of the metadata, after the first step :
exiftool.exe -time:all -a -G1 -s -api quicktimeutc -charset FileName=latin1 C:\Users\Samuel\Desktop\20190330_130000.mp4

[System]        FileModifyDate                  : 2020:12:03 20:09:40+01:00
[System]        FileAccessDate                  : 2020:12:03 20:11:28+01:00
[System]        FileCreateDate                  : 2020:12:03 20:08:39+01:00
[QuickTime]     CreateDate                      : 2019:03:30 13:00:00+01:00
[QuickTime]     ModifyDate                      : 1904:01:01 01:00:00+01:00
[Track1]        TrackCreateDate                 : 1904:01:01 01:00:00+01:00
[Track1]        TrackModifyDate                 : 1904:01:01 01:00:00+01:00
[Track1]        MediaCreateDate                 : 1904:01:01 01:00:00+01:00
[Track1]        MediaModifyDate                 : 1904:01:01 01:00:00+01:00
[Track2]        TrackCreateDate                 : 1904:01:01 01:00:00+01:00
[Track2]        TrackModifyDate                 : 1904:01:01 01:00:00+01:00
[Track2]        MediaCreateDate                 : 1904:01:01 01:00:00+01:00
[Track2]        MediaModifyDate                 : 1904:01:01 01:00:00+01:00
[ItemList]      ContentCreateDate               : 2019


Please, could you help me ?

Thanks a lot !

Samuel
Title: Re: Warning: Not an integer for CreateDate
Post by: StarGeek on December 03, 2020, 03:09:49 PM
Version 12.09 works correctly with this command.  Version 12.10 returns the error.
Title: Re: Warning: Not an integer for CreateDate
Post by: Phil Harvey on December 03, 2020, 03:12:56 PM
Thanks for this report.  I'll fix this in 12.12

- Phil
Title: Re: Warning: Not an integer for CreateDate
Post by: SamMat on December 03, 2020, 03:31:40 PM
Thanks !
Title: Re: Warning: Not an integer for CreateDate
Post by: Phil Harvey on December 04, 2020, 10:24:54 AM
Version 12.12 is now available, and should fix this problem.

- Phil