Open downloader

How to Fix Corrupted MP4 Files

You waited through the whole download, tapped play — and got nothing. Or an error. Or three seconds of video and then silence. Before you mourn the file, know this: most "corrupted" MP4s are not mysteriously damaged; they are incomplete downloads wearing a finished filename. This guide shows you how to diagnose what actually happened in sixty seconds, repair what is repairable, and — in the common case — just grab a clean copy free with xi instead of fighting a broken one.

Fix it in 4 steps

  1. Check the file size. A real video is megabytes; a 0 KB file or a 2 KB file with an .mp4 name is an interrupted download or a saved error page. If the size is wildly smaller than expected, skip to step 4 — repair is pointless.
  2. Test it in VLC. Open the file in VLC on any device. If VLC plays it, the file is fine and your gallery app or default player is the problem — keep the file, change the player. If VLC chokes too, the file is genuinely damaged.
  3. Try the quick repair. For files that play but seek badly or cut off early, remux with ffmpeg using stream copy: it rebuilds the MP4 container without touching the video data, which fixes the classic broken-index corruption in seconds.
  4. Re-download a clean copy. For incomplete or error-page files, repair is a waste of time — the missing data simply is not there. Delete the broken file, re-parse the link in xi, and download fresh over a stable connection.
Get a clean MP4 — free
The 80 percent rule: four out of five corrupted downloads are just incomplete files. Checking the size takes five seconds and instantly tells you whether repair is worth attempting or re-downloading is the answer.

What corruption actually looks like

Corruption has a small set of faces, and each points to its cause. A file that will not open at all, at 0 KB or a few KB, is an interrupted download or a saved error page — there is no video data to repair. A file that opens but shows the wrong duration, or refuses to seek, has a damaged index: the video data is mostly there, but the map is torn. A file that plays then freezes or pixellates partway has damaged or missing chunks in the middle.

The index case is the hopeful one. An MP4's index (the moov atom) is a table of contents written when the file is finalized; if the download died before it arrived, players cannot navigate the file even though the video bytes are intact. Rebuilding that table — remuxing — resurrects these files reliably, because the heavy lifting (the actual video) was already done.

The incomplete case is the hopeless one, and recognizing it saves hours. No repair tool can conjure video data that never arrived. If half the file is missing, the honest fix is a fresh download, not a miracle utility — and every "MP4 repair" app that promises otherwise is selling hope, not bytes.

The repair toolkit, honestly ranked

First place: re-downloading. It is not glamorous, but a clean copy over stable Wi-Fi beats every repair tool ever made — perfect quality, zero artifacts, five minutes. Always attempt this before anything exotic, unless the original link is gone for good.

Second place: ffmpeg remux with stream copy. One command, no re-encoding, and it fixes the single most common real corruption — the broken index. It runs on every desktop OS, it is free, and it either works in seconds or tells you immediately that the file is beyond this kind of help.

Third place: VLC's convert feature. Opening a damaged MP4 in VLC and using Convert/Save to rewrite it as a new MP4 rebuilds the container similarly to ffmpeg, with a graphical interface for those who fear the command line. It is slower than ffmpeg but friendlier.

Last place: paid "video repair" software. These tools do, at best, what ffmpeg does for free — and at worst, they re-encode your damaged file into a larger, softer file that still glitches. If a free remux cannot fix it, a $50 utility almost certainly cannot either.

Preventing it next time

Corruption is overwhelmingly a download-hygiene problem, and hygiene is easy. Download over Wi-Fi rather than a flaky mobile connection for anything over a few dozen megabytes. Do not let the phone sleep mid-download — keep the browser in the foreground until the file completes. Do not close the tab the moment the progress bar looks done; wait for the browser's own download-complete confirmation.

Watch the file size as it downloads. If your browser shows the expected total, a file that "completes" at a fraction of that size is lying to you — it is incomplete, and playing it will only confirm the disappointment. Delete and retry on a better connection rather than troubleshooting a file that was never whole.

Finally, keep xi's re-parse in your back pocket. Download links expire; a URL that worked an hour ago can serve an error page now, and that error page saved as .mp4 is tomorrow's "corrupted file" mystery. Re-parsing the original video link generates a fresh URL, and fresh URLs download cleanly.

Frequently asked questions

Why is my downloaded MP4 corrupted?

Almost always an interrupted download. If the connection dropped, the browser was closed, or the phone slept mid-download, the file is incomplete and players reject it. A distant second cause is saving an error page as .mp4, which produces a tiny file that is actually HTML.

How can I tell if an MP4 is truly corrupted?

Check the file size first. A 0 KB file, or one far smaller than expected, was never a video. Open it in VLC: if VLC cannot play it either, the file is genuinely damaged. If VLC plays it but your gallery app does not, the file is fine and the app is the problem.

Can VLC repair a corrupted MP4?

Partially. VLC can rebuild the index of MP4 files with damaged headers via its convert and save feature, which often rescues files that play with seeking broken or that stop partway. It cannot restore video data that was never downloaded.

My MP4 plays but the timeline is broken. Can that be fixed?

Yes, that is the classic damaged-index symptom and the most repairable kind. Remux the file with ffmpeg using stream copy, which rebuilds the container without re-encoding: the video and audio data are untouched, and seeking usually starts working again.

The file is only a few KB and will not play. What happened?

You downloaded an error page, not a video. When a download link expires or fails, some setups save the resulting error HTML under the video's filename. Delete it and re-parse the link in xi to get a fresh, valid download URL.

Is re-downloading with xi free?

Yes, completely free with no limits. Re-downloading a clean copy is almost always faster and more reliable than attempting to repair a badly broken file.

Related guides