Write GPS tags to MOV file

Started by jmathai, June 20, 2016, 11:59:10 PM

Previous topic - Next topic

jmathai

Hello,

Thanks so much for exiftool. I'm trying to write GPS data to MOV files. This simple example indicates that the file was updated. Reading the latitude back shows that it didn't do what I was intending. Is there something simple I'm missing?

Source file: https://www.dropbox.com/s/spoffrv3jbeznnz/IMG_1279.MOV?dl=0

➜  Downloads exiftool -gpslatitude=29.0 /Users/jaisen/Downloads/IMG_1279.MOV
    1 image files updated
➜  Downloads exiftool -gpslatitude /Users/jaisen/Downloads/IMG_1279.MOV
GPS Latitude                    : 39 deg 15' 7.92" N


It's related to this other thread though I don't need iPhoto to honor this tag.
https://exiftool.org/forum/index.php/topic,5884.msg28931.html

Thanks,

Jaisen

StarGeek

You might want to check FAQ 3 when tags don't seem to have the correct values.

In this case, I believe that when you are writing gpslatitude, it is written to XMP:GPSLatitude.  But for a Mov file, the QuickTime:GPSCoordinates tag has priority.  Unfortunately, I don't believe that Exiftool can write QuickTime:GPSCoordinates.

You can still write the various tags, but you'll have to make sure that you ask for XMP:TagName (XMP:GPSAltitude, XMP:GPSLatitude, XMP:GPSLongitude) when you want to read them, otherwise you'll get the Composite tag which is going to be derived from QuickTime:GPSCoordinates.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

jmathai

@StarGeek, you're correct. Thanks...that gets me further along.

➜  Downloads exiftool -XMP:gpslatitude /Users/jaisen/Downloads/IMG_1279.MOV
GPS Latitude                    : 29 deg 0' 0.00" N