ExifTool Forum

ExifTool => Newbies => Topic started by: 3dwannab on September 17, 2024, 06:06:47 PM

Title: Change system properties from -quicktime:CreateDate problem
Post by: 3dwannab on September 17, 2024, 06:06:47 PM
I have these time properties for a file below:

exiftool -ver
12.96
exiftool -time:all -G1 -a -s file
[System]        FileModifyDate                  : 2024:09:17 21:33:52+01:00
[System]        FileAccessDate                  : 2024:09:17 22:51:55+01:00
[System]        FileCreateDate                  : 1777:12:05 08:10:02+00:00
[QuickTime]     CreateDate                      : 2024:08:01 09:59:23
[QuickTime]     ModifyDate                      : 2024:08:01 09:59:23
[Track1]        TrackCreateDate                 : 2024:08:01 09:59:23
[Track1]        TrackModifyDate                 : 2024:08:01 09:59:23
[Track1]        MediaCreateDate                 : 2024:08:01 09:59:23
[Track1]        MediaModifyDate                 : 2024:08:01 09:59:23
[Track2]        TrackCreateDate                 : 2024:08:01 09:59:23
[Track2]        TrackModifyDate                 : 2024:08:01 09:59:23
[Track2]        MediaCreateDate                 : 2024:08:01 09:59:23
[Track2]        MediaModifyDate                 : 2024:08:01 09:59:23
[Track3]        TrackCreateDate                 : 2024:08:01 09:59:23
[Track3]        TrackModifyDate                 : 2024:08:01 09:59:23
[Track3]        MediaCreateDate                 : 2024:08:01 09:59:23
[Track3]        MediaModifyDate                 : 2024:08:01 09:59:23
[Track4]        TrackCreateDate                 : 2024:08:01 09:59:23
[Track4]        TrackModifyDate                 : 2024:08:01 09:59:23
[Track4]        MediaCreateDate                 : 2024:08:01 09:59:23
[Track4]        MediaModifyDate                 : 2024:08:01 09:59:23
[Track5]        TrackCreateDate                 : 2024:08:01 09:59:23
[Track5]        TrackModifyDate                 : 2024:08:01 09:59:23
[Track5]        MediaCreateDate                 : 2024:08:01 09:59:23
[Track5]        MediaModifyDate                 : 2024:08:01 09:59:23
[Keys]          CreationDate                    : 2024:08:01 09:59:23+03:00

I was looking to change the System properties below to match the rest at: 2024:08:01 09:59:23

[System]        FileModifyDate                  : 2024:09:17 21:33:52+01:00
[System]        FileAccessDate                  : 2024:09:17 22:51:55+01:00
[System]        FileCreateDate                  : 1777:12:05 08:10:02+00:00

As you can see I've tried to change the FileCreateDate but it hasn't went corrupt.

Here's what I used for that.

exiftool "-System:FileCreateDate<-quicktime:CreateDate" file
Title: Re: Change system properties from -quicktime:CreateDate problem
Post by: StarGeek on September 17, 2024, 06:47:01 PM
This is Common Mistake #5a (https://exiftool.org/mistakes.html#M5). You added a dash before "Quicktime".

Also take note that video timestamps are in UTC, while the system time stamps are local, so the timestamp in the file might be off by your timezone. So, off by an hour during Summer time, I think.

Exiftool can adjust this for you with the -api QuickTimeUTC option (https://exiftool.org/ExifTool.html#QuickTimeUTC)

exiftool -api QuickTimeUTC "-FileCreateDate<CreateDate" file.mp4
Title: Re: Change system properties from -quicktime:CreateDate problem
Post by: 3dwannab on September 18, 2024, 02:33:01 PM
Thanks but the 3 system timestamps don't line up with CreateDate.

Here's what I used:
exiftool -api QuickTimeUTC "-FileCreateDate<CreateDate" file
exiftool -api QuickTimeUTC "-FileModifyDate<CreateDate" file
exiftool -api QuickTimeUTC "-FileAccessDate<CreateDate" file

The System timestamps have +1:00 with the time 2 hours behind, whereas the CreateDate is +3:00.

Is it possible for the system files to match the Create Date exactly?

The photos were taken in Finland which is 2 hours ahead of Ireland.


[System]        FileModifyDate                  : 2024:08:01 07:59:23+01:00
[System]        FileAccessDate                  : 2024:08:01 07:59:23+01:00
[System]        FileCreateDate                  : 2024:08:01 07:59:23+01:00
[QuickTime]    CreateDate                      : 2024:08:01 09:59:23
[QuickTime]    ModifyDate                      : 2024:08:01 09:59:23
[Track1]        TrackCreateDate                : 2024:08:01 09:59:23
[Track1]        TrackModifyDate                : 2024:08:01 09:59:23
[Track1]        MediaCreateDate                : 2024:08:01 09:59:23
[Track1]        MediaModifyDate                : 2024:08:01 09:59:23
[Track2]        TrackCreateDate                : 2024:08:01 09:59:23
[Track2]        TrackModifyDate                : 2024:08:01 09:59:23
[Track2]        MediaCreateDate                : 2024:08:01 09:59:23
[Track2]        MediaModifyDate                : 2024:08:01 09:59:23
[Track3]        TrackCreateDate                : 2024:08:01 09:59:23
[Track3]        TrackModifyDate                : 2024:08:01 09:59:23
[Track3]        MediaCreateDate                : 2024:08:01 09:59:23
[Track3]        MediaModifyDate                : 2024:08:01 09:59:23
[Track4]        TrackCreateDate                : 2024:08:01 09:59:23
[Track4]        TrackModifyDate                : 2024:08:01 09:59:23
[Track4]        MediaCreateDate                : 2024:08:01 09:59:23
[Track4]        MediaModifyDate                : 2024:08:01 09:59:23
[Track5]        TrackCreateDate                : 2024:08:01 09:59:23
[Track5]        TrackModifyDate                : 2024:08:01 09:59:23
[Track5]        MediaCreateDate                : 2024:08:01 09:59:23
[Track5]        MediaModifyDate                : 2024:08:01 09:59:23
[Keys]          CreationDate                    : 2024:08:01 09:59:23+03:00
[XMP-xmp]      CreateDate                      : 2024:08:01 09:59:23+03:00
Title: Re: Change system properties from -quicktime:CreateDate problem
Post by: 3dwannab on September 18, 2024, 06:25:46 PM
I ended up using XnView MP. I was overcomplicating things.

I can shift timestamps there, etc and then rename with lots of different EXIF-related naming masks.

Title: Re: Change system properties from -quicktime:CreateDate problem
Post by: StarGeek on September 23, 2024, 12:33:40 PM
Sorry for not getting back to you earlier. Glad you found a solution.

I should point though that unless you are in a +00:00 time zone, the file system timestamps and the Quicktime timestamps should never be the same. The file system timestamps are local time, and the Quicktime timestamps listed are UTC.