mp4 location tagging for iPhone

Started by xo66, November 01, 2019, 12:03:17 PM

Previous topic - Next topic

xo66

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?

Phil Harvey

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.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

xo66

"No success" means that on the iPhone I don't see any location tagged.

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

xo66

Thanks but nothing happens even with this:

exiftool -Keys:GPSCoordinates=45.870932,12.271407 example.mp4

Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

xo66

And I'm very sad. Is there anything I have to check in the file?

Phil Harvey

Did you read FAQ 3?  Also, are you using the most recent version of ExifTool?

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

xo66

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...