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
Reply
Highlighted
Nomad
Posts: 912

Re: Hero5 Session Telemetry

And here's what I do to display the data and stabilise my videos. You need to use Processing. Warning, that does involve coding, but it's probably one of the softest and more pleasant introductions to code there are. You can find plenty of tutorials online: https://processing.org/

This is the sketch (small program) that I coded to use the metadata with: https://forum.processing.org/two/discussion/21924/working-with-gopro-hero5-sensors

 

Will post sample shots when I record/edit something cool

Any insight is welcome.

Highlighted
Nomad
Posts: 912

Re: Hero5 Session Telemetry

Highlighted
Backpacker
Posts: 362

Re: Hero5 Session Telemetry

Any news  from gopro on when they will have an easy to use solution to extract this data from our H5 session videos?

Highlighted
Nomad
Posts: 912

Re: Hero5 Session Telemetry

I've put together the tools necessary to extract data from the Gyroscope, Accelerometer, Temperature and GPS (H5 BLack only) on both cameras, on all resolutions and framerates, and on all firmware versions (I believe). I haven't tried on the H5 Black, as I don't have one, but it should work. This is for Windows only.

 

http://tailorandwayne.com/GPMD2CSV.zip

 

Just uncompress the package and drop your video files on GPMD2CSV.bat

 

We'll be discussing what to do with the data in this group: https://community.gopro.com/t5/Hero5-Metadata-Visualisation/gp-p/Hero5MetadataVisualisation

Highlighted
Anonymous
Posts: 0

Re: Hero5 Session Telemetry

Great little program! I'm new to programming and would like to add a milliseconds timestamp to the GPS data. Can you show me how? Thanks

Highlighted
Nomad
Posts: 912

Re: Hero5 Session Telemetry

Thanks @Anonymous!

 

Where would you want to add that? To the csv file? or are you using my workflow up to the Processing sketch?

 

I don't own a H5 Black, so I can't test anything GPS-related, but will try to help

Highlighted
Anonymous
Posts: 0

Re: Hero5 Session Telemetry

Yeah I'd like the first column in the csv file to be the time at which the coordinate was recorded. I can send you a video taken with my Hero5 Black if it helps!

Highlighted
Nomad
Posts: 912

Re: Hero5 Session Telemetry

Can you link to a very small file (with gps on) so that I can run some tests? Since you talked about programming, should I assume that you can modify the code and compile it if I point out which code should be modified?

What do you see in the TS column of the csv file?

 

So if you go to my code, I think this should work: https://github.com/JuanIrache/gopro-utils/blob/master/bin/gpmdinfo/gpmdinfo.go

Replace line 51 with

 

var gpsCsv = [][]string{{"Milliseconds","Latitude","Longitude","Altitude","Speed","Speed3D","TS"}}

 

Add this after line 113

 

milliseconds := float64(seconds*1000)+float64(((float64(1000)/float64(len(t.Gps)))*float64(i)))

Replace 114 (now 115) with this

gpsCsv = append(gpsCsv, []string{floattostr(milliseconds),floattostr(t.Gps[i].Latitude),floattostr(t.Gps[i].Longitude),floattostr(t.Gps[i].Altitude),floattostr(t.Gps[i].Speed),floattostr(t.Gps[i].Speed3D),int64tostr(t.Gps[i].TS)})

 

I haven't tested this.