Tweaked track rendering geometry to look better as video overlay.
Signed-off-by: Martin Schöön <martin@BLHe.bredbandsbolaget.se>
|9 months ago|
|code||9 months ago|
|data||9 months ago|
|test||9 months ago|
|README.md||9 months ago|
This project contains Python scripts that transform GPS data (lat, lon) and speed into mp4 videos that can be used as overlays when editing videos from an action cam. These videos are png encoded.
Additional to the Python scripts there are two bash scripts. One scales and changes frame rate of the GPS-derived video. The second one overlays GPS-derived video on a background video.
The GPS data source is a SONY action cam and the code is tailored for the file format SONY use.
List of scripts (located in the code directory):
No GUI, all CLI:
GPS2Speedmp4.py infile outfile
GPS2Trackmp4.py infile outfile
scaleGPSvid.bash infile new_framerate new_width outfile
overlayGPSvids.bash basevid overelay1 overlay2 outvid
Currently the placement of overlay1 and overlay2 are hard-coded to upper left and lower left corner of base video. Frame rates must be the same in all three videos,
/Martin Schöön, Sept. 1, 2018