Author Topic: Extracting GPS Information from .MP4?  (Read 36648 times)

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 2569
Re: Extracting GPS Information from .MP4?
« Reply #60 on: March 24, 2019, 07:57:19 PM »
Just add the -ee (extractEmbedded) option to get all the data in readable format.  If you want to limit the output to just the GPS data, add -GPS*.

To get it in a useful geo track file, such as gpx or kml, download the appropriate format file from github and drop it in the same directory as exiftool.  You can then run
exiftool -p gpx.fmt FILE.mp4 > out.gpx
and exiftool with create a geotrack.  Replace gpx.fmt with kml.fmt if you want a kml type geotrack.

See Inverse Geotagging for more details.
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

leonard_zh

  • Newbie
  • *
  • Posts: 2
Re: Extracting GPS Information from .MP4?
« Reply #61 on: March 24, 2019, 09:48:05 PM »
That's awesome! Thank you a lot!