NasrTech
Android video repair

Phone turned off while recording video? Repair the file

Your phone shut off in the middle of a recording, and the video it left behind won't play. A file that shows a size in megabytes holds footage in most cases: the phone died before it wrote the index that players read first. The checker on this page reads the file on your own computer and tells you for free whether it can rebuild that index.

Free check and 5-second previewNothing uploadedOriginal quality

Repair your video

MP4 or MOV from a phone, action camera, drone or dashcam. Any size.

  1. Check
  2. Repair
  3. Preview
  4. Download

A video corrupted after the battery died is missing its index

Samsung, Pixel, Xiaomi and other Android phones save a video in two parts. While you record, the phone keeps adding video and sound data to the file. After you press stop, it writes the index, called the moov atom: a table that tells a player where each frame sits and which codec the camera used.

If the phone turns off first, the data stays on the storage and the index never arrives. A battery that runs out does this, and so does a crash that restarts the phone. Players and your gallery read the index before anything else, so they refuse the file even though the footage is inside.

The tool on this page builds a new index around that footage. It re-encodes nothing: the repaired file holds the camera's own video and sound, byte for byte. It reads MP4 and MOV files (M4V and 3GP too) with H.264 or H.265 (HEVC) video and AAC sound, the usual output of Android camera apps.

This page covers Android phones and other cameras that save MP4 or MOV files.

Find the file on your phone

Open your file manager (My Files on Samsung, Files by Google on Pixel) and go to Internal storage > DCIM > Camera. If your phone records to a memory card, check DCIM > Camera on the card. Sort by date and look at the size of the newest video.

You seeIt means
A size in megabytesFootage reached the storage. The file is worth checking.
0 bytesThe phone saved no footage. There is nothing to rebuild.
No fileLook for a hidden .pending- file.

Your gallery may leave the video out or show an error when you tap it. The gallery needs the same index a player does, so neither can open the file.

Some phones, including Huawei and some Samsung models, keep a recording in progress under a hidden name that starts with .pending-. Turn on hidden files in your file manager's settings to see it. Android deletes abandoned .pending- files by itself (stock Android does it after about a week), so copy the file out today and give the copy a normal name such as broken-video.mp4.

If the power cut came before any footage reached the storage, the file shows 0 bytes or doesn't exist at all. That recording is gone, and no repair can bring back data the phone never saved.

Copy the file off the phone first

The broken file is the only copy of that footage. Copy it before you try anything, so you still have it if an attempt fails or Android cleans up the folder.

  1. Charge the phone for a few minutes so it doesn't die again during the copy.
  2. Connect it to a computer with a USB cable and choose file transfer in the phone's USB options.
  3. Open the phone's storage on the computer, go to DCIM > Camera and copy the video to your desktop.
  4. Leave the original on the phone until you have a repaired file that plays.

Repair it on the phone or on a computer

On the phone, install Video Repair from Google Play, open it and pick the video. The app runs the same repair engine as this page, on the phone itself.

On a computer, use the checker on this page:

  1. Open the copy in the checker. Your browser reads the file from your disk and never uploads it.
  2. Read the result. The checker looks for the footage and tells you whether it can rebuild the index. This step is free.
  3. If it asks for a reference clip, give it a normal video from the same phone and camera, recorded at the same resolution and frame rate. Some phones keep the encoder settings only in the index, so the tool borrows them from a healthy clip, and that clip brings the sound back when needed. If you don't have one, record ten seconds now with the same settings.
  4. Watch the free 5-second preview. It plays at reduced quality with a watermark, enough to see that your footage is back.
  5. Download the full video with a paid plan: one video, 3 months or 1 year, and you can cancel anytime. If the repaired video doesn't play, you get a refund.

What it can't bring back

  • A 0-byte file, or one filled with zeros. The footage never reached the storage.
  • A deleted video. The tool repairs files you still have; it doesn't undelete.
  • Footage that newer recordings overwrote.
  • A video hidden by a vault or "hide video" app. The tool can't decrypt those files.
  • AVI, MKV, TS and WebM files. The tool doesn't open those formats yet.

If the checker says it can't rebuild your file, you haven't paid anything.

Questions

Frequently asked questions

Can I fix the video without a computer?

Yes. Video Repair on Google Play repairs the file on the phone with the same engine this page uses. If the app asks for a reference clip, pick a normal video from the same phone, recorded at the same settings.

My video shows 0 bytes. Can the tool repair it?

No. A 0-byte file holds no footage, so the tool has nothing to rebuild. Before you give up, turn on hidden files and look for a .pending- file in the same folder.

Will the repaired video look worse than the original?

No. The tool re-encodes nothing; it writes a new index around the camera's own video and sound. The free preview runs at reduced quality with a watermark, and the full download keeps the original quality.

Is my video uploaded anywhere?

No. The checker runs inside your browser with WebAssembly, using the same engine as the Video Repair apps for Android and Windows. Your browser reads the video from your own disk, and the video stays on your computer.

Do I need a second video from the same phone?

Sometimes. Some phones store the encoder settings only in the index that went missing, and then the tool asks for a healthy clip recorded by the same phone at the same settings. That clip also brings back the sound when the broken file needs it.