TransWikia.com

Rendering GPX track data onto video?

Geographic Information Systems Asked by janosrusiczki on February 18, 2021

I have two geeky passions while driving: recording GPX data to upload to OSM as well as recording on board videos like this one. Since these kind of videos are sort of boring for others to watch I was wondering if maybe there’s an application out there to convert the track data into a video which I could then overlay over my original recording showing real time stuff like time of day, speed, elevation, etc. Basically a HUD. If there was a way to show part of the map I’m driving through that would be dreamy.

Do you know of such a piece of software?

4 Answers

ActionCam is a nice visualization tool. You can used this and a desktop video recording tool as a workaround.

I also came across MPGHead Video Data Merger but it only works with TrackVision CSV data. Oh, and there's TrackVision ;) And DashWare which gets lots of praise online and can do this.

There are also several online sharing services which will let you combine video and GPS data, such as:

Correct answer by Vlad on February 18, 2021

gpsbabel (open source) could be used to produce .srt subtitles for your video from .gpx (or any other supported) track file. Then you can play video with subtitles to get HUD.

Most basic example with default SRT string format:

$ gpsbabel -i gpx -f trip.gpx -o subrip -F video.srt

Synthesize speed if missing (--.- km/h) in the 'trip.gpx'.

$ gpsbabel -i gpx -f trip.gpx -x track,speed -o subrip -F video.srt

Answered by Sergey P. aka azure on February 18, 2021

I had a similar challenge. After my 9 month Melbourne to London trip I had terabytes of GPS tracks, dashcam, drone and other handheld video footage that I wanted to compile into entertaining video. After spending months of experimenting with different tools I have come to the conclusion:

  • all GPS data from drone and dashcam was converted to KML.
  • Google Mymaps, Google Earth and QGIS for static images of the KML tracks on maps and satellite view.
  • Google Earth Studio to produce short video clips, with the KML track as overlays.
  • The GPS tracks were imported (KML) as layers in QGIS. Exported from QGIS as SVG's, these SVG's were imported into Adobe Illustrator and from there imported in Adobe After Effects. In After Effects you can use the paths from the GPS tracks to fly along the track over a map or earth view.
  • Adobe After Effects to compile a visual representation of data like kms driven and fuel consumed with video footage (dashcam, drone, hand, footage from google Earth Studio, QGIS atlas frames, handrecorded footage,...).
  • If you need more than a minute or so of video, you'll probably need to compile shorter clips into a longer video using Adobe Premiere Pro.

Answered by Lucas A on February 18, 2021

I have made this web app if you want to try: https://www.geofoobar.com. It is a very simple GPS track overlay rendering tool. It will render video frames as numbered png files, which you can then use in your video editor to overlay your footage.

Answered by Petr on February 18, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP