How to fix a corrupted MP4 or MOV video on a Mac
To fix a corrupted MP4 or MOV on a Mac, first check whether it is really damaged: if it opens in VLC or IINA, the file is fine and QuickTime just does not support its format. If nothing opens it, shows 0:00 or Terminal's ffprobe reports "moov atom not found", the recording's index was never written. You can rebuild it in Safari or Chrome with the FixMP4 repair tool (no upload, no install), or on the command line with untrunc.
Everything below works on macOS Sonoma, Sequoia and Tahoe on Apple silicon and Intel Macs. Work on a copy of the file and keep the original untouched.
1. Is the file corrupted, or is it QuickTime?
QuickTime Player is strict. It refuses MKV, AVI and WebM, some audio codecs (DTS, some PCM variants) and, on older macOS versions, VP9 and AV1. In all of those cases it shows "The file isn't compatible with QuickTime Player" even though the file is perfectly healthy.
Install VLC or IINA (both free) and open the file:
- It plays: the file is fine. Keep using VLC or convert a copy (see convert MOV to MP4). Details in QuickTime says the file isn't compatible.
- It plays with freezes or blocks: part of the data is damaged; see step 4.
- It does not open, or shows 0:00: the file is structurally broken. Continue with step 2.
2. Read what is inside (Finder and Terminal)
In Finder, select the file and press Cmd+I. A normal size with no duration or no dimensions under "More Info" points to a missing index.
For a precise answer, install FFmpeg with Homebrew and probe the file:
`` brew install ffmpeg ffprobe -hide_banner ~/Desktop/broken.mov ``
moov atom not found: the index is missing (the usual result of a dead battery, a crash, a full disk or a force-quit while recording).Invalid data found when processing input: the header is unreadable or the file is not an MP4/MOV at all.- A list of streams: the structure is readable; the damage is in the media data or timestamps.
If you prefer not to use Terminal, the MP4 file checker shows the same box structure in your browser.
3. Rebuild the missing index
In Safari or Chrome, without installing anything
- Open the FixMP4 repair tool in Safari, Chrome, Edge or Firefox.
- Drop the broken MP4 or MOV. It is read on your Mac and never uploaded.
- Add a reference: a few seconds recorded with the same iPhone, camera or app, at the same settings (resolution, frame rate, HDR on or off). For an iPhone video, record ten seconds now with the same camera mode. Voice Memos and other audio files usually need no reference.
- Press Repair and watch the preview cut from your own repaired file. If it plays, export the full file.
Long 4K files work best in Chrome or Edge on a Mac with free disk space about the size of the video.
With untrunc in Terminal
untrunc is the classic open-source tool for the same job. On a Mac you build it from source (it needs Xcode command line tools and FFmpeg libraries), then run:
`` ./untrunc reference.mov broken.mov ``
It writes a new file with _fixed in its name next to the original and leaves the broken file untouched. It needs the same kind of reference file as FixMP4. See untrunc online for when each approach fits.
4. Damaged data, not a missing index
If VLC or IINA plays the file but it freezes, shows grey or green blocks, or loses sound partway, the index is fine but some media data was damaged, for example by a failing external drive or an interrupted copy from an SD card. Try a lossless remux first:
`` ffmpeg -err_detect ignore_err -i broken.mp4 -c copy remuxed.mp4 ``
If that still stutters, re-encode the readable frames (slower, slightly lower quality):
`` ffmpeg -err_detect ignore_err -i broken.mp4 -c:v libx264 -crf 18 -c:a aac fixed.mp4 ``
More commands in FFmpeg repair MP4.
Common Mac cases
- iPhone video AirDropped or imported with Photos that will not play: usually an interrupted transfer; export the original again from the iPhone or iCloud before repairing. See fix a corrupted iPhone video and video corrupted after transfer.
- QuickTime or macOS screen recording that stopped when the Mac crashed or slept: the .mov has no index. See Mac screen recording corrupted and QuickTime audio recording corrupted.
- iMovie says the file could not be imported: see iMovie file could not be imported.
- Final Cut Pro will not import an MP4 or MOV: see Final Cut Pro won't import.
- Voice Memo stuck at 0:00 after syncing to the Mac: see fix a corrupted Voice Memo.
- GoPro, DJI or camera files copied from an SD card: see recover videos from an SD card.
What a Mac cannot recover
A file that shows Zero bytes in Finder has no video in it; only a recovery app that scans the original card or drive might find the frames, and only if nothing has been written there since. ProRes and ProRes RAW recordings are not supported by FixMP4 yet. In every other case, the free preview tells you whether your file can be repaired before you pay.
FixMP4 compared with other options
| Feature | FixMP4 | Desktop repair suites | untrunc (CLI) | VLC |
|---|---|---|---|---|
| Runs where | Browser, on your device | Desktop app | Command line | Desktop player |
| Keeps your file on your device | ✓ | ✓ | ✓ | ✓ |
| Nothing to install | ✓ | ✕ | ✕ | ✕ |
| Rebuilds a missing MP4/MOV index | ✓ | ✓ | ✓ | ✕ |
| Preview of your own repaired file before paying | ✓ | Trial (varies) | Free tool | n/a |
| Voice Memos / AAC without a reference | Usually | Varies | ✕ | ✕ |
| Formats beyond MP4/MOV/M4A | ✕ | ✓ | Many (FFmpeg) | Plays many |
Frequently asked questions
How do I fix a corrupted MP4 on my Mac for free?
Check it in VLC or IINA first; if it plays, it is only a QuickTime compatibility issue. If it does not, untrunc is free but must be built in Terminal. FixMP4 runs in Safari or Chrome and shows a free preview of your repaired file before you pay.
Why does QuickTime say my video is not compatible?
QuickTime does not support MKV, AVI, WebM and some codecs, and it also refuses MP4 or MOV files whose index is missing. VLC tells the two cases apart: it plays unsupported-but-healthy files.
Can I repair a MOV file from my iPhone on a Mac?
Yes. Drop the broken MOV into the FixMP4 repair tool in Safari or Chrome and add a few seconds recorded with the same iPhone camera mode as a reference.
Does FixMP4 upload my video from the Mac?
No. The file is read and repaired inside the browser on your Mac. Nothing is sent to a server.
Can a Mac recover a video that shows Zero bytes?
Not by repairing that file, because it contains no data. A recovery app scanning the original card or drive may find the frames if nothing has overwritten them.