Home / Repair guides / Moov atom not found

How to fix “moov atom not found” in MP4 or MOV

The message means FFmpeg or your player can’t find the file’s index: the moov atom that says where every frame is and how long the video lasts.

FrameRescue repair guide · Updated November 16, 2026

Leggi questa guida in italiano · Auf Deutsch lesen · Lire en français · Leer en español · 日本語で読む · 閱讀繁體中文版 · 阅读简体中文版 · Baca dalam bahasa Indonesia

The short answer

Upload the damaged file

Read the exact error message

Open a copy of the file with ffprobe or in the program that refused it, then find the message below.

MessageWhat it meansWhat to do
moov atom not found (FFmpeg, ffprobe)The file has no index. Usually the recording was interrupted; sometimes the copy is incomplete.If the original is still on the camera, phone or card, copy it again. Otherwise the index has to be rebuilt.
Invalid data found when processing input (FFmpeg)FFmpeg’s generic text for one error code, AVERROR_INVALIDDATA. After “moov atom not found” it means the index is missing. On its own, the file may not be a video at all.Check the file size and where the file came from. If it came from recovery software, see recovered videos that won’t play.
Could not find codec parameters for stream 0 (FFmpeg)FFmpeg found a track but could not read enough of its frames to set up the decoder. Common when the file is cut short or the index points to data that isn’t there.Check that the file has its full size, then treat it as a damaged index.
stream 0, offset 0x…: partial file (FFmpeg)The index exists but points past the end of the file: the file is truncated.Copy it again from the source if you can; otherwise see repair a truncated MP4.
“The file isn’t compatible with QuickTime Player” (Mac)QuickTime can’t read the file: a missing index, a codec it doesn’t support or other damage.See QuickTime Player can’t open the file.
“File import failure” (Premiere Pro)Premiere can’t read the file’s structure or codec.See Premiere Pro “File Import Failure”.
Error 0xc00d36c4 or 0xc10100be (Windows)The Windows player can’t play the file: a missing codec or a damaged file.See error 0xc00d36c4 or error 0xc10100be.

Inside an MP4 or MOV: ftyp, mdat and moov

An MP4 or MOV file is a series of boxes (QuickTime calls them atoms). A recording from a camera or phone has three that matter:

BoxWhat it holds
ftypThe file type, in the first bytes. Some MOV files start with wide or mdat instead.
mdatThe recorded video frames and audio: almost the whole file.
moovThe index: the tracks, the codec settings, the timing and the position of every frame.

Inside moov, each track has a sample description (stsd, with the H.264 avcC or HEVC hvcC settings), timing (stts), frame sizes (stsz), frame positions (stco or co64) and the list of keyframes (stss).

Cameras and phones usually write moov last, when you press stop. That is why an interrupted recording has an mdat but no moov. Files prepared for the web often have moov at the start instead (“faststart”); both positions play normally.

Check your file in one minute

On a copy of the file, list its boxes with mp4dump from Bento4, or check whether its tracks can be read with MP4Box from GPAC or ffprobe from FFmpeg. All three are free.

mp4dump damaged-video.mp4
MP4Box -info damaged-video.mp4
ffprobe -v error -show_format -show_streams damaged-video.mp4

No tools? Upload the file: the check is free and tells you whether a repair is possible before you pay anything.

Why ffmpeg -c copy, faststart and renaming can’t fix it

ffmpeg -i broken.mp4 -c copy fixed.mp4 first has to read packets from the input. With no index, FFmpeg finds no streams or packets to copy. -movflags faststart moves an existing moov to the start of the file; it cannot create one that was never written. Renaming .mov to .mp4 only changes the name, and converters fail for the same reason as FFmpeg.

These commands do help when a file can still be read but reports the wrong duration.

How a missing moov is rebuilt

  1. Find the frames. The repair reads the mdat from start to end and finds where each video frame and audio packet begins and ends.
  2. Recover the codec settings. The settings the decoder needs (for H.264 and HEVC, the parameter sets) and the frame rate are normally stored in moov. They come from a validated profile of the same camera model or from a healthy clip recorded with the same settings.
  3. Rebuild the timing. Timestamps are rebuilt from the frame rate and the audio sample rate.
  4. Write and check a new file. A new moov is written around the frames, and the result is decoded from start to end before it is offered.

H.264 and HEVC (H.265) recordings are supported, as are ProRes MOV files. A repair can’t bring back frames that were never written, have been overwritten or are encrypted.

untrunc does the same job from the command line, with a healthy reference from the same camera: see untrunc without the command line.

How a healthy reference helps

A healthy clip helps but isn’t required. It doesn’t donate missing footage: it shows how the same camera writes its files, so the codec settings and timing can be taken from it. Without one, FrameRescue first tries validated profiles of the same camera model; if none matches, it may ask you for a clip and let you retry once without uploading the damaged file again.

A useful reference matches the damaged file: same device, same codec (H.264 or HEVC), resolution, frame rate and audio. A clip in another format, for example an H.264 clip for an HEVC recording, or a video re-encoded by a messaging or social app, won’t help.

Before you start

How to verify a repaired file

Opening the first frame is not enough. Check the beginning, middle and end of the recovered recording. Verify duration, seeking, picture continuity and audio synchronization. If the clip matters for editing, test it in the software where you intend to use it.

A container can be readable yet still contain gaps, damaged sections or timing problems, which is why validation must be treated as a separate step.

“Moov atom not found” FAQ

Can FFmpeg recreate a missing moov atom?

Not with a simple copy or faststart command when the required index does not exist. Structural reconstruction may be necessary before normal remuxing or decoding becomes possible.

What is an mdat without a moov?

It is the typical interrupted recording: the mdat box holds the recorded frames, but the moov box that describes them was never written. The frames can usually be found and a new moov built around them.

Is it bad if the moov atom is at the end of the file?

No. Most cameras and phones write it at the end, and players read it there without problems. Moving it to the start (faststart) only helps streaming on the web; it is not a repair.

Does a large file mean the video can be recovered?

No. A plausible size suggests that data exists, but it does not prove that all expected samples are present or that the surviving payload can be mapped correctly.

Do I need a healthy reference file?

Not to start. A healthy clip from the same device helps but isn’t required: FrameRescue first tries validated profiles of the same camera model, and asks for a clip only when none matches.

Can changing .mov to .mp4 fix the error?

No. Renaming the extension does not create missing track tables, timestamps or sample indexes.

What if the file was damaged during copying rather than recording?

Re-copy the original source first if it still exists. A transfer problem should be corrected at the source before attempting container reconstruction.

What does “Invalid data found when processing input” mean?

It is FFmpeg’s generic text for input it can’t read. When the line above it says “moov atom not found”, the MP4 or MOV has lost its index, usually because the recording was interrupted, and that can be repaired. Without a more specific message, FFmpeg may not have recognised the file at all.

Related repair guides

By symptom

By device

By origin

Start a repair

Upload the original damaged file. A healthy clip from the same device helps but isn’t required. FrameRescue checks the result before offering it: you get a short preview before you pay, and you pay €5.00 only if a repaired file is ready.

Upload a file with a missing moov atom