Ask a Question
GoPro Support Hub Find a solution. Share a solution. Ask a question. Stay stoked.
Is your GoPro gear up to date? Check to see If it is on our Update page.
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.
Posts: 112
Extracting the metadata in a useful format
[ Edited ]

While the Quick software can display some of the data in the "gauges" format, Hero5's video files have much more to it, many more sensors and detailed data:

~400 Hz 3-axis gyro readings
~200 Hz 3-axis accelerometer readings
~18 Hz GPS position (lat/lon/alt/spd)
1 Hz GPS timestamps
1 Hz GPS accuracy (cm) and fix (2d/3d)
1 Hz temperature of camera


Gauges are also limited to H5 Black files recorded with the GPS on, but the fact is that the sensors record data even when the GPS is off, even in the H5 Session.



EDIT: The rest of this post discusses how to manually retrieve the data and can bus useful for customising and improving the results, but here's a package that lets Windows users extract the sensor data to spreadsheet format (csv) by just dropping the video files on the GPMD2CSV.bat file: It should work well with both H5 cameras on all resolutions and framerates. Otherwise, let me know.

EDIT 2: You can contribute to this tool here:


EDIT 3: Since many people want to use the data with other software, the GPMD2CSV tool now exports to GPX, KML and JSON formats too. This was possible thanks to: I have not tested it with many cameras, so let me know if anything needs to be fixed.


In these two threads we discussed means of extracting the data:

Suggestions like using RaceRender ( ) o Dashware ( ) came up. But most solutions provided incomplete or inaccurate data, some times nothing at all.

This is the most complete solution I have found so far:

Here's a detailed tutorial on how to extract metadata from the Hero5 Session (and the H5 Black with a small tweak). Most video modes of the session record gyroscope, accelerometer and temperature data. These can be useful for visualising info or tweaking the image, for example to stabilise in post-production. Theoretically, the latest firmware update added ISO and shutter-speed metadata. BUT...


- Note1: For me, firmware v2.00 broke all the metadata, and other functions such as manual shutter speed for video, iso modes, external mic... I had to revert back to v1.50. Edit: I still can't read metadata from v2.00, So if you are interested in this, don't update your camera just yet. Firmware v2.00 and beyond can be extracted with the latest versions of the tools.
- Note2: I learnt all these steps through my own experimentation. They are for advanced users and there might be more professional ways of doing this. This workflow is slow and won't suit most users' needs.
- Note3: This guide is for Windows but I think all the steps can be done in other OSs.
- Note4: I take the time to explain this because I want more people to start playing with these data and come up with new ways of extracting it and displaying it. Please share your ideas too.

- Edit: These instructions are now pretty outdated. Most of the work can be done by building the gpmd2csv file in my repo: But some of the instructions still apply if you want to learn to copy the GitHub repo, its dependencies, build the executable and so on.


Most of the work necessary to extract the data has been done by stilldavid.


