A camera that dies mid-recording leaves behind a MOV file full of video data but missing its index. The moov atom never gets written. The footage is there. You can get it back if you move fast and never touch the card until you are ready to copy the file to a computer.
Stop Using the Memory Card Immediately
Pull the card. Do not record anything else on it. A single new photo or video clip can overwrite the unfinished file. Do not delete files. Do not format the card. Every write operation puts more of your lost footage at risk. Keep the card aside until you are sitting at a computer, ready to copy the broken MOV file off it.
Try the Camera’s Built-in Recovery First
Some cameras offer a recovery prompt when you insert a fresh battery and power on. Let it run. This feature sometimes rebuilds the index automatically and costs you nothing. If the prompt does not appear, or if the recovery fails, do not keep trying. Move straight to the computer-based steps.
Copy the File to a Computer
Copy the MOV file from the memory card to your computer before any repair attempt. Work only on the copy. Never edit the file directly on the card.
If the card is damaged or throws errors, create a byte-for-byte disk image first using imaging software. Repair that image, not the card.
Understand What You Are Working with
An unfinalized video file contains all the video and audio data. What is missing is the index. The index tells a player where each frame starts and how long the clip runs. Without it, most players refuse to open the file or show a black screen.
Audio and video are interleaved in the media data. Both can be recovered. The final seconds before the power cut are the exception. Those frames sat in the camera's buffer and were never written to the card. They are gone.
Repair the MOV File
Use a Reference Clip
Reference-based tools take a healthy clip recorded on the same camera with the same resolution and frame rate. The tool reads the video and audio parameters from the good file and writes a new index for the broken one. This is fast and reliable. You need that second file, shot with identical settings.
Scan the File for Media Data
No reference clip? Some tools scan the raw data of the broken file, locate the video and audio streams, and reconstruct an index from what they detect. Slower, but it works without a donor file.
- Make a backup copy of the broken MOV file.
- Open your chosen tool and select the broken file.
- If the tool asks for a reference file, provide a healthy clip from the same camera with identical settings.
- Start the recovery. The tool generates a new file with a rebuilt index.
- Test the output. If it plays but cuts off early, the missing seconds were lost in the buffer.
What to Expect After Recovery
A successful recovery gives you a playable MOV file. Video and audio from before the interruption come back intact. The final few seconds do not.
If the file still refuses to play, try a different tool or locate a reference clip from the same camera. A physically damaged card needs disk utilities run on it before you can copy the file at all.
Preventing This Problem in the Future
On a Dedicated Camera
Keep spare batteries charged. Swap them before they run empty. If the camera shuts down, do not power it on again until a fresh battery is in place. Let any recovery process finish before removing the card.
On a Phone
Close apps that drain power before a long recording. If the phone dies mid-clip, charge it fully before turning it back on. When it boots, do not open the camera app until the system has finished starting up.