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.
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 (https://exiftool.org/TagNames/QuickTime.html)). You can add the
-api QuickTimeUTC option (https://exiftool.org/ExifTool.html#QuickTimeUTC) and exiftool will adjust the output from UTC to the local timezone.
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.