Apple Live images/Videos Rename based on metadata

Started by vinaybansal, June 04, 2021, 12:10:29 PM

Previous topic - Next topic

vinaybansal

I want to write a command to rename my images based on "DateTimeOriginal" tag, then find any live video based on "contentidentifier" tag, and rename the video also based on image's "DateTimeOriginal" tag.

I'm able to rename the images with one command, but unable to find live videos and tag them.

My file names have been messed up and the video's timestamp does not match with image's timestamp.

I've been having hard time doing this.

StarGeek

Exiftool only processes one file at a time and can't read data from one file and search for another file with the same data.

Quote from: vinaybansal on June 04, 2021, 12:10:29 PM
My file names have been messed up and the video's timestamp does not match with image's timestamp.

Video timestamps are in UTC (see fourth paragraph under Quicktime tags).  You can add the -api QuickTimeUTC option and exiftool will adjust the output from UTC to the local timezone.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

vinaybansal

What if I move the images with same "contentidentifier" tag in one directory, would that help?

Can you help me with a script to do this maybe?

I know that Video timestamps are in UTC, still, they don't match with image's timestamp. There's difference of few seconds.