Can VLC repair a corrupted video? What works and what does not
VLC can repair one specific kind of damage: a broken or missing index in AVI files, using its "Damaged or incomplete AVI file: Always fix" setting. It can also play many partially damaged files that other players refuse. VLC cannot repair an MP4 or MOV whose index (moov atom) is missing, which is the usual result of a recording cut off by a dead battery or crash: VLC will either refuse the file or play nothing. For that case you need an index rebuild, which you can try for free with the FixMP4 repair tool.
What VLC can do
| Situation | Can VLC help? | How |
|---|---|---|
| AVI with a broken or missing index | Yes | Preferences, Input/Codecs, "Damaged or incomplete AVI file": Always fix |
| Plays in VLC but not in Windows or QuickTime | Yes (playback) | Use VLC, or convert with VLC (Media, Convert/Save) |
| HEVC video on a PC without HEVC support | Yes (playback) | VLC includes its own decoders |
| MP4/MOV with a few damaged frames | Often plays through glitches | Play; convert to a new file if needed |
| MP4/MOV with no moov atom (cut-off recording) | No | Needs an index rebuild |
| 0-byte or all-zero file | No | No data to recover |
| MKV or TS cut off mid-recording | Usually plays up to the break | Remux to MP4 if needed |
How to use VLC's AVI repair
- Open VLC and go to Tools, Preferences (on a Mac: VLC, Settings).
- Click Input / Codecs.
- Find Damaged or incomplete AVI file and choose Always fix.
- Save, then open the AVI again. VLC rebuilds the index in memory each time it plays the file.
This fixes playback in VLC only; the file on disk is unchanged. To get a permanently fixed copy, use Media, Convert / Save, choose a profile (for example H.264 + MP3 (MP4)), and convert. Note that converting re-encodes the video, which takes time and costs some quality.
Why VLC cannot fix a missing moov atom
An MP4 or MOV stores the description of its content, codec settings, frame sizes, positions and timing, in the moov atom. Players, including VLC, read it first. A recorder writes it when recording stops, so a recording cut off by a dead battery, crash or full card has no moov atom at all. Without it, VLC does not know what codec the data uses or where frames begin, so there is nothing to play or convert. Renaming the file to .avi or .mkv does not help, because the data is not AVI or MKV. See fix "moov atom not found" for the full explanation.
The fix for MP4 and MOV: rebuild the index
- Record a short reference clip on the same device with the same settings (resolution, frame rate, codec, colour profile). For iPhone Voice Memos and other AAC audio you can usually skip this.
- Open the repair tool and add the broken file and the reference.
- FixMP4 scans the raw frames, takes codec parameters from the reference, and writes a new index. It shows a free preview of your repaired file.
- Export with a subscription. Then the repaired file plays in VLC and everywhere else.
Nothing is re-encoded, so unlike VLC's convert, quality is identical to the original. Nothing is uploaded either.
Other useful VLC tricks
- Codec information: Tools, Codec Information shows the codec, resolution and frame rate of a working file, exactly the settings a reference must match.
- Playing HEVC on Windows: VLC decodes HEVC without the Microsoft extension, which solves many "file not supported" problems; see "file is not supported".
- Extracting audio: Media, Convert/Save with an audio profile pulls the soundtrack out of a playable but glitchy video.
- Increasing file caching (Preferences, Show all, Input/Codecs, file caching) can help with files on slow network drives, not with corruption.
When VLC plays it but your editor does not
If VLC plays the file but Premiere, Final Cut or DaVinci Resolve refuses it, the file is probably fine but uses a variable frame rate, an unusual profile, or a codec the editor lacks. Transcode it to an editing-friendly format (with HandBrake or Shutter Encoder) rather than repairing it.
A quick decision guide
- The file is AVI and will not play or seek: turn on VLC's Always fix.
- The file plays in VLC but nowhere else: it is a codec support issue; keep using VLC or transcode a copy.
- The file is MP4, MOV or M4A, will not open in VLC, and the recording was cut off: rebuild the index with a reference.
- The file is 0 bytes: no player or repair tool can help; try data recovery on the original card.
- The file plays for a while and then stops in every player: the recording or copy ended there; check whether the original device still holds a longer version.
Following this order saves time, because the cheapest checks come first and only genuinely damaged MP4 files need a repair tool.
Common mistakes
- Enabling "Always fix" and expecting it to repair MP4 files; it only applies to AVI.
- Converting a glitchy MP4 in VLC and losing quality when the original would have played fine after an index rebuild.
- Deleting the original after a conversion that silently stopped early.
Related comparisons
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
Can VLC repair a corrupted MP4?
Not when the MP4 is missing its moov atom index, which is the usual result of a cut-off recording. VLC can play files with minor damage and can rebuild broken AVI indexes, but a missing MP4 index needs a rebuild tool.
How do I use VLC to fix an AVI file?
In Preferences, Input/Codecs, set "Damaged or incomplete AVI file" to Always fix, then reopen the file. To save a fixed copy, use Media, Convert/Save.
Why does VLC show 0:00 for my MP4?
The file has no index, so VLC cannot read its duration or find the frames. Rebuild the index with a reference clip from the same device.
Does converting in VLC lose quality?
Yes, Convert/Save re-encodes the video. An index rebuild with FixMP4 copies the original frames without re-encoding.