dji-log-parser

Luc Vauvillier and contributors

Open sourceUnmaintained

Latest release v0.5.7 (2025-04-26); latest commit 2025-06-07 ('Parse Inspire 1 battery serial numbers', a contributor's pull request merged by the maintainer). Checked 2026-10-30: no maintainer commit since 2025-06-07, no maintainer comment on the issue tracker since 2025-07-10, and 4 pull requests are open, the oldest from 2024-07-18, including an unmerged fix for a panic in AesDecoder for sub-block-size records (#44). Users were still opening issues in 2026.

dji-log-parser is a Rust library and command-line tool (dji-log) for parsing DJI flight-record .txt logs. The README says it supports all log versions and encryptions. It outputs normalised frames as JSON, and can export CSV, KML and GeoJSON tracks and extract embedded images. Logs of version 13 and later are AES-encrypted and, per the README, need a keychain fetched from the DJI API using a developer API key.

Facts

Websitegithub.com
VendorLuc Vauvillier and contributors
LicenceOpen source (MIT)
CategoryArtefact parsers
FunctionsParsing, Decoding
TargetsDrones
Runs onWindows, macOS, Linux
PricingFree
UsersOpen-source DFIR community, Research
Last activity2025-06-07 · Latest commit (Parse Inspire 1 battery serial numbers); latest release v0.5.7 on 2025-04-26 [github.com]
GitHub activitylvauvillier/dji-log-parser · 125 stars · last push 2025-06-07 · latest release v0.5.7 (2025-04-26) · checked 2026-11-10

Capabilities

  • Parses records and extracts embedded images from DJI .txt logs, and normalises records across log versions into a consistent frame format. [github.com]
  • Exports frames to CSV and generates flight tracks in GeoJSON and KML; the CLI also offers a --raw option to export raw records and options to extract images and thumbnails. [github.com]
  • The README states support for all log versions including encrypted logs (version 13 and later). For those, keychains are retrieved from the DJI API with an API key and can be stored alongside the original log for later offline use. [github.com]
  • Prebuilt dji-log binaries for Windows (x86_64), macOS (Intel, Apple Silicon and universal) and Linux (x86_64 and aarch64, glibc and musl) are attached to the v0.5.7 release. [github.com]

Limitations

  • Version 13 and later logs cannot be decrypted without a keychain that, per the README, 'must be obtained from DJI using their API'; this needs an API key from a DJI Developer Technologies account (create an app of type Open API, activate it by email, read the SDK key), so a first decryption requires a network request to DJI. [github.com]
  • The README describes parsing of .txt logs that have already been obtained; it describes no acquisition of logs from an aircraft, remote controller or mobile device. [github.com]
  • The issue tracker had open user-reported issues at the time of review, including one titled 'SmartBatteryStatic fields appear shifted by 1 byte on Mavic 3 Enterprise logs (v14)' and a feature request for Matrice 4TD log support. These were not independently verified. [github.com]

Related tools

Guides that discuss this tool

  • Drone forensics: flight logs and media · Where evidence sits on a small drone, how DJI and open-autopilot logs differ, what EXIF GPS shows, and what logged times and positions can and cannot prove.

Sources

  1. GitHub: lvauvillier/dji-log-parser (README, LICENSE) (github.com)
  2. GitHub: dji-log-parser v0.5.7 release (github.com)
  3. GitHub: dji-log-parser commit history (github.com)
  4. GitHub: dji-log-parser issues (github.com)
  5. GitHub: dji-log-parser open pull requests (github.com)
  6. GitHub: dji-log-parser pull request #28 (merged 2025-06-07) (github.com)

Reviewed . Spotted an error? See the corrections policy.