#video #metadata #telemetry #black-box #csv #real-time #source

telemetry-parser

Library to parse real-time metadata embedded in video files or telemetry from other sources

2 releases

0.2.6 Sep 6, 2022
0.2.5 Sep 6, 2022

#2856 in Parser implementations

MIT/Apache

365KB
6.5K SLoC

telemetry-parser

A tool to parse real-time metadata embedded in video files or telemetry from other sources.

Supported formats:

  • GoPro (HERO 5 and later)
  • Sony (a1, a7c, a7r IV, a7 IV, a7s III, a9 II, FX3, FX6, FX9, RX0 II, RX100 VII, ZV1, ZV-E10)
  • Insta360 (OneR, OneRS, SMO 4k, Go, GO2, Caddx Peanut)
  • DJI Avata
  • Blackmagic RAW (*.braw)
  • RED RAW (*.r3d)
  • Betaflight blackbox (*.bfl, *.bbl, *.csv)
  • ArduPilot logs (*.bin, *.log)
  • Gyroflow .gcsv log
  • iOS apps: Sensor Logger, G-Field Recorder, Gyro
  • Android apps: Sensor Logger, Sensor Record
  • Runcam CSV (Runcam 5 Orange, iFlight GOCam GR, Runcam Thumb, Mobius Maxi 4K)
  • Hawkeye Firefly X Lite CSV
  • WitMotion (WT901SDCL binary and *.txt)
  • TODO DJI flight logs (*.dat, *.txt)

Example usage

Produce Betaflight blackbox CSV with gyroscope and accelerometer from the input file

gyro2bb file.mp4

Dump all metadata found in the source file.

gyro2bb --dump file.mp4

Python module

Python module is available on PyPI. Details in bin/python-module

Building

  1. Get latest stable Rust language from: https://rustup.rs/
  2. Clone the repo: git clone https://github.com/AdrianEddy/telemetry-parser.git
  3. Build the binary: cd bin/gyro2bb ; cargo build --release
  4. Resulting file will be in target/release/ directory

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~11–20MB
~282K SLoC