How to fix a corrupted Android video
When an Android phone dies, freezes or runs out of storage while recording, the video usually keeps all its frames but loses the MP4 index that players need. First look for the clip in the DCIM/Camera folder, including hidden files that start with ".pending-", copy it to a computer, then rebuild the index using a short reference video recorded on the same phone with the same camera settings. The FixMP4 repair tool does this in your browser with a free preview and no upload.
Why Android videos break
Android camera apps (Samsung Camera, Google Camera on Pixel, OnePlus, Xiaomi and others) record MP4 files with H.264 or H.265 (HEVC) video and AAC audio. Frames are written while you record, and the moov atom index is written when you press stop. Anything that ends recording abruptly leaves a file without that index:
- Battery dies or the phone shuts down from heat.
- The camera app crashes or the phone restarts.
- Internal storage or the SD card is full.
- An SD card is removed or fails.
Finding the file: the ".pending" trap
Since Android 10, apps create new media files in a "pending" state while writing them. If recording never finishes, the file can stay hidden with a name like .pending-1728480000-VID_20261009_101500.mp4, and it does not appear in the Gallery. To find it:
- Connect the phone to a computer over USB (File transfer mode) and open DCIM/Camera, or use a file manager app with "show hidden files" enabled.
- Look for large files starting with ".pending-" or "VID_" with no thumbnail.
- Copy them to your computer before the system cleans them up (pending files can be deleted automatically after some days).
Triage table
| Symptom | Likely cause | Fix |
|---|---|---|
| Gallery shows nothing, file manager shows a large .pending file | Recording never finished | Copy and repair |
| "Unsupported file" / "Can't play video" in Gallery | Missing index, or codec not supported by an older device | Try VLC; if it fails, repair |
| Plays on phone, not on Windows | HEVC codec missing on PC | VLC or HEVC extension |
| 0 KB file | Nothing written | Not repairable; try data recovery on SD cards |
| Video from WhatsApp/Telegram broken | Incomplete download | Download again |
Record the reference
Use the same phone and camera app with exactly the same settings:
| Setting | Notes |
|---|---|
| Resolution and fps (e.g. UHD 60) | Required |
| HEVC / "High efficiency video" toggle (Samsung) | Required |
| HDR10+ video (Samsung) | Required if used |
| Lens (ultra wide, wide, tele) | Recommended |
| Video stabilisation / Super steady | Recommended |
| Pro video mode settings | Match if used |
Ten seconds is enough. See how to choose a reference file.
Rebuild the index
- Open the repair tool on a computer.
- Add the broken file (rename a .pending file to .mp4 if your system hides dot files; the content does not change).
- Add the reference, then press Repair and check the free preview.
- Export with a subscription.
What is supported
| Android recording | Result |
|---|---|
| H.264 or HEVC MP4 from built-in camera apps | Recovered |
| HDR10+ HEVC (Samsung) | Recovered as HEVC; dynamic metadata may be dropped |
| 8K recordings | Recovered if H.264/HEVC; large files take longer to scan |
| Slow motion / hyperlapse | Recovered as saved by the camera |
| Screen recordings | Usually recovered |
| Recordings with Opus audio (some third-party apps) | Video only; Opus is not supported |
| AV1 recordings | Not supported |
SD cards on Android
If the clip was on a microSD card and the phone now says the card is damaged, do not format it. Remove it, copy what you can on a computer, and use a recovery tool before repairing. Our guide on recovering video from a corrupted SD card covers the safe order of steps.
Messaging apps and cloud backups
Videos sent through messaging apps are re-encoded and usually smaller; if the original is broken, a copy you shared earlier may be a fallback. Google Photos backups may also hold a copy if the phone uploaded before the crash, though an unfinished recording is rarely backed up.
How the rebuild works on Android MP4 files
The media data inside a broken Android MP4 is an interleaved series of video frames and audio frames. FixMP4 scans it, identifies H.264 or HEVC frames by their NAL unit structure and parses AAC frames to measure their exact length, so the two streams can be separated again. Codec parameters such as resolution and profile come from your reference, timestamps are computed from the frame rate, B-frame reordering and keyframes are restored, and a new index is written. Nothing is re-encoded, so the repaired video has the same quality as the original.
Common mistakes
- Recording the reference in a different mode, for example with HEVC switched off, or at 30 fps when the original was 60 fps.
- Repairing a copy that a cloud or messaging app re-encoded, instead of the original file from DCIM/Camera.
- Letting a cleaning app or the system delete ".pending" files before copying them.
- Formatting an SD card that the phone reported as damaged before trying recovery.
Prevention
- Keep several gigabytes free before long 4K or 8K recordings.
- Avoid recording while the phone is hot or fast-charging.
- Use quality A2/V30 microSD cards and replace cards that throw errors.
- Keep the camera app updated.
Related guides
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
Why is my Android video not showing in the Gallery?
If recording was interrupted, the file may still be a hidden ".pending-" file in DCIM/Camera. Use a file manager with hidden files shown, or connect the phone to a computer, and copy it off.
How do I repair a Samsung video that will not play?
Copy the file to a computer, record a short reference on the same Samsung phone with the same resolution, frame rate and HEVC/HDR10+ settings, and rebuild the index with FixMP4.
Can FixMP4 repair AV1 videos from Android?
No. AV1 is not supported. H.264 and HEVC videos are.
Do I need to root my phone?
No. Copying the file over USB or with a file manager is enough; the repair runs on a computer browser.