This is a tricky one.
I take pictures and videos with both an iPhone and a Sony camera and import them into the Photos.app in the Mac. I do a little cleanup, delete unwanted photos and then export the original JPG files to a folder (no conversion). Pictures are automatically renamed and sorted into subfolders using Hazel and a Exiftool script.
The pictures for both devices register the correct GMT offset for date and time and Exiftool renames then perfectly.
Videos are a different story. The iPhone register the correct GMT offset and videos are correctly renamed. The Sony camera theoretically does it right too and when I import into the Photos.app the time is correct (in my case GMT -3) when I look at the info pane. The Problem: When I export the original videos the metadata does not recognize the GMT offset, so the time of the videos are always 3 hours more than it should. It resets to GMT +0.
When I export the videos I don’t know which device took it unless I look at the metadata.
Is the a script to identify just the videos taken with the Sony Camera and correct the GMT offset?
-api quicktimeutc
to the command. \$\endgroup\$exiftool -if '$TAG eq "VALUE"' -api quicktimeutc -execute -if '$TAG ne "VALUE"' -common_args -ext mp4 -ext mov -d %Y-%m-%d_%H%M%S '-filename<${CreationDate;}.%e'
. You would have to replacesTAG
with the name of the tag that is unique to Sony videos andVALUE
with the value of that tag. \$\endgroup\$