How to tell which DJI video files are one flight, from their names and lengths

By

A DJI drone splits a long flight into parts with different names. Add each part's length to the time in its name: if you get the next file's time, they're one flight. A worked example on a card with two split flights and two single clips.

On a DJI card full of files like DJI_20261018101730_0008_D.MP4, the parts of one flight don’t share anything in their names. Each part is named after the moment it started, and gets the next number.

That’s enough to group them by hand. Take a part’s start time from its name, add its length, and look at the next file. If the next file starts at that exact time, it’s the same flight.

What you need

  • The names, from the Finder.
  • The length of each video. QuickTime Player shows it at the right end of its controls when you open the video. For a long name, the time is the six digits after the date: 20261018101730 is 10:17:30.

I tried this on a stand-in card: a disk image formatted like a drone’s card, with made-up clips named the way a newer DJI drone names them, two flights split into parts and two short clips. The parts are cut at 2 minutes instead of the 4 GB a drone stops at, so the lengths are shorter than on a real card. The tutorial about why a drone splits a flight shows the whole card in the Finder.

Read the lengths

Open a video in QuickTime Player and move the pointer over it. The length is on the right of the timeline. Here’s DJI_20261018104405_0011_D.MP4:

QuickTime Player playing DJI_20261018104405_0011_D.MP4, a stand-in clip showing the clock 10:44:05 over a sea and sky, with the controls showing 00:00 on the left and 00:38 on the right

The name says it started at 10:44:05, and it lasts 38 seconds, so it ended at 10:44:43.

Do the sum for every file

Here are the 7 videos of the stand-in card, in the order the Finder sorts them by name:

FileStartsLengthEndsNext file startsSame flight as the next?
..._0007_D.MP410:15:302 min10:17:3010:17:30Yes
..._0008_D.MP410:17:302 min10:19:3010:19:30Yes
..._0009_D.MP410:19:3047 sec10:20:1710:42:05No, almost 22 minutes later
..._0010_D.MP410:42:052 min10:44:0510:44:05Yes
..._0011_D.MP410:44:0538 sec10:44:4311:00:12No, over 15 minutes later
..._0012_D.MP411:00:1235 sec11:00:4711:15:20No
..._0013_D.MP411:15:2052 sec11:16:12

So the card holds:

  • one flight in three parts, 0007 to 0009, 4 minutes 47 seconds;
  • one flight in two parts, 0010 and 0011, 2 minutes 38 seconds;
  • two single clips, 0012 and 0013.
Is the next DJI file the same flight?Take the start time from a file's name and add its length. If the next file's name starts at that time, with the next number and about the same settings, it's the next part of the same flight. Otherwise it's a new video.Yes, and its number isthe next oneNoStart time in thenameAdd the video'slengthDoes the next filestart at that time?Same flight, nextpartA new flight or aseparate clip

Two more things to check on a real card:

  • The size. Every part but the last stops at the same size. On my stand-in that’s 149.4 MB at 2 minutes. On a drone’s card it’s close to 4 GB.
  • The settings. The parts of a flight have the same picture size and video format. QuickTime Player’s Window > Show Movie Inspector shows both.

With older names like DJI_0001.MP4 there’s no time in the name, so only the order, the sizes and the lengths are left. The tutorial about DJI file names shows both kinds.

When the times are a second off

My stand-in parts start exactly where the previous one ends. On a real card, a part’s name only has whole seconds, so allow a second or two either way. A gap of minutes is a new flight. A gap of a second is the same one.

Let an app do the sums

Joiner for DJI is a Mac app I made that does this check for every file on the card and joins the parts of each flight into one video. It’s not made by, affiliated with or endorsed by DJI. It costs $20, paid once.

It reads the numbers, the video settings and the start time saved inside each file, and puts the parts that continue each other in one row. Then it waits for you, with the reason under the row:

Joiner for DJI showing DCIM on NO NAME: 2 recordings were split into several files. DJI_20261018101530_0007_D joined.MP4, 3 files, 357 MB, 4 min 47 sec, with the note These 3 files look like one recording: each one starts where the one before it ends. Tick the box if they belong together, and its parts with 149.4 MB 2 min, 149.4 MB 2 min and 58.2 MB 47 sec. Then DJI_20261018104205_0010_D joined.MP4, 2 files, 196.4 MB, 2 min 38 sec, with the note These 2 files look like one recording: the second starts where the first ends. Below, 2 other videos, oldest first

It found the same two flights and the same two single clips as the table, with the same lengths: 4 min 47 sec and 2 min 38 sec. A file it can’t read breaks the chain, so the parts on either side show up apart instead of being guessed together. Tick the rows you agree with and click Join.

Get Joiner for DJI

Put the parts your DJI drone split a flight into back together, into one video on your Mac, straight from the card, with the .SRT flight data merged to match. Nothing loses quality, and the small .LRF files can go with the originals.

See Joiner for DJI → · Read the docs · $20. See the app page for tax details.

More tutorials for my apps →

Want me to talk about your product? You can sponsor this site.