Closed benfulton closed 1 year ago
Hi,
First, thank's to use gpx2video.
The command line
./gpx2video -v -m /mnt/d/GoPro/7thToDowntown.mp4 -o /mnt/d/GoPro/output.gpx -f 2 extract
extracts GPMD data in raw format (so binary)
To get a GPX formatted file:
./gpx2video -v -m /mnt/d/GoPro/7thToDowntown.mp4 -o /mnt/d/GoPro/output.gpx -f 3 extract
The next command should work as expected.
For your information:
*) Your video resolution is 2704x1520. You may to adapt the layout file.
*)
Time synchronization...
PACKET: 0 - PTS: 0 - TIMESTAMP: 0 ms - TIME: 2023-02-25 21:45:10 - GPS FIX: 3 - GPS TIME: 2023-02-25 16:45:34.100 - OFFSET: -17976
Video stream synchronized with success (offset: -17976 ms)
gpx2video detects a time offset. Indeed, your video has been created at :
creation_time : 2023-02-25T16:45:10.000000Z
But from GPS embedded in the camera, the "real" start time is 2023-02-25 16:45:34.100
Describe the bug I tried to create a video using a source created with a GoPro 11. First I attempted to extract the gpx file and then use that gpx in building a video with overlays. The first command I ran was:
./gpx2video -v -m /mnt/d/GoPro/7thToDowntown.mp4 -o /mnt/d/GoPro/output.gpx -f 2 extract
This seemed to be successful with this output:I then attempted to create a video with the command:
./gpx2video -v -m /mnt/d/GoPro/7thToDowntown.mp4 -g /mnt/d/GoPro/output.gpx -l ../samples/layout-1920x1080.xml -o /mnt/d/GoPro/output.mp4 video
A video was created, but it had no overlays at all - it appeared to be identical to the source video. I received the following output: