← All posts

May 15, 2025

DJI Action Camera GPS Overlay — Add Speed and Map to Your DJI Footage

DJI Osmo Action cameras record GPS data in every video. Here's how to extract it and add live speed, elevation, and map overlays to your DJI footage.

DJI Osmo Action 3, 4, and 5 Pro all record GPS coordinates and speed data alongside your footage. The data is there — you just need to get it out of the video file and into a form that overlay tools can use.

This guide covers two workflows: using the GPS data embedded in your DJI footage, and using a separate GPS device for more accurate telemetry.


What GPS Data DJI Records

DJI action cameras embed telemetry in two places depending on the model and firmware:

  • SRT subtitle files — a .srt file is generated alongside the video containing timestamp, GPS coordinates, altitude, and speed for each second of footage
  • Video metadata — newer firmware versions may embed data in the MP4 file directly

The SRT file approach is the most reliable and widely supported.


Option A: Extract GPS from DJI SRT Files

1. Locate the SRT File

When recording with GPS enabled, DJI creates a .srt file with the same filename as your video in the same folder. On your SD card or after copying to your computer, you'll see:

DJI_0001.MP4
DJI_0001.SRT

If the .srt file is missing, check that GPS and Subtitles are enabled in the DJI camera settings before recording.

2. Convert SRT to GPX

The SRT format is not directly accepted by most overlay tools. Convert it to GPX using one of these options:

DJI SRT Viewer (free, web-based): Upload the SRT file to djisrt.net or similar tools and export as GPX.

srt2gpx (free, command line):

python srt2gpx.py DJI_0001.SRT output.gpx

DJI Telemetry Extractor: The same tool used for GoPro GPMF also handles DJI SRT files and exports to GPX, CSV, or KML.

3. Load Into Stamptivity Overlay

Go to Stamptivity Overlay:

  1. Load your DJI video file (MP4)
  2. Drop the converted .gpx file
  3. DJI SRT files include precise timestamps that align closely with the video — offset adjustment is usually minimal
  4. Add speed, elevation, and map gauges
  5. Export

Option B: Use a Separate GPS Device (Recommended for Cycling)

DJI's built-in GPS is good for basic speed and position data, but for cycling or running overlays where heart rate and cadence matter, pairing with a dedicated GPS device gives you more data channels.

Mount your cycling computer (Garmin Edge, Wahoo ELEMNT, Hammerhead Karoo) or wear your GPS watch during the activity. Export the GPX or FIT file from there and use it as the telemetry source instead of the SRT data.

This approach lets you add:

  • Heart rate (from a chest strap or watch)
  • Cadence (from a cycling sensor)
  • Power (from a power meter)
  • More accurate position trace on the map

DJI Osmo Action 5 Pro — Improved GPS

The Osmo Action 5 Pro introduced improved GPS accuracy with multi-frequency support, bringing it closer to dedicated sports GPS devices for position accuracy. The SRT extraction workflow is the same.


Common Issues

No SRT file generated:

  • Check that GPS is enabled in camera settings
  • Subtitles/metadata recording must also be enabled
  • Some recording modes (time-lapse, slow motion) don't record GPS

GPS signal takes time to lock:

  • DJI cameras take 30–60 seconds to acquire GPS signal from cold start
  • Start recording after the GPS icon in the viewfinder shows a lock
  • The first 60 seconds of the SRT file may show 0,0 coordinates

SRT coordinates look wrong:

  • Verify the SRT file isn't from an indoor session
  • DJI cameras record 0.000000,0.000000 for coordinates when GPS lock fails

Tips

  • For cycling and running videos where precision matters, combine DJI footage with a Garmin or Wahoo file — the GPS trace will be cleaner on the map widget
  • DJI footage from drone flights with GPS works well for elevation and speed overlays — especially for descent tracking on ski or mountain bike runs
  • After creating your overlay video, use Stamptivity Stamp to create a matching stats image for your social media posts

Ready to stamp your activity?

Upload your GPX file and create a stunning activity stats overlay in seconds. Free, no account required.

Try Stamptivity →