On my Tern GSD electric cargo bike I keep a dashcam hooked up to record road conditions, etc. I wanted a way to annotate those videos with maps and other data and was happy to find time4tea/gopro-dashboard-overlay.
Included in this repo is the layout.xml (docs) file I use for the 720p recordings from my Akaso Brave dashcam. I use OsmAnd Maps Travel & Navigate to record my GPS.
./bin/gopro-dashboard.py --font Futura --use-gpx-only --gpx ~/Downloads/2023-06-06_07-47_Tue.gpx /Volumes/NO\ NAME/DCIM/100HSCAM/NORM0007.MP4 test.mp4 --overlay-size 1280x720 --layout xml --layout-xml layout.xml