jwagner/gopro-telemetry — reverse-engineered prompt

Reverse engineered prompt

Build me a small JavaScript tool that can read telemetry from GoPro cameras, Hero 5 and later, by parsing the GPMF data track after it has been extracted from the video. I want to pass in the raw binary telemetry plus the timing info, and get back a clean JavaScript object grouped by device and stream, with timestamps and sample values.

Please support the useful options a person would actually need, like filtering by device or stream, returning just the device list or stream list, keeping raw output when needed, repeating sticky values, choosing whether time comes out as elapsed time or full date, grouping samples by time or frames, smoothing, and basic GPS filtering by fix or precision. It should also be able to export to common formats like JSON and GPS focused formats such as GPX or KML when requested.

Include a simple example that shows extracting the telemetry first and then saving the parsed result. Add a promise based mode too. If you need details, look up the current GoPro GPMF docs online.

Want more depth? Deep Reverse