Video CreateDate tag

Started by handvprice, June 26, 2019, 03:34:49 PM

Previous topic - Next topic

handvprice

My Nikon D5300 creates .mov videos, and I'm trying to fix the system FileModifyDate which doesn't match the date and time visible by looking at the hex of the video file (file just copied from sd card to pc). Output from the FAQ #24 command gives:

[File:System]   FileModifyDate                  : 2019:06:21 07:23:06-04:00
[File:System]   FileAccessDate                  : 2019:06:23 08:07:22-04:00
[File:System]   FileCreateDate                  : 2019:06:23 08:07:22-04:00
[QuickTime]     CreateDate                      : 2019:06:21 07:23:15
[QuickTime]     ModifyDate                      : 2019:06:21 07:23:15
[QuickTime:Track1] TrackCreateDate              : 2019:06:21 07:23:15
[QuickTime:Track1] TrackModifyDate              : 2019:06:21 07:23:15
[QuickTime:Track1] MediaCreateDate              : 2019:06:21 07:23:15
[QuickTime:Track1] MediaModifyDate              : 2019:06:21 07:23:15
[QuickTime:Track2] TrackCreateDate              : 2019:06:21 07:23:15
[QuickTime:Track2] TrackModifyDate              : 2019:06:21 07:23:15
[QuickTime:Track2] MediaCreateDate              : 2019:06:21 07:23:15
[QuickTime:Track2] MediaModifyDate              : 2019:06:21 07:23:15
[MakerNotes:Nikon] CreateDate                   : 2019:06:21 07:23:07
[MakerNotes:Nikon] DateTimeOriginal             : 2019:06:21 07:23:07
[MakerNotes:Nikon] TimeZone                     : +03:00
[MakerNotes:Nikon] DaylightSavings              : Yes
[MakerNotes:Nikon] DateDisplayFormat            : Y/M/D

Note the two different "CreateDate", from Quicktime area and from Nikon area. The Exiftool command "exiftool "-FileModifyDate<CreateDate" actually did work to make the system file modify date match the Nikon date as I'd like, but two questions: 1) How does Exiftool know which CreateDate I wanted? and 2) Any idea why Quicktime date doesn't match Nikon date? TY.


Phil Harvey

Quote from: handvprice on June 26, 2019, 03:34:49 PM
1) How does Exiftool know which CreateDate I wanted?

If you add "4" to the printed groups (ie. "-G0:1:4"), the one used was the one without a Copy number.

To be sure you use the correct one, you could do "-filemodifydate<Nikon:CreateDate"

Quote2) Any idea why Quicktime date doesn't match Nikon date? TY.

Ah, I see.  They are out by a few seconds.  How long is the video?  Could one be the start time and one the end time?

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