Unsuccessful in changing modify date for MP4 files

Started by ohrmc, July 22, 2024, 03:03:29 PM

Previous topic - Next topic

ohrmc

What a fantastic program this is. I successfully modified the create/modify dates for the few thousand pictures that were copied over to another drive. But I'm unsuccessful with the video files.

I issued the command: Z:\exiftool -r "-DateTimeOriginal>FileModifyDate" Z:\Pictures\

And I received the following warning for just the .mp4 files

"Warning: No writable tags set from Z:/Pictures/...' where "..." is the name of the mp4 file. I received this warning for every mp4 file.

Admittedly, I'm trying to get a quick fix for this. Would anyone have a few moments to let me know commands would work?

Thanks so much.

Phil Harvey

Typically videos don't contain DateTimeOriginal.  Try CreateDate instead.

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

StarGeek

Use this command to see all the time stamps in the file
exiftool -time:all -G1 -a -s /path/to/files/

Also note that most time stamps in a video are supposed to be set to UTC and the program reading them is supposed to adjust the data to the local time zone when displaying it. So the time stamps you see might be off by the time zone, as exiftool shows the raw value unless you use the -api QuickTimeUTC option.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

ohrmc

Quote from: Phil Harvey on July 22, 2024, 05:45:43 PMTypically videos don't contain DateTimeOriginal.  Try CreateDate instead.

- Phil

Worked perfectly. Thanks so much for your time. And for the program!

ohrmc

Quote from: StarGeek on July 22, 2024, 05:52:54 PMUse this command to see all the time stamps in the file
exiftool -time:all -G1 -a -s /path/to/files/

Also note that most time stamps in a video are supposed to be set to UTC and the program reading them is supposed to adjust the data to the local time zone when displaying it. So the time stamps you see might be off by the time zone, as exiftool shows the raw value unless you use the -api QuickTimeUTC option.

Thank you!