Skip to main content

No project description provided

Project description

telemetry-parser-py

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

Work in progress, the code is already working but I plan to add much more input and output formats.

Supported formats:

  • Sony (a1, a7c, a7r IV, a7 IV, a7s III, a9 II, FX3, FX6, FX9, RX0 II, RX100 VII, ZV1, ZV-E10)
  • GoPro (All models with gyro metadata, starting with HERO 5)
  • Insta360 (OneR, OneRS, SMO 4k, GO2)
  • Betaflight blackbox (CSV and binary)
  • Runcam CSV (Runcam 5 Orange, iFlight GOCam GR)
  • WitMotion (WT901SDCL binary and *.txt)
  • Mobile apps: Sensor Logger, G-Field Recorder, Gyro
  • TODO DJI flight logs (*.dat, *.txt)

Example usage:

import telemetry_parser

tp = telemetry_parser.Parser('sample.mp4')
print('Camera: ', tp.camera)
print('Model: ', tp.model)

# return all telemetry as an array of dicts
print('Telemetry', tp.telemetry()) 

# format the values with units etc
print('Telemetry formatted', tp.telemetry(human_readable = True)) 

# return only gyro and accel with timestamps, normalized to a single orientation and scaled to deg/s and m/s2
print('Normalized IMU', tp.normalized_imu()) 

Building

  1. Setup virtual env: python -m venv .env ; source .env/bin/activate
  2. Install maturin: pip install maturin
  3. Build python wheels: maturin build --release
  4. Resulting wheels will be in target/wheels/ directory
  5. Install using pip: pip install telemetry_parser_py-0.1.0-cp39-none-win_amd64.whl

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telemetry_parser-0.1.9.tar.gz (54.8 kB view hashes)

Uploaded Source

Built Distributions

telemetry_parser-0.1.9-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.2 MB view hashes)

Uploaded PyPy manylinux: glibc 2.5+ x86-64

telemetry_parser-0.1.9-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.whl (1.3 MB view hashes)

Uploaded PyPy manylinux: glibc 2.5+ i686

telemetry_parser-0.1.9-cp310-none-win_amd64.whl (765.9 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

telemetry_parser-0.1.9-cp310-none-win32.whl (736.4 kB view hashes)

Uploaded CPython 3.10 Windows x86

telemetry_parser-0.1.9-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.3 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARMv7l

telemetry_parser-0.1.9-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

telemetry_parser-0.1.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.5+ x86-64

telemetry_parser-0.1.9-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl (1.3 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.5+ i686

telemetry_parser-0.1.9-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (1.7 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

telemetry_parser-0.1.9-cp310-cp310-macosx_10_7_x86_64.whl (880.4 kB view hashes)

Uploaded CPython 3.10 macOS 10.7+ x86-64

telemetry_parser-0.1.9-cp39-none-win_amd64.whl (765.9 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

telemetry_parser-0.1.9-cp39-none-win32.whl (736.4 kB view hashes)

Uploaded CPython 3.9 Windows x86

telemetry_parser-0.1.9-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.3 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARMv7l

telemetry_parser-0.1.9-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

telemetry_parser-0.1.9-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.5+ x86-64

telemetry_parser-0.1.9-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl (1.3 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.5+ i686

telemetry_parser-0.1.9-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (1.7 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

telemetry_parser-0.1.9-cp39-cp39-macosx_10_7_x86_64.whl (880.3 kB view hashes)

Uploaded CPython 3.9 macOS 10.7+ x86-64

telemetry_parser-0.1.9-cp38-none-win_amd64.whl (765.9 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

telemetry_parser-0.1.9-cp38-none-win32.whl (736.4 kB view hashes)

Uploaded CPython 3.8 Windows x86

telemetry_parser-0.1.9-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.3 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARMv7l

telemetry_parser-0.1.9-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

telemetry_parser-0.1.9-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.5+ x86-64

telemetry_parser-0.1.9-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl (1.3 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.5+ i686

telemetry_parser-0.1.9-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (1.7 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

telemetry_parser-0.1.9-cp38-cp38-macosx_10_7_x86_64.whl (880.3 kB view hashes)

Uploaded CPython 3.8 macOS 10.7+ x86-64

telemetry_parser-0.1.9-cp37-none-win_amd64.whl (765.9 kB view hashes)

Uploaded CPython 3.7 Windows x86-64

telemetry_parser-0.1.9-cp37-none-win32.whl (736.4 kB view hashes)

Uploaded CPython 3.7 Windows x86

telemetry_parser-0.1.9-cp37-cp37m-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.3 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARMv7l

telemetry_parser-0.1.9-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

telemetry_parser-0.1.9-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.5+ x86-64

telemetry_parser-0.1.9-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl (1.3 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.5+ i686

telemetry_parser-0.1.9-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (1.7 MB view hashes)

Uploaded CPython 3.7m macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

telemetry_parser-0.1.9-cp37-cp37m-macosx_10_7_x86_64.whl (880.4 kB view hashes)

Uploaded CPython 3.7m macOS 10.7+ x86-64

telemetry_parser-0.1.9-cp36-cp36m-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.3 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ ARMv7l

telemetry_parser-0.1.9-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ ARM64

telemetry_parser-0.1.9-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.5+ x86-64

telemetry_parser-0.1.9-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl (1.3 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.5+ i686

telemetry_parser-0.1.9-cp36-cp36m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (1.7 MB view hashes)

Uploaded CPython 3.6m macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

telemetry_parser-0.1.9-cp36-cp36m-macosx_10_7_x86_64.whl (880.0 kB view hashes)

Uploaded CPython 3.6m macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page