Batch replace metadata (Content Create Date)

Started by david88lopez, January 16, 2024, 03:36:10 AM

Previous topic - Next topic

david88lopez

Good morning,

I'm new and I need help with something.

I need the 'Create Date' tag to load the date from the 'Content Create Date' tag in batch for many .mp4 videos in a folder.
Is that possible?

From the GUI I have managed to do it, but copying the text one by one. The problem is that there are hundreds of videos.

In 2018 I made some videos with iPhone and when I transferred them to the PC in 2019 with a program, the creation date was changed so I do want to upload the videos to Google Photos, they all appear created on the same day in 2019 (2019:08:22 12 :13:02).
I need each video to have the original creation date and after several programs the only one that has the original data saved is ExifTool, in the 'Content Create Date' tag.

If it can be done from the GUI interface even better.

Thank you all very much, you save my life if there is a solution.

david88lopez

Investigating how the program works I have come to this conclusion:

-QuickTime:CreateDate=-QuickTime:ContentCreateDate
However, the following error appears, since the format is not the same:
 Invalid date/time (use YYYY:mm:dd HH:MM:SS[.ss][+/-HH:MM|Z]) in QuickTime:CreateDate (PrintConvInv)

How could you solve it?

I am using the jExifToolGUI version

Phil Harvey

This is common mistake 5a and 5c.

Try this command.

exiftool "-quicktime:createdate<contentcreatedate" -ext mp4 DIR

I can't help with the GUI.

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

david88lopez

A million thanks!

Now I can organize all my photos and videos taken with iPhone correctly.

I also had to correct a backward jet lag, so I used these 2 codes and everything was perfect.

-quicktime:createdate<contentcreatedate -ext m4v
-createdate-="0:0:0 2:0:0" -ext m4v

I have already perfectly understood the use of "=" and "<".

You have great and powerful software Phil, congratulations!  ;)