I use Handbrake to compress my iPhone videos and exiftool to transfer all the metadata with this command.
exiftool -TagsFromFile ORIGINAL.mov -all:all -overwrite_original COMPRESSED.mp4 And it works like a charm everywhere else except Google Photos.
I get the correct time as soon as I upload
But after a few minutes, the time shifts by +5:30hrs
I have two macs and I tried uploading using both of them, but it still changes. However when I upload it from my iPhone, the time doesn't change! That is what I've been doing for now.
Drive link for the files https://drive.google.com/drive/folders/1OLojvzElgcEEie7WKIrwQwhTPnbSVSZb?usp=share_link
Neither movie has a proper date. So maybe Google Photos grabs the date from the file create date or the upload date?
exiftool -a -G1 -s -api QuickTimeUTC=1 .
[QuickTime] CreateDate : 0000:00:00 00:00:00
The original is .mov and the compressed is .mp4. In some workflows the wrapper/suffix matters in how Google Photos displays the date but this does not seem to be the case here.
The original sample movie is 2.3 MB and the compressed 2 MB so not much space was saved with this short movie.
- Matti
My bad! I think the files I linked to were wrong. I apologise! :( Here's a Drive link https://drive.google.com/drive/folders/1OLojvzElgcEEie7WKIrwQwhTPnbSVSZb?usp=share_link
With those new movies I get the same dates in exiftool:
exiftool -a -G1 -s -api QuickTimeUTC=1 -Time:All .
======== ./COMPRESSED.mp4
[QuickTime] CreateDate : 2021:11:07 14:37:44+02:00
[Keys] CreationDate : 2021:11:07 13:27:49+05:30
======== ./ORIGINAL.MOV
[QuickTime] CreateDate : 2021:11:07 14:37:44+02:00
[Keys] CreationDate : 2021:11:07 13:27:49+05:30
After uploading to Google Photos it picks that Keys 13:27:49 +05:30 for both movies in my setup.
- Matti