1: Download ffmpeg and uncompress it somewhere in your hard drive:
2: Download and install Go Programming Language: (don't worry, you don't need to know coding to get the data out). Make sure to download a Windows build if you are on Windows
3: Create a folder in %USERPROFILE%\go\src\\stilldavid\ (replace %USERPROFILE% with you user profile folder, usually something like c:\Users\yourName\) You can get more help on this here:
4: Download the gopro-utils from by clicking on the green "Clone or download" button. Download as zip. (stilldavid's version of the tools tend to be outdated. I try to keep them working here ) Edit: , you can just "git clone" the repo.
5: Unzip what you just downloaded, open the new folder and copy its content (it's also a folder named "gopro-utils-master") in the \stilldavid\ folder that you just created.
6: Remove the "-master" part from the folder name, so that it becomes "gopro-utils"
7: Like before, create a folder called %USERPROFILE%\go\src\\paulmach\ and repeat steps 4, 5 and 6 with these projects that gopro-utils needs to work: and


- Note5: If you just want to extract GPS data the way stilldavid conceived it, you're almost set up. I modified one of the files so that the Gyro, Accel and Temp information can be extracted in spreadsheet format.


8: Go to your folder \go\src\\stilldavid\gopro-utils\bin\gpmdinfo\ and replace the file gpmdinfo.go with my modified version of it: (you can do it by "saving as" from your browser or by editing the gpmdinfo.go in notepad and pasting the modified content).


Edit: Instead, you can just build the file from my repo:


- Note6: If you own a H5 Black (I don't), you can modify my file so that it also saves GPS data by uncommenting the GPS parts, that is, removing all the /* and */ lines and then saving the file. More data can be retrieved if you look into the gopro-utils code.


9: Still in the \gpmdinfo\ folder, unselect any file and do SHIFT+RIGHT MOUSE CLICK and select "Open command window here"
10: In the command prompt, write "go build", withouth the quotes and press ENTER. This should create a gpmdinfo.exe file. If you did it all right, you won't need to repeat the previous steps.


-- Repeat from here for additional video files


11: Copy your gopro video file and open the \ffmpeg\ folder that you created in step 1. There, open the folder called \bin\ and paste your video file
12: Open a command prompt like in step 9 and type: "ffmpeg -y -i filename.MP4 -codec copy -map 0:3 -f rawvideo filename.bin" without quotes, where filename must be replaced with the name of your file. This will produce a .bin file. Edit: If framerate is higher than 60fps, replace 0:3 with 0:2
13: Cut both the .bin and your .mp4 video files and go back to the \gpmdinfo\ folder of step 8. Paste them.
14: Open a command prompt and type: "gpmdinfo -i filename.bin". This will create 3 files accl.csv, gyro.csv and temp.csv. These are the data you were after. Open them with Excel or any similar software or create whatever you want with them. Copy them somewhere safe with the original video file, as the next file you process will overwrite them.


One simple thing you can do with all this is see the G-forces that the camera or yourself experienced during the shot.
I have also been playing with the data and it is really useful for stabilising the image, for example, without having to enable that setting in the camera and, therefore, without losing quality or field of view. Data is being recorded even in 4K, which means we can stabilise 4k footage! Will share my work on another post in this group. Unfortunately, it seems like nothing is recorded on framerates above 60fps. But I don't see why that wouldn't come in a future firmware update, if people start using these features. Edit: We can also stabilise high framerate footage.

Posts: 9,399
Re: Extracting the metadata in a useful format
I can't wait until I get some time to try this. Unfortunately it won't be for a couple weeks as I'm going on vacation next week and loading up on overtime this week.

Thank you for taking the time to put this together. This group will grow, just need to keep posting the link. Maybe make a YouTube video and mention the group and include the link. I'd love to see some input from people like minded.
Posts: 5
Re: Extracting the metadata in a useful format

Using Dashboard, in My documents I obtained a CSV file with all metadata registred by the camera (saved in My documents-dashboard projetcs), ¿it is possible to modify this base data in a more standard way to convert to a kml file with tools such as ?


When I try, the onverted kml file is meaninglees, I guess the original CSV file has to be "trimmed" prior convert, but I wonder how

Posts: 5
Re: Extracting the metadata in a useful format


Using as you suggested and converting the file GOPROxxx-gps.csv with I was able to put my Gopro gps data into Google Earth, Thanks a lot!



Posts: 112
Re: Extracting the metadata in a useful format
Cool! Really happy it worked with the GPS info, which I had not tried (as my Session does not have a GPS antenna).

Is that data that you put into Google earth public? Would be cool to see it and share it so that more people use these tools
Posts: 5
Re: Extracting the metadata in a useful format

It´s very easy to create the kml file (a simple XML based in the gps file extracted with the superb software from stilldavid)then convert into kml, the kml file can be opened from any machine with Google Earth installed.


I dont think that upload to public in google Earth layer because trere are too many markers (more tan 6.000 for a 5 min video), much better to offer the kml file to donnload, in the future I may try to take off some thousands of markers, I guess there are 60 per second of video, wit one marker every 30 seconds woul be fine, it seems easy to do with python on the csv file.


There are many interesting aplications, I live in the border of Chile-Perú and Bolivia, and there are feequent incidents with police or military crossing the line, just now there are one very serious incident with bolivian military who crossed the border, geo referenced video over Google earth would be fine to prove the exact location of people involved, same for police operations and such kind of things

Posts: 112
Re: Extracting the metadata in a useful format
Really interesting. Thanks for sharing
Posts: 2
Re: Extracting the metadata in a useful format

Thanks for sorting out a lot of things, I've been following this topic for a few months already and although working it is a bit time consuming to get it right. 


You may want to take a look at the latest version of dashware

Quote from the release notes:


  • Added GoPro HERO5 Black GPS support. Data is now automatically extracted from the .MP4 file and auto-synced with the video. 

Please note that dashware is actually owned by GoPro 


I can tell you it works great and so much easier!