ExifTool Forum

General => Metadata => Topic started by: xo66 on November 01, 2019, 12:03:17 PM

Title: mp4 location tagging for iPhone
Post by: xo66 on November 01, 2019, 12:03:17 PM
Hi,
I'm looking for a solution for having mp4 on my iPhone with the location tagged.
I've tried with these strings but with no success:

exiftool -xmp:gpslatitude=45.870932 -xmp:gpslongitude=12.271407 example.mp4

exiftool -QuickTime:GPSCoordinates#="45.870932 12.271407 0" example.mp4

Can someone help me?
Title: Re: mp4 location tagging for iPhone
Post by: Phil Harvey on November 01, 2019, 12:24:01 PM
You will have to be more specific than "no success".

Both of those commands should have written the specified metadata to the file.

This may be  FAQ 3 (https://exiftool.org/faq.html#Q3).

- Phil
Title: Re: mp4 location tagging for iPhone
Post by: xo66 on November 01, 2019, 12:41:36 PM
"No success" means that on the iPhone I don't see any location tagged.
Title: Re: mp4 location tagging for iPhone
Post by: Phil Harvey on November 01, 2019, 01:16:14 PM
Right.  OK, so try this:

exiftool -Keys:GPSCoordinates#="45.870932 12.271407 0" example.mp4

Apple software likes things written in the Keys location in videos.

- Phil
Title: Re: mp4 location tagging for iPhone
Post by: xo66 on November 01, 2019, 01:43:51 PM
Thanks but nothing happens even with this:

exiftool -Keys:GPSCoordinates=45.870932,12.271407 example.mp4
Title: Re: mp4 location tagging for iPhone
Post by: Phil Harvey on November 01, 2019, 02:51:24 PM
I disagree
Title: Re: mp4 location tagging for iPhone
Post by: xo66 on November 02, 2019, 04:39:52 AM
And I'm very sad. Is there anything I have to check in the file?
Title: Re: mp4 location tagging for iPhone
Post by: Phil Harvey on November 03, 2019, 07:18:09 AM
Did you read FAQ 3?  Also, are you using the most recent version of ExifTool?

- Phil
Title: Re: mp4 location tagging for iPhone
Post by: xo66 on November 03, 2019, 10:45:37 AM
I'm using 11.73 running it on Windows 10.
The strange thing is that today i made a video with my iPhone 11 and on Camera Roll the video it's tagged with the GPS Position.
But if I moved it from iPhone to PC and then I syncronize I lose the GPS tagging on Camera Roll. Who knows if I had a Mac what can happen...