Ask a Question
GoPro Support Hub Ask a question. Share an answer. Find a solution. Stay stoked.
Announcements
Is your GoPro gear up to date? Check to see If it is on our Update page.
Cameras
%3CLINGO-SUB%20id%3D%22lingo-sub-334877%22%20slang%3D%22fr-FR%22%3EGopro%20fusion%20frames%20and%20GPS%20synchronization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-334877%22%20slang%3D%22fr-FR%22%3E%3CP%3EHi%20guys%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20currently%20working%20with%20the%20official%20github%20repo%20(%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fgopro%2Fgpmf-parser%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fgopro%2Fgpmf-parser%3C%2FA%3E)%20of%20gopro%20which%20allows%20to%20extract%20GPS%20data%20from%20the%20MP4%20Gopro%20video%20stream.%20I%20am%20using%20a%20gopro%20fusion.%3C%2FP%3E%3CP%3EI%20want%20to%20create%20an%20XML%20file%20(GPX%20like)%20which%20would%20be%20synonymous%20with%20a%20GPS%20location.%20I%20want%20the%20highest%20possible%20quality%20of%20synchronization.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20this%20repo%20I%20can%20get%20each%20GPS%20coordinates%20with%20the%20right%20timestamp.%20But%20as%20far%20as%20I%20know%20I%20can%20not%20get%20an%20absolute%20timestamp%20of%20the%20frames.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EI%20would%20like%20to%20know%20where%20the%20GPS%20location%20is%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EWith%20ffmpeg%20I%20get%20to%20know%20the%20creation%20of%20the%20video%20(which%20seems%20to%20have%202%20minutes%20of%20delays%20compared%20to%20the%20GPS%20timestamp).%20This%202%20minute%20delays%20let%20me%20think%20there%20is%20no%20real%20syncronization%20betwwen%20the%20clock%20camera%20and%20the%20GPS.%3C%2FP%3E%3CP%3EUnless%2C%20the%20go%20pro%20fusion%20wait%20for%20the%20next%20gps%20rental%20to%20start%20the%20recording%3F%20If%20the%20go%20pro%20wait%20for%20it%20we%20know%20that%20the%20first%20GPS%20location%20is%20the%20first%20frame%20of%20the%20video.%3C%2FP%3E%3CP%3EIs%20my%20understanding%20correct%2C%20otherwise%20can%20you%20enlighten%20me%3F%20%3B)%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBR%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGuillaume%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-334877%22%20slang%3D%22fr-FR%22%3E%3CLINGO-LABEL%3Efusion%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-337916%22%20slang%3D%22en-US%22%3ERe%3A%20Gopro%20fusion%20frames%20and%20GPS%20synchronization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-337916%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.gopro.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F100144%22%20target%3D%22_blank%22%3E%40guillaumeh63%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20can%20start%20the%20video%20recording%20at%20any%20time%20and%20the%20camera%20doesn't%20have%20the%20feature%20to%20only%20automatically%20start%20recording%20when%20GPS%20is%20available.%3CBR%20%2F%3E%3CBR%20%2F%3ETo%20record%20GPS%20data%2C%20your%20GoPro%20needs%20to%20lock%20onto%20a%20GPS%20satellite%20signal.%26nbsp%3BOnce%20GPS%20is%20enabled%2C%20you%20will%20see%20the%20GPS%20icon%20turns%20solid%20black%20on%20the%20camera%20display%2C%20confirming%20that%20GPS%20has%20been%20found%20and%20locked.%3CBR%20%2F%3E%3CBR%20%2F%3EKind%20Regards%2C%3CBR%20%2F%3E%3CBR%20%2F%3EAnn%3C%2FP%3E%3C%2FLINGO-BODY%3E
Reply
Sightseer
Posts: 1

Gopro fusion frames and GPS synchronization

Hi guys,

 

I am currently working with the official github repo (https://github.com/gopro/gpmf-parser) of gopro which allows to extract GPS data from the MP4 Gopro video stream. I am using a gopro fusion.

I want to create an XML file (GPX like) which would bind each frame with a GPS location (I know some frame will get the same GPS coordinate). I want the highest possible quality of synchronisation.

 

With this repo I can get each GPS coordinates with the right timestamp. But as far as I know I cannot get an absolute timestamp of the frames.

 

I would need to know how to know the delay between the first frame and the first GPS location?

With ffmpeg I get to know the creation time of the video (which seems to have 2 minutes of delays comparing to the GPS timestamp). This 2 minutes delays let me think there is no real syncronisation betwwen the camera clock and the GPS.

Unless, the go pro fusion wait for the next gps location to start the recording? If the go pro wait for it we know that the first GPS location correspond to the first frame of the video.

Is my understanding correct, otherwise can you enlighten me ? ;) 

 

BR,

 

Guillaume

GoPro
Posts: 2,814

Re: Gopro fusion frames and GPS synchronization

Hi @guillaumeh63,

You can start the video recording at any time and the camera doesn't have the feature to only automatically start recording when GPS is available.

To record GPS data, your GoPro needs to lock onto a GPS satellite signal. Once GPS is enabled, you will see the GPS icon turns solid black on the camera display, confirming that GPS has been found and locked.

Kind Regards,

Ann