Extracting a .gpx file from a .mp4 gpmd (GoPro) stream

Started by himynamesdave, May 15, 2020, 03:48:21 PM

Previous topic - Next topic

himynamesdave

Hi all,

I've got an .mp4 video from a GoPro Fusion with GPS measurements recorded on a gpmd track.

exiftool -ee -G3 VIDEO_7152.mp4 > VIDEO_7152_track_metadata.txt

Validates that GPS is logged.

So now I want to extract the gpmd track as a properly formatted gpx file.

To try this I run...

exiftool -ee -p gpx.fmt VIDEO_7152.mp4

and get


gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt


Interestingly, the lines correspond to the count of [DocN]'s (0-16) returned using the first command.

Video file is here: https://drive.google.com/open?id=1XspMMI4Vd4eX4yLJ-FAwKOadhYzmjxH1

I feel I'm close to cracking this... or maybe not! Perhaps you can help point me in the right direction?

As a side note, I found this as an alternative (https://github.com/juanmcasillas/gopro2gpx), though it appears based on the docs, Exiftool could also produce the same sort of output, which would be perfect for me.

Thank you!

Phil Harvey

You're just missing the gpx.fmt file.  It must be in the current directory when you run your command.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

himynamesdave