Overwrite MOV media created date metadata with quicktime created date

Started by brentvw123, April 25, 2021, 01:30:49 AM

Previous topic - Next topic

brentvw123

Had an iCloud sync download of MOV files on Windows where the MP4 metadata was stamped with the download time

Had to jump around quite a bit to figure this out, sharing here in case it helps others:

1) Looked at the MOV attributes

c:\Temp>exiftool -time:all -G1 -a -s img_0240.mov

Quote[System]        FileModifyDate                  : 2019:09:01 11:14:14-04:00
[System]        FileAccessDate                  : 2021:04:25 01:17:20-04:00
[System]        FileCreateDate                  : 2021:04:25 01:17:17-04:00
[QuickTime]     CreateDate                      : 2019:09:01 15:12:57
[QuickTime]     ModifyDate                      : 2019:09:01 15:14:14
[Track1]        TrackCreateDate                 : 2019:09:01 15:12:57
[Track1]        TrackModifyDate                 : 2019:09:01 15:14:14
[Track1]        MediaCreateDate                 : 2019:09:01 15:12:57
[Track1]        MediaModifyDate                 : 2019:09:01 15:14:14
[Track2]        TrackCreateDate                 : 2019:09:01 15:12:57
[Track2]        TrackModifyDate                 : 2019:09:01 15:14:14
[Track2]        MediaCreateDate                 : 2019:09:01 15:12:57
[Track2]        MediaModifyDate                 : 2019:09:01 15:14:14
[Track3]        TrackCreateDate                 : 2019:09:01 15:12:57
[Track3]        TrackModifyDate                 : 2019:09:01 15:14:14
[Track3]        MediaCreateDate                 : 2019:09:01 15:12:57
[Track3]        MediaModifyDate                 : 2019:09:01 15:14:14
[Track4]        TrackCreateDate                 : 2019:09:01 15:12:57
[Track4]        TrackModifyDate                 : 2019:09:01 15:14:14
[Track4]        MediaCreateDate                 : 2019:09:01 15:12:57
[Track4]        MediaModifyDate                 : 2019:09:01 15:14:14
[Keys]          CreationDate                    : 2019:02:04 19:14:44-07:00

2) All those 09:01 dates were bogus as that was when iCloud synced the files to my PC.  Just about every attribute had that date except for Keys.CreationDate, which was the right 02:04 date

3) After much trial and error settled on this command:

exiftool "-AllDates<Keys:CreationDate" -api quicktimeutc "-FileModifyDate<Keys:CreationDate" img_0240.mov

The AllDates cleaned up the media creation date and required the quicktimeutc flag as it was not UTC, but the windows modified date did not need the flag.

Note: MediaInfo tool showed this helpful keys.creationdate attribute as quicktime.creationdate .

jaynor

brentvw123,

Just to confirm what you are discussing, the "Creation Date" you see if ExifTool below the make, model, software (iOS) of the.mov is the actual creation date of the file as opposed to the Track Create Date, Media Create Date, etc.  When viewing the .mov in the MediaInfo tool, the actual "real" file creation date specifies it as the "com.apple.quicktime.creationdate."