Hello there. I've been struggling with metadata in my video files for a long time. I kind of understand EXIF tool but I end up getting confused. What I'm trying to do, is change the Quicktime Track Create Date for an .mp4 file as it has been set incorrectly.
Here is an example of the original dates:
exiftool -k -g SAM_9253.MP4
---- QuickTime ----
Track Create Date : 2038:04:12 17:07:41
Track Modify Date : 2038:04:12 17:07:41
Media Create Date : 2038:04:12 17:07:41
Media Modify Date : 2038:04:12 17:07:41
---- XMP ----
Create Date : 2038:04:12 17:07:41Z
Modify Date : 2038:04:12 17:07:41Z
Here is an example I found on how to change them all to the current time, then checking and confirming that it did work:
exiftool.exe SAM_9253.MP4 -time:all=now -wm w
exiftool.exe SAM_9253.MP4 -k -g
---- QuickTime ----
Track Create Date : 2017:03:01 12:15:18
Track Modify Date : 2017:03:01 12:15:18
Media Create Date : 2017:03:01 12:15:18
Media Modify Date : 2017:03:01 12:15:18
---- XMP ----
Create Date : 2017:03:01 12:15:18+11:00
Modify Date : 2017:03:01 12:15:18+11:00
Now I try and just do the Quicktime Track Create Date
exiftool SAM_9253.MP4 -quicktime:createdate="2010:01:01 01:01:01"
It says updated but it doesn't change the date.
Any help would be greatly appreciated. I think part of my problem is I don't understand how to find the "tag" name for EXIF tool for the field I'm looking at with exiftool -k. I see the website has a lot about tags but I can't seem to marry them up.
Hi Invada,
Have you tried
exiftool SAM_9253.MP4 -quicktime:trackcreatedate="2010:01:01 01:01:01"
?
That's it! Thanks :)
OK so now I'm trying to copy what's in
xmp:metadatadate
to
quicktime:trackcreatedate
tried:
exiftool SAM_9253.MP4 -quicktime:trackcreatedate=-xmp:metadatadate
and:
exiftool quicktime:trackcreatedate<xmp:metadatadate SAM_9253.MP4
Looks close but isn't working.
With a small change, the latter should work (assuming xmp:metadatadate exist):
exiftool "-quicktime:trackcreatedate<xmp:metadatadate" SAM_9253.MP4
(note: the quotes are important otherwise the shell will interpret the < as input redirection!)
Awesome! That did it! Thanks so much ;D