Sharing this in case it’s helpful for others.
Use this command in macOS Terminal or Windows Command Prompt to create a .gpx file from a video that contains embedded GPS. I can confirm it works perfectly with GoPro Max .360 files.
Download the gpx.fmt file from here and put it in the folder that contains your videos (or alter the command below to reference it’s location). You can also choose another GPS format if you prefer.
Run the following command for file in /Users/username/folder/*; do exiftool -ee -p gpx.fmt "$file" > "${file%.*}".gpx; done. This will loop through the files in the folder you specify and derive GPS data for each, saving it to a .gpx file named after the source file.
Why use this? In my case my GoPro decided to reset itself to 2016 (a common issue), so all my videos have the wrong timestamps. Luckily GPS has the correct time by definition, so by extracting the GPS data I can get the correct times for each frame of the video and write them into the extracted image frames using mapillary_tools.
For this we of course owe thanks to the amazing Phil Harvey, creator of ExifTool. He has been continually improving ExifTool for years and supporting thousands in the ExifTool forums.
Hi!! Thanks for writing this out, we’re trying to get GPX tracks for a massive amount of .360 files from our GoPro Max 2 and this seems like the exact process we need. I am struggling to get the command you’ve written out here to work, I’ve done a bit of translation to get it compatible with Windows Command Prompt but, because I’m not a pro with the command line, I’m not sure it’s working. This is what I’m running:
C:\Users\username>FOR %G IN (“C:\Users\username\path-to-folder\*”) DO exiftool.exe -p gpx.fmt -ee3 %G > out.gpx
This has just been stalling for a while on the first file for a while, but it at least doesn’t throw me any errors. Some notes on process:
Using the %G variable because just “file” wasn’t recognized. I’m still trying to figure out how to get the filename formatted into the output file, so right now it’s just out.gpx
Switched to -ee3 because the current documentation suggests it, as well as this order for the parameters
Running the command with just “exiftool” instead of “exiftool.exe” gets me an error about not-a-recognized-command etc.
Hi @alehn_nthp - it looks like the original post was about doing this on macOS where as you are using windows. An AI agent (ChatGPT, Claude, Gemini) should be able to help troubleshoot for you pretty quickly. Alternatively can also try posting in the exiftool forum where the experts on this topic are (though it seems like its down at the moment, hopefully back up soon)
Update: the issue here was that I had incorrectly renamed the exiftool.exe file with an extra “.exe” Resolved by searching through the Internet Archive’s backup of the exiftool forum!