ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Mickey on July 04, 2011, 05:33:21 PM

Title: Update Capture Time on .MOV files
Post by: Mickey on July 04, 2011, 05:33:21 PM
Is there any update to this issue? 

I'm new to all this and spent some time yesterday working through how to use ExifTool hoping that I could adjust the capture time on .MOV  files from my Canon 7D.  You guessed it, I forgot to change the time on my camera on my Alaska vacation.  I adjusted all the raw files, but can't change the .mov files.  Since I'm trying to add GPS location data, the capture time makes a difference.

Mickey
Title: Re: Update Capture Time on .MOV files
Post by: Phil Harvey on July 04, 2011, 06:23:45 PM
Sorry, ExifTool doesn't yet support writing of video formats.  What utility are you using to write GPS to MOV?

- Phil
Title: Re: Update Capture Time on .MOV files
Post by: viiia on July 17, 2011, 07:16:05 PM
I'd also love to have this function!  I like to think of myself as a perl hacker, so I'd like to volunteer to help make this work!  I'd just like some guidance for getting started.

All I use exiftool is to do timeshifts and file renaming.  I imagine lots of people are like me, based on googling my problems.  Anyway, I imagine it should be easy to change such an entry if we already know how to read it (the byte length wouldn't change, just a few digits would be replaced?).  Of course, if data is always rewritten completely even if only entry was modified, I can see how that's harder.  As photocameras produce images and video with consistent timestamps, I like editing/renaming them consistently, and even better if I could use a single command to do it.  Anyway, I don't need full editing capabilities for MOV and MP4, just dates!

-Alex
Title: Re: Update Capture Time on .MOV files
Post by: Phil Harvey on July 18, 2011, 07:27:37 AM
There are 2 main problems in adding this feature, and both are related to the power and flexibility of exiftool:

1) When a tag is written using ExifTool, the user expects it to be added if it doesn't already exist.  Unfortunately, this is complicated in QuickTime-format files because the different variations seem to store metadata in different locations (MOV vs. MP4, etc).

2) ExifTool is designed to be able to rewrite streamed (sequential access) files.  This allows it to be used in a pipeline, but also means that you don't have random access like you do with a disk file.  The result is that if you want to seek backwards you must buffer the file in memory (which may not be feasible for a large video file), and the entire file must be rewritten when writing (which may be very slow for large video files).

- Phil
Title: Re: Update Capture Time on .MOV files
Post by: fritsn on March 07, 2013, 10:13:12 AM
Hi Phil,

And what about just a way to adjust the File System modification and create time/date stamps for video files?

Regards,
Frits.
Title: Re: Update Capture Time on .MOV files
Post by: Phil Harvey on March 07, 2013, 10:38:31 AM
Hi Frits,

Yes, you can do this.

- Phil