Skip to content

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

@Dzhami-Jame-ALI

Description

@Dzhami-Jame-ALI

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions