Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

speed info missing when parsing video's telemetry data #214

Open
Dzhami-Jame-ALI opened this issue Sep 19, 2024 · 0 comments
Open

speed info missing when parsing video's telemetry data #214

Dzhami-Jame-ALI opened this issue Sep 19, 2024 · 0 comments

Comments

@Dzhami-Jame-ALI
Copy link

Dzhami-Jame-ALI commented Sep 19, 2024

Description:

Speed is missing in the widgets when using gopro-dashboard-overlay directly. However, all telemetry data is accurate in the GPX file exported from the video.

Data:

A video recorded by a GoPro 7 during highway driving.

Step 1:

Directly use python3 bin/gopro-dashboard.py --font ../RobotoMedium.ttf ../input.MP4 ../output.mp4 to make the video. For the output video, speed, altitude, slope value is missing (dash symbol) in more than 90% of the video time. However, the GPS info (long, lat) is shown correctly all the time, and the position in the map widget is smoothly moving.

Step 2:

Use gopro2gpx (https://github.com/juanmcasillas/gopro2gpx) to check gpx file export by the video. The gpx file shows no corruption or drifting. I tried to use bin/gopro-to-gpx.py to convert, got error File "/PATH/lib/python3.11/site-packages/gopro_overlay/gpmf/visitors/xyz.py", line 24, in __init__ raise IOError(f"Unhandled ORIN spec: {conversion}") OSError: Unhandled ORIN spec: XZy.

Step 3:

Use python3 bin/gopro-dashboard.py --font ../RobotoMedium.ttf ../input.MP4 ../output.mp4 --gpx ./inpput.gpx --use-gpx-only to make the video again. The gpx file is generated in step 2. --use-gpx-only is necessary here otherwise the output video is still missing speed in widgets. Now the output video looks good.

(Sorry, I’m new to gopro and gopro video format. I would be happy to test more cases if someone could point me to the relevant files where I should add debugging code.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant