Extract GPS from video

Started by cguterman, February 19, 2025, 02:41:03 PM

Previous topic - Next topic

cguterman

Hi there!

In first thanks to Mr.Harvey. Exiftool worked pretty well for me. My customer became impressed.

But now I have a problem. Can I extract GPS info from a video mp4? I tried unsuccessfully

Thank you for answer.

Cesar, from Rio de Janeiro, Brazil

StarGeek

Try this command
exiftool -G1 -a -s "-GPS*" -ee file.mp4

If this lists a whole bunch of GPS Coordinates, then there's a GPS track embedded in the file. You can extract the data and create a track file, such as a GPX or KML file. See Inverse Geotagging.

Exiftool might also extract a single coordinate.

If exiftool doesn't extract a GPS track, then it might be possible that there is one. You would have to share a file to verify if it does.

But any editing of a file will destroy a GPS track. This includes files downloaded from social media or text, as they automatically re-encode any video.
"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