Update Capture Time on .MOV files

Started by Mickey, July 04, 2011, 05:33:21 PM

Previous topic - Next topic

Mickey

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

Phil Harvey

Sorry, ExifTool doesn't yet support writing of video formats.  What utility are you using to write GPS to MOV?

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

viiia

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

Phil Harvey

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

fritsn

Hi Phil,

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

Regards,
Frits.

Phil Harvey

Hi Frits,

Yes, you can do this.

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