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
194 stars 49 forks source link

Extract 30 coords per second to correspond to the frame rate! #3

Closed jfflfreitas closed 3 years ago

jfflfreitas commented 4 years ago

Hi, amazing work so far! I have a question, you are generating 1 coord per second, Its possible to generate 30 coords for second to match the frame rate?

Simske commented 4 years ago

The data points are only recorded once every second as far I know. So either you every point gets repeated for one second (which defeats the purpose), or interpolated between the points (linear interpolation is fine in this context I think). I would do this in the visualization step, not in the data extraction, you just end up with unnecessarily large GPX files, while you could generate it on the fly when needed.

But it shouldn't be much work to integrate it into this

juanmcasillas commented 3 years ago

In the latest patch I fix this problem.