The full guide: what happened, what not to do, the three cases

Got “moov atom not found”? The video is probably not lost

This message pops up when a program tries to open an MP4 or MOV that is missing its “map”. It happens after the camera shut off mid-recording (DJI, GoPro, dashcams, phones), or when a transfer of the file stopped halfway. The first can be repaired. The second can't, so tell them apart first.

This message belongs to ffmpeg. You'll see it if you ran ffmpeg or ffprobe yourself, or in a program built on them: HandBrake, Shotcut, online converters, and VLC's log. The full line usually reads: [mov,mp4,m4a,3gp,3g2,mj2] moov atom not found. A regular player doesn't show it, it simply won't open the file, and that case has its own pages in the list below.

A Windows terminal running ffprobe on C2000.RSV: the lines moov atom not found and Invalid data found when processing input, in red
The message as ffprobe prints it for a recording that was cut off before the camera finished it.

In short

First: is the file complete?

The same message shows up in two opposite situations, so this is the first check.

What to do, step by step

  1. Copy everything to the computer. The broken file, and while you're at it a healthy clip from the same card. From now on work only on the copies. The card stays aside.
  2. Prepare a “sample clip”. A healthy recording from the same camera at exactly the settings the broken file was shot with: same resolution (4K, say), same frames per second (25, 50 or 100), same recording quality, and the same compression type (H.264 or HEVC; DJI and GoPro can switch between the two in their settings). Simplest: a clip you shot the same day, just before or after the broken one, without changing settings in between. The clip you copied from the card usually fits. If there isn't one, put a card in the camera, lens cap on, and record 30 seconds.
  3. Run a free program called untrunc. It takes the map from the healthy clip and builds a new one for the broken file. Download it here (Windows. A normal program with buttons, nothing to type). On the page that opens, download untrunc_x64.zip, unzip it, and run untrunc-gui.exe (not untrunc.exe, which is the version without the window). It handles DJI, GoPro and most other brands. Pick the sample clip, pick the broken file, and run. If the file that comes out won't open, run it once more, that happens. How you know it worked: a new MP4 appears, and it opens in a player.
  4. Check the whole file, not just the start. The length should match what you shot. Scrub to five or six points along the video, especially near the end. At each one stop, play a few seconds, and check the picture moves smoothly and the lips match the speech. If the picture jumps or the sound drifts: the sample clip doesn't match closely enough. Find a closer match and run again. Don't switch programs.

Why it happened

A video file has two parts: the footage itself, which the camera writes the whole time, and a small map called moov, which tells a player how long the file is and where each frame sits. The camera writes the map last, only when the recording ends cleanly. If it shut off before, there is footage with no map, and the player refuses to open it.

What won't help

Short answers

If you're stuck

If the file is big, if the second run also came out jittery, or you just don't have the head for this right now, send me a link to the file and to a healthy clip from the same camera. I first check whether the footage is actually in the file and tell you where you stand. That check is free. If there's something to recover and you want to go ahead, you get a price for the file. You pay, and then the work starts. And if I couldn't recover it, you get your money back, all of it or part of it, depending on the result.

Prefer email? avihaiteram@gmail.com

Who I am

Avihai Teram adjusting a camera on a tripod, a softbox behind him

Avihai Teram, videographer and video editor. I shoot on a Sony FX3 and work with camera files like these every day, so I know how a camera writes them and what breaks when it shuts off mid-recording, and I have brought files like these back from Sony and DJI cameras. Send me a file that won't open: the first check is always free, and if I couldn't recover it, you get your money back. You can also find me on Instagram: @avihai.teram.

More short guides on the same problem