Skip to content
Byteboat
CamTrace GPX · by Byteboat4 min readUpdated

Get the GPS track from a DJI Osmo Action video

With DJI’s Bluetooth GPS remote or the DJI Mimo app connected, the Osmo Action and Osmo 360 write your position inside the video file. Here is how to get it out as GPX.

Where is the position stored?

These cameras have no GPS chip. When a position source is connected while recording (DJI’s Bluetooth GPS remote, or a phone running DJI Mimo), the camera adds a metadata track called djmd to the video. For every frame it holds latitude, longitude, altitude and GPS time.

Only DJI’s apps read that track, and they do not export the track on its own. CamTrace reads it straight from the file.

Steps

  1. Copy the original file from the camera’s microSD card: the .MP4 (Osmo Action 4, 5 Pro, 6) or the .OSV (Osmo 360). Do not use a video exported by DJI Mimo, DJI Studio or an editor: those exports usually drop the metadata track.
  2. Open CamTrace and drop the file. You can drop several: clips from the same ride are put in order and merged into one track.
  3. Pick the rate. 1 point per second is enough for Strava or a map; 10 points per second help sync a video overlay (speed, mini-map).
  4. Export as GPX, CSV or GeoJSON.

Even an OSV file of tens of gigabytes takes a few seconds: CamTrace reads only the file index and the small metadata blocks, never the video. Nothing is uploaded.

What to do with the GPX

UseFormatHow
StravaGPXUse Strava’s file upload on the website. The GPX holds a time for each point, which Strava needs to create the activity.
See the route on a mapGPXgpx.studio, Google Earth Pro and most hiking apps open GPX files.
Spreadsheet, analysisCSVOne row per point: UTC time, latitude, longitude, altitude and video time.
Web maps, GISGeoJSONFor QGIS, Leaflet, Mapbox or a website.

About time

GPX times are in UTC, as the format requires. Strava and map apps convert them to your time zone. If the video has no GPS time, CamTrace uses the video creation time and says so in the stats.

No position in your video? See why an Osmo video has no GPS.

Guides

Other tools