Hi all!
I am currently on a quest to geotag all my phone video correctly. Most Smarthpones use the `Quicktime:GPSCoordinates` tag for that.
For example:
$ exiftool -s -G0:2 -"Location:All" myvideo.mp4
[QuickTime:Location] GPSCoordinates : 53 deg 33' 54.5" N, 10 deg 00' 15.9" E
[Composite:Location] GPSLatitude : 53 deg 33' 54.5" N
[Composite:Location] GPSLongitude : 10 deg 00' 15.9" E
[Composite:Location] GPSPosition : 53 deg 33' 54.5" N, 10 deg 00' 15.9" E
When I try to change the GPS info of this mp4 file in anyway, it doesn't work:
$ exiftool -QuickTime:GPSCoordinates="5.0000 N, 5.0000 E" video_exiftool.mp4
Warning: Sorry, QuickTime:GPSCoordinates doesn't exist or isn't writable
Nothing to do.
$ exiftool -s -G -GPSLongitude="5.0000 N" video_exiftool.mp4
1 image files updated
Aha, the lest command should have changes something, right?
$ exiftool -s -G0:2 -"Location:All" myvideo.mp4
[QuickTime:Location] GPSCoordinates : 53 deg 33' 54.5" N, 10 deg 00' 15.9" E
[Composite:Location] GPSLatitude : 53 deg 33' 54.5" N
[Composite:Location] GPSLongitude : 10 deg 00' 15.9" E
[Composite:Location] GPSPosition : 53 deg 33' 54.5" N, 10 deg 00' 15.9" E
Nope, nothing changes. Still the same coordinates as before. I don't understand why I am getting "1 image files updated" as output from the command. On top of that, I haven't found any way to set these GPS to anything else. Even deleting them with exiftool -Location= has no effect.
What am I doing wrong here?
My first thought is to put an -a in there
exiftool -a -G -s -gpslongitude myvideo.mp4
Use the command in faq 3 (https://exiftool.org/faq.html#Q3) to see all tags and their location.
When you write to GPSLongitude, you are writing to XMP:GPSLongitude, but you don't see it because you aren't using -a.
Also, what version of exiftool are you using? Writing GPSCoordinates should work.
Edit: Now home and not on mobile
Example output, I set GPSLongitude to 10 to show the difference.
C:\>exiftool -P -overwrite_original -QuickTime:GPSCoordinates="5.0000 N, 5.0000 E" -GPSLongitude="10.0000 N" Y:\!temp\aa\Test.mp4
1 image files updated
C:\>exiftool -G1 -a -s -ExifToolVersion -gps* Y:\!temp\aa\Test.mp4
[ExifTool] ExifToolVersion : 12.39
[ItemList] GPSCoordinates : 5 deg 0' 0.00" N, 5 deg 0' 0.00" E
[XMP-exif] GPSLongitude : 10 deg 0' 0.00" E
[Composite] GPSLatitude : 5 deg 0' 0.00" N
[Composite] GPSLongitude : 5 deg 0' 0.00" E
[Composite] GPSLongitudeRef : East
[Composite] GPSPosition : 5 deg 0' 0.00" N, 5 deg 0' 0.00" E