Video Won't Play? How to Fix Corrupted Video Files
Troubleshoot and fix video files that won't play, show black screen, or display errors. Works with MP4, MOV, and other common video formats.
Few things are more frustrating than trying to open a video file only to be met with an error message, a black screen, or a player that refuses to cooperate. Whether it is a family vacation clip, a critical work recording, or footage from your latest creative project, a video that won't play can feel like lost data.
The good news is that in most cases, the video file itself is not truly gone. The footage is still sitting on your drive, but something in the file's internal structure has gone wrong. Understanding what causes these failures and knowing how to fix them can save you hours of frustration and potentially recover footage you thought was lost forever.
If you want the low-level explanation first, our guide to how video repair works breaks down the MP4 structure behind these failures. If the broken file came from a specific device, jump to the iPhone repair guide or the GoPro repair guide for more targeted steps.
This guide walks you through the most common reasons videos stop playing, quick checks you can perform before attempting a repair, and a step-by-step process for fixing corrupted video files using VideoRepair.
Common Reasons Why Videos Won't Play
Video files are more complex than they appear on the surface. A single MP4 or MOV file contains multiple data streams (video, audio, subtitles) along with a metadata structure that tells the player how to read everything. When any part of this structure breaks down, the entire file can become unplayable.
Here are the most frequent causes:
File Corruption During Recording
This is by far the most common scenario. When a camera, phone, or screen recorder is interrupted mid-recording, the file often ends up without its critical metadata. In MP4 files, this metadata lives in a structure called the "moov atom," which is typically written at the very end of the recording. If the recording stops unexpectedly due to a battery dying, a power outage, an app crash, or the storage running out of space, the moov atom never gets written. The result is a file that contains all the actual video and audio data but lacks the index the player needs to read it.
Incomplete Downloads or Transfers
Downloading a video from the internet or transferring it between devices can introduce corruption if the process is interrupted. A dropped network connection, a USB cable being unplugged too early, or a cloud sync error can all leave you with a partial file. These files may have the correct file extension but are missing chunks of data, making them unplayable.
Storage Media Failures
Hard drives develop bad sectors over time. SD cards and USB drives can suffer from wear-leveling issues. Even SSDs are not immune to data degradation. When a video file happens to sit on a damaged portion of your storage, parts of the file become unreadable. The file might open but show visual artifacts, freeze partway through, or refuse to play entirely.
Codec and Container Mismatches
Sometimes the video file itself is perfectly fine, but your media player does not have the right codec to decode it. This is especially common with newer codecs like HEVC (H.265) or AV1, or with less common container formats. The player may show an error suggesting the file is corrupted when it simply cannot understand the encoding.
Software Bugs and Encoding Errors
Video editing software, screen recorders, and encoding tools can occasionally produce malformed files. A bug in the encoder might write incorrect header information, create misaligned data streams, or produce a file that technically violates the format specification. These files might play in some players but fail in others.
Quick Checks Before Repairing
Before diving into file repair, it is worth ruling out simpler explanations. A few minutes of troubleshooting can save you time.
Try a Different Media Player
Not all media players handle video formats equally. If your video won't play in one player, try another. VLC Media Player is an excellent first choice because it supports virtually every video and audio format and has built-in error resilience. If VLC can play the file (even partially), the issue is likely with your original player rather than the file itself.
Check the File Size
Compare the file size to what you would expect. A one-hour 1080p video recorded on a phone typically ranges from 2 to 6 GB depending on the bitrate. If your file is only a few kilobytes or significantly smaller than expected, it may be severely truncated and harder to recover. On the other hand, if the file size looks reasonable, there is a good chance the video data is intact and only the metadata needs repair.
Verify the File Extension
Occasionally, files get renamed with the wrong extension. A file named video.mp4 that is actually an MKV or AVI container will confuse most players. On macOS, you can check the true file type by right-clicking and selecting "Get Info." On Windows, ensure file extensions are visible in File Explorer settings.
💡 Tip
If your video file is 0 bytes, it means no data was ever written. Unfortunately, this cannot be repaired by any tool. However, if the file has a reasonable size (even a few megabytes), there is a strong chance the video data can be recovered.
Confirm Your System Has the Right Codecs
If you see an error about unsupported formats or missing codecs, the fix might be as simple as installing a codec pack. For Windows, the K-Lite Codec Pack covers most formats. On macOS, installing VLC or IINA usually resolves codec issues. If the video plays fine after installing codecs, the file was never corrupted in the first place.
How to Fix Corrupted Video Files
If the quick checks above did not solve the problem, the file likely has structural damage that needs repair. VideoRepair is designed specifically for this scenario. It analyzes the internal structure of your video file, identifies what is broken, and reconstructs the missing or damaged metadata so the file becomes playable again.
Here is how to fix your corrupted video file step by step:
Step 1: Open VideoRepair in Your Browser
Navigate to VideoRepair in any modern browser. There is nothing to install. The tool runs entirely in your browser using WebAssembly technology, which means your video files never leave your device. This is particularly important for sensitive or private recordings.
ℹ️ Info
VideoRepair processes everything locally on your machine. Your files are never uploaded to any server. This makes it safe to use even for confidential business recordings or personal videos.
Step 2: Upload Your Corrupted Video
Click the upload area or drag and drop your corrupted video file. VideoRepair supports MP4, MOV, M4V, M4A, and 3GP formats, which cover the vast majority of video files produced by phones, cameras, drones, and screen recorders.
The tool accepts files of any size. Because processing happens locally, you are not limited by upload bandwidth or server-side file size restrictions.
Step 3: Start the Repair Process
Once your file is loaded, click the repair button. VideoRepair will analyze the file in chunks, keeping memory usage low regardless of file size. You will see a progress indicator as the tool works through the file.
During this process, VideoRepair performs several operations:
- Scans the file structure to identify the container format and locate existing metadata
- Detects whether critical structures like the moov atom are present, damaged, or missing entirely
- If metadata exists but is damaged, it repairs chunk offsets and rebuilds the index
- If metadata is missing completely, it scans the raw video data frame by frame to reconstruct the entire metadata structure from scratch
Step 4: Download the Repaired File
When the repair is complete, you will see a summary of what was found and fixed. If the repair was successful, you can preview and download the repaired video file. The repaired file is also saved in your browser's local storage, so you can access it later from your repair history.
What If the Repair Does Not Work?
In some cases, the standard repair process may not fully recover the file, especially if the video uses unusual codec parameters or if the corruption is severe. This is where the reference file feature comes in.
Ready to repair your video?
Fix Your Video NowWhen to Use a Reference File
A reference file is a healthy, playable video that was recorded with the same device and settings as the corrupted file. VideoRepair can extract codec parameters, frame rates, resolution, and other technical details from the reference file and use them to reconstruct the damaged file's metadata more accurately.
You should consider using a reference file when:
- The corrupted file was recorded on a GoPro, drone, dashcam, or other dedicated recording device
- The standard repair produces a file that plays but has audio/video sync issues
- The repair process reports that it could not determine codec parameters automatically
- You have other recordings from the same session or the same device
How to Choose a Good Reference File
The ideal reference file should match the corrupted file as closely as possible:
- Same device: A video from the same camera, phone, or recorder
- Same settings: Matching resolution, frame rate, and quality settings
- Same format: If the corrupted file is MP4, the reference should also be MP4
The reference file does not need to be from the same recording session, but it should be from the same device with the same configuration. For example, if your GoPro was set to 4K at 60fps when the corrupted file was recorded, use another 4K 60fps clip from that same GoPro. If you are working with iPhone footage, the same principle applies — use a clip recorded with the same iPhone model and camera settings.
💡 Tip
It is a good practice to keep a short "test clip" from each of your recording devices. A 10-second clip is enough to serve as a reference file and can be invaluable if you ever need to repair a corrupted recording.
Using a Reference File in VideoRepair
After uploading your corrupted file, you will see an option to add a reference file. Upload the healthy video, and VideoRepair will extract the necessary codec parameters before performing the repair. This two-file approach significantly improves repair success rates for files where the metadata is completely missing.
Prevention Tips
While knowing how to fix a corrupted video file is valuable, preventing corruption in the first place is even better:
- Keep devices charged: Most recording corruption happens when batteries die mid-recording
- Use reliable storage: Invest in quality SD cards from reputable brands and replace them periodically
- Eject drives properly: Always use "Safely Remove Hardware" on Windows or "Eject" on macOS before unplugging external drives
- Avoid filling storage completely: Leave at least 10-15% free space on your recording media
- Back up promptly: Copy recordings to a second location as soon as possible after shooting
Ready to repair your video?
Fix Your Video NowRelated Guides
How Video Repair Works: Understanding File Structure
Learn how video repair tools fix corrupted files by understanding MP4 file structure, moov atoms, and the repair strategies used to recover damaged videos.
13 min read
How to Fix Corrupted iPhone Videos
Complete guide to repairing corrupted iPhone MOV and MP4 video files. Fix videos that won't play, have no sound, or show errors after transfer.
10 min read
How to Repair Corrupted GoPro Videos
Step-by-step guide to fix damaged GoPro MP4 files that won't play. Learn common causes of GoPro video corruption and how to repair them instantly in your browser.
10 min read