Forum

By participating in this community, you agree to our
Privacy Policy and Forum Rules.

Forum Navigation
You need to log in to create posts and topics.

Keep getting “moov atom not found” when trying to play videos

Hi! Has anyone here dealt with a corrupted MP4 video before? I don’t work with videos very often, it’s mostly photos for me. But I needed to convert a video file using FFmpeg today, and it keeps throwing these errors:

moov atom not found

Invalid data found when processing input

I did a bit of reading and most people say this usually means the file is corrupted or missing some metadata. Does anyone know how to fix moov atom not found, and is it even possible to recover a file like this? I’d appreciate any advice because I’m completely out of my depth here.

MOOV atom contains important metadata, things like timestamps and indexing information that tell apps how to read the video.

And when  ffmpeg says that moov atom not found, there are two possibilities:

  1. the MOOV atom is still there but corrupted or misplaced inside the file.
  2. the MOOV atom was never written in the first place. This often happens if recording was interrupted by a dead battery, a camera crash, an improper memory card removal, etc.

Which situation applies to you? 

Sometimes you can still repair the video if you have a healthy reference file recorded with the exact same device and settings. So before giving up, I’d check whether you have another short video from the same camera, resolution, and frame rate.

Quote from AlexR on June 27, 2026, 6:06 pm

Which situation applies to you? 

I’m not even sure which of those two cases applies to me. This video has had problems from the start. The recording itself was a bit messy, and then the transfer to my computer got interrupted at one point.

Do you have any recommendations for software that can fix a moov atom not found error in an MP4? I’ve already Googled a few tools, but most of them look pretty sketchy and I don’t really want to upload my file to some random website.

I’m also not sure I still have a healthy reference file because I already formatted the SD card. I’ll see if I can find another video from the same camera somewhere, though

Quote from wooshik11 on June 27, 2026, 9:52 pm

Do you have any recommendations for software that can fix a moov atom not found error in an MP4? I’ve already Googled a few tools, but most of them look pretty sketchy and I don’t really want to upload my file to some random website.

I used this service a while back and it managed to fix one of my corrupted videos - https://repair.cleverfiles.com/ 

It used to be completely free when I tried it, although I honestly don’t know if that’s still the case. Things may have changed since then. If you can find a healthy reference file from the same camera, it’s definitely worth a shot. The service tries to reconstruct the moov atom and rebuild the video headers, which is exactly what you need.

I actually know nothing about video repair. I was helping someone else in another thread about recovering deleted data and accidentally clicked into this one. Out of curiosity I looked up your error and found this Reddit post. There are a few suggestions there involving FFmpeg commands and options like separate_moof and movflags faststart.

To be honest, those terms don’t mean anything to me because I’ve never even opened FFmpeg myself, but maybe that thread will at least give you a direction to investigate while you’re waiting for someone more knowledgeable to reply.

Quote from bryan on June 28, 2026, 1:28 am

I actually know nothing about video repair. I was helping someone else in another thread about recovering deleted data and accidentally clicked into this one. Out of curiosity I looked up your error and found this Reddit post. There are a few suggestions there involving FFmpeg commands and options like separate_moof and movflags faststart.

To be honest, those terms don’t mean anything to me because I’ve never even opened FFmpeg myself, but maybe that thread will at least give you a direction to investigate while you’re waiting for someone more knowledgeable to reply.

By the way, speaking of deleted file recovery, I noticed you mentioned that you already formatted the SD card. If you haven’t recorded anything new to it since then, there’s still a decent chance that you can recover the video files, or at least find a healthy reference file for the repair.

I don’t want to derail the thread because it’s a slightly different topic, but there’s another discussion here that goes into much more detail and lists a few recovery programs people had success with.

You’ve already gotten a good explanation of what the MOOV atom is and why the error happens. At this point, the main thing is finding a tool that can actually fix the file.

Unfortunately, video repair is still a pretty niche area, and there aren’t that many trustworthy tools out there. A while ago we put together a list of some of the best video repair utilities, where goes over the capabilities and limitations of each tool.

Start there and see which option best matches your situation.

I went through something very similar a few months ago. My GoPro battery died while recording and I ended up with a bunch of broken videos and a missing MOOV atom.

I followed the steps from this guide and used Untrunc with a healthy reference file from the same camera. It actually worked, but only partially. I managed to repair a few of the corrupted videos and get them playing again.

Several others were beyond repair. In my case, some of the recordings were apparently incomplete because the camera shut down before everything had been written to the card. And if the file is actually incomplete, nothing can repair data that was never recorded.

It sounds like you hit the jackpot of bad luck here.

If this were only a case of file transfer corruption, the situation would actually be pretty good. In that scenario, you’d usually just copy the files again from the SD card. And since you’ve already formatted it, you could still try recovering the original videos first, like people suggested earlier.

The problem is that you also mentioned issues during recording. If the recording was terminated unexpectedly and then the transfer got interrupted afterward, it’s really hard to estimate your chances. You could be dealing with an incomplete file, or even a malformed file where some of the video data was never written in the first place.

Just try everything people have recommended here. Maybe one of those approaches will work for at least some of the videos.

We use FFmpeg quite a bit at work for automated checks and batch verification of media files. One of the things our scripts look for is moov atom not found in stderr because it’s usually a good indicator that the file’s metadata is missing or corrupted.

If the MOOV atom is present but simply located at the end of the file, try remuxing it first with ffmpeg -i input.mp4 -movflags faststart output.mp4. This doesn’t re-encode the video or audio streams. It simply rewrites the MP4 container and moves the MOOV atom to the beginning of the file. The FFmpeg documentation explains this option here⁠.

If FFmpeg still reports moov atom not found after running that command, the MOOV atom is probably missing rather than just being in the wrong place. At that point you’ll need a repair tool that can reconstruct the metadata from a healthy reference file or other available information.

P.S. FFmpeg is an incredibly capable toolkit, so if you have some time, it’s worth browsing the rest of the official documentation as well.

I don’t know how helpful this will be, but take a look at this video:https://youtu.be/3e__uTSeqpM 

It’s about repairing corrupted MP4 files in general, not specifically a missing MOOV atom. That said, some of the methods shown there actually helped me recover one of my own videos a while back.

Just reporting back with my results in case someone finds this thread later.

  • I originally wanted to try Untrunc because I liked the idea of fixing the videos locally instead of uploading them to an online service. Unfortunately, the installation process was so convoluted that I gave up before I even got it running.
  • So I decided to continue with Clever Online Video Repair because it looked the most trustworthy:
  • It actually managed to repair 2 out of my 3 videos. I did have to pay to download the repaired files, but the site let me preview the results first, so at least I knew they were recoverable before spending any money. The third video seems to have been damaged during recording, just like some of you suggested and nothing I tried worked on that one.

Anyway, thank you to everyone who joined the discussion and helped out. I really appreciate all the suggestions!