juanmcasillas / gopro2gpx

Parse the gpmd stream for GOPRO moov track (MP4) and extract the GPS info into a GPX (and kml) file.
GNU General Public License v3.0
181 stars 50 forks source link

❔ Does this tool take into account split videos? #26

Closed coldacid closed 1 year ago

coldacid commented 2 years ago

Since GoPro cameras tend to split large videos into multiple mp4 files, does gopro2gpx take this into account and stitch together the GPMF data from each particular file before generating GPX and KML files?

juanmcasillas commented 2 years ago

Sorry. Currently the program doesn't take into account multiple files. But it's a good improvement. I left the issue open for reference. Thanks!

GuilleVENT commented 1 year ago

Hi there,

Thought I would chim in with my similar problem:

I'm using the following command to concatenate several videos: ffmpeg -y -f concat -i concat.txt -c copy -map 0:v -map 0:a -map 0:3 -copy_unknown -tag:2 gpmd concatenated.MP4 And I was trying to get the GPX output file with this tool and run into the following issue:

1: bad pattern: GPX(tracks=[GPXTrack(name=gopro7-track, segments=[GPXTrackSegment(points=[...])])])

juanmcasillas commented 1 year ago

Hello. Currently, the code doesn't support multiple files (so it doesn't concat the payload). If you can provide me some example videos I will implement it.