概要
GoProのMP4ファイルと汎用GPX/FITファイルを処理し、動画ダッシュボードや地図を作成するプログラム群。
デザイン・メディア計測したスター増加
- 24時間
- +2
- 7日間
- +2
- 15日間
- +2
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルCreate video overlays from GoPro Videos or any GPX/FIT file
Discuss on GitHub Discussions
- Overlaying exciting graphics onto GoPro videos with super-exact synchronization
- Create videos from any GPX or FIT file - no GoPro required
- Support multiple resolutions, most GoPro models, normal, timelapse & timewarp modes
- Support GPUs to create movies at up to 17x realtime
- Convert GoPro movie metadata to GPX or CSV files
- Cut sections from GoPro movies (including metadata)
- Linux, Mac, Windows!
Introduction Video
Examples

An Example of 'overlay only' mode, which generates movies from GPX files

Example from examples/layout

Map Styles
Almost 30 different map styles are supported! - See map styles for more
Example
| . | . | . | . |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Requirements
- Python3.10 (development is done on Python3.11)
- ffmpeg (you'll need the ffmpeg program installed)
- libraqm (needed by Pillow)
Installation
For Windows, please see docs docs/windows.md
For Docker, please see docs at docs/docker.md
Install locally using pip, or use the provided Docker image
Optional: Some widgets require the cairo library - which must be installed separately.
Installing and running with pip
python -m venv venv
venv/bin/pip install gopro-overlay
The Roboto font needs to be installed on your system. You could install it with one of the following commands maybe.
pacman -S ttf-roboto
apt install truetype-roboto
apt install fonts-roboto
(Optional) Installing pycairo
Optionally, install pycairo
venv/bin/pip install pycairo==1.23.0
You might need to install some system libraries - This is what the pycairo docs suggest:
Ubuntu/Debian: sudo apt install libcairo2-dev pkg-config python3-dev
macOS/Homebrew: brew install cairo pkg-config
Example
For full instructions on all command lines see docs/bin
venv/bin/gopro-dashboard.py --gpx ~/Downloads/Morning_Ride.gpx --privacy 52.000,-0.40000,0.50 ~/gopro/GH020073.MP4 GH020073-dashboard.MP4
Caveats
The GPS track in Hero 9 seems to be very poor. If you supply a GPX file from a Garmin or whatever, the program will use this instead for the GPS. Hero 11 GPS is much improved.
Privacy allows you to set a privacy zone. Various widgets will not draw points within that zone.
The data recorded in the GoPro video will uses GPS time, which (broadly) is UTC. The renderer will use your local timezone to interpret this, and use the local timezone. This may produce strange results if you go on holiday somewhere, but then render the files when you get back home! On linux you can use the TZ variable to change the timezone that's used.
Writeups
There's a great writeup of how to use the software to make an overlay from a GPX file at https://blog.cubieserver.de/2022/creating-gpx-overlay-videos-on-linux/ (Nov 2022)
Format of the Dashboard Configuration file
Several dashboards are built-in to the software, but the dashboard layout is highly configurable, controlled by an XML file.
For more information on the (extensive) configurability of the layout please see docs/xml and lots of examples
FFMPEG Control & GPUs
FFMPEG has a lot of options! This program comes with some mostly sensible defaults, but to use GPUs and control the output much more carefully, including framerates and bitrates, you can use a JSON file containing a number of 'profiles' and select the profile you want when running the program.
For more details on how to select these, and an example of Nvidia GPU, please see the guide in docs/bin#ffmpeg-profiles
Please also see other docs PERFORMANCE.md and docs/bin/PERFORMANCE_GUIDE.md
Converting to GPX files
venv/bin/gopro-to-gpx.py <input-file> [output-file]
Joining a sequence of MP4 files together
Use the gopro-join.py command. Given a single file from the sequence, it will find and join together all the files. If you have any problems with this, please do raise an issue - I don't have that much test data.
The joined file almost certainly won't work in the GoPro tools! - But it should work with gopro-dashboard.py - I will
look into the additional technical stuff required to make it work in the GoPro tools.
This will require a lot of disk space!
venv/bin/gopro-join.py /media/sdcard/DCIM/100GOPRO/GH030170.MP4 /data/gopro/nice-ride.MP4
Cutting a section from a GoPro file
You can cut a section of the gopro file, with metadata.
Help Wanted
- Adding additional graphics widgets, ideally using cairo.
- Validation / Improvement of smoothing - e.g. Kalman Filters
- Suggestions for handling acceleration and orientation data, this is parsed, but display options are few.
Work In Progress
- Adding min/max/moving averages to metrics
Related Software
https://github.com/Romancha/GPStitch - A VERY nice web user interface for this program.
https://github.com/julesgraus/interactiveGoProDashboardTool - An interactive helper to build the command line for the dashboard program
Known Bugs / Issues
- Only tested on a GoPro Hero 9/11, that's all I have. Sample files for other devices are welcomed.
Icons
Icon files in icons are not covered by the MIT licence
Map Data
Data © OpenStreetMap contributors
Some Maps © Thunderforest
References
https://github.com/juanmcasillas/gopro2gpx
https://github.com/JuanIrache/gopro-telemetry
https://github.com/gopro/gpmf-parser
https://coderunner.io/how-to-compress-gopro-movies-and-keep-metadata/
Other Related Software
Latest Changes
If you find any issues with new releases, please discuss in GitHub Discussions
- 0.134.0 - [Fix] Don't crash when GRAV entries have wrong number of components (firmware bug workaround) - thanks @joepetjr for report & suggested fix
- [Fix] Fix typo in bbox calculation - thanks @djm300
- 0.133.0 - [Enhancement] Chart - Add
widthandmarker-size, better interpolation of datapoints at end of file, and use date from video file, with--video-time-start video-start- thanks to @derFunk for contributing - 0.132.0 - [Enhancement] Use user-supplied unit pref for chart - thanks to @DonkeyShine for noticing
- 0.131.0 [Enhancement] - Improved parsing of FIT files with gear changes thanks to @geomandolyn to raising issue & sample data.
- 0.130.0 [Enhancement] - New capability to update the journey map & moving journey map - path and location styling. Mulţumesc mult to @andrei-micuda
- [Hopefully no visible effect] Vendored / Copied in source code from geotiler as it's no longer compatible with new python versions & updated to be compatible.
- 0.129.0 [Enhancement] [Breaking] - Update python compatibility - Newly Compatible: 3.13, 3.14. No longer compatible 3.9, 3.10
- 0.128.0 [Enhancement] add layout default compatible ith DJI 2.5k resolution. Thanks to @DonkeyShine for suggestion.
- 0.127.0 [Enhancement] Now support respiration , front_gear_num and _rear_gear_num fields in FIT files. Improved support for using DJI videos as files to be overlaid.
- Thanks to @prebbz @DonkeyShine
- 0.126.0 [Enhancement] New Motorspeed widgets - "msi" & "msi2" - See examples docs/xml/examples/07-motor-speed-indicator/README.md - Thanks to @JimmyS83 for contributing.
- New metric
accelwhich is computed from speed deltas, rather than gopro accelerometer. Thanks also to @JimmyS83 - [Breaking] Ordering of fields in gopro-to-csv has changed, with addition of
accelfield
- New metric
- 0.125.0 [Fix] Improved error messages with invalid font sizes. Thanks @dyk74 for raising.
- 0.124.0 [Enhancement] Attempt to work around some GPS Issues, particularly https://github.com/time4tea/gopro-dashboard-overlay/issues/141 https://github.com/time4tea/gopro-dashboard-overlay/issues/22
- 0.123.0 [Enhancement] Use better (but every so slightly slower, shouldn't make a huge difference) rotation method for maps - will give much better quality.
- Add new gauge -
cairo-gauge-donutsee docs/xml - It looks like this:

- Add new gauge -
- 0.122.0 [Breaking] Previous change announced in v0.100.0 wasn't actually taking effect. Use --gpx-merge OVERWRITE to prefer values in gpx to gopro.
- 0.121.0 [Enhancement] Build in some simple ffmpeg profiles -
nvgpu,nnvgpu,mov,vp8, andvp9- see docs/bin#ffmpeg-profiles - 0.120.0 [Fix] Resolve some Python3.10 compatibility issues. Thanks, @KyleGW
- 0.119.0 [PyPI Changes Only] Update README in PyPI so links should work
- 0.118.0 [Enhancement] Local Map Tiles are now cached in memory, so hugely more performant (affects
--map-style localonly) - 0.117.0 [Enhancements] Tentative support for Python 3.12. Thanks to @JimmyS83 for the suggestion. Also some small bugfixes for waiting for ffmpeg, and also hopefully removing error message about shared memory using
--double-buffer - 0.116.0 [Docker Changes Only] Support GPU in docker image. See docs/docker.md Thanks to @danielgv93 for suggestion.
Older changes are in CHANGELOG.md
関連プロジェクトを探す
読み込み中…




