Hello
I'm want to use exiftool in order to decrease the date/time of a tag by 9H for a number of videos files (.MOV captured by FCP PRO)
In fact i forgot to set my camcorder to the local time
Then I ran this command :
Quoteexiftool clip-2012-07-28\ 18\;06\;09.mov -time:all
File Modification Date/Time : 2012:08:15 13:57:43+02:00
File Access Date/Time : 2017:08:24 23:24:07+02:00
File Inode Change Date/Time : 2017:08:24 23:19:58+02:00
Create Date : 2012:08:15 11:57:41
Modify Date : 2012:08:15 11:57:42
Track Create Date : 2012:08:15 11:57:41
Track Modify Date : 2012:08:15 11:57:41
Media Create Date : 2012:08:15 11:57:41
Media Modify Date : 2012:08:15 11:57:41
Creation Date : 2012:07:28 18:06:09+02:00
The Creation Date is the date time of my movie but in French time it should be
2012:07:28 09:06:09-07:00So I ran this command
Quoteexiftool -CreationDate-='0:0:0 9:0:0' clip-2012-07-28\ 18\;06\;09.mov -overwrite_original -v
======== clip-2012-07-28 18;06;09.mov
Rewriting clip-2012-07-28 18;06;09.mov...
FileType = MOV
FileTypeExtension = MOV
MIMEType = video/quicktime
Editing tags in: MOV Movie UserData XMP
Rewriting Movie
Rewriting MovieHeader
Rewriting Track
Rewriting TrackHeader
Rewriting Media
Rewriting MediaHeader
Rewriting Track
Rewriting TrackHeader
Rewriting Media
Rewriting MediaHeader
Rewriting Track
Rewriting TrackHeader
Rewriting Media
Rewriting MediaHeader
Rewriting UserData
Rewriting XMP
Nothing changed in clip-2012-07-28 18;06;09.mov
0 image files updated
1 image files unchanged
As you can see, no change on the file append. It is the same result if I remove the -overwrite_original line command
Could you help me to get it running correctly ?
In addition i haven't found the trick to set the -07:00 (shift from gmt)
Thanks a lot
Unforunately, CreationDate is not yet writable (https://exiftool.org/TagNames/QuickTime.html#Keys) in MOV/MP4 videos.
- Phil
Hello Phil
Thank you for your quick answer.
I will recopy CreationDate to CreateDate and apply -09H00
Is there a way to set timezone in CreateDate ?
Nicolas
Hi Nicolas,
There is no way to set the time zone, but CreateDate in theory should be stored as UTC. If the -api quicktimeutc option is used, then QuickTime:CreateDate is read/written using the local time zone (I know the option sounds backward. Apologies for that.)
- Phil
Hi Nicholas,
As exiftool can't write the creation date tag, I wrote a Perl script that will write it. It called matchDateTime and can be found on GitHub: https://github.com/HayoBaan/matchDateTime
It has helped a number of people already and may be working for you too.
Hi Just but in forum and saw only now your answer ! thank you I will try it !