How to recover videos from an SD card (and fix the ones that will not play)
To recover videos from an SD card, stop using the card immediately, then scan it with a recovery tool such as PhotoRec (free) that reads the raw card instead of the file system, and save the results to a different drive. Deleted videos and videos lost to a corrupted file system can often be found this way. Recovered MP4 and MOV files frequently will not play, because the recovery tool found the video data but not a complete index; those files can then be repaired by rebuilding the index.
Step 1: stop recording on the card
Deleted and lost files stay on the card until new data overwrites them. Take the card out of the camera, phone or dashcam. Do not format it, do not record test clips, and do not let the camera "repair" it.
Step 2: connect the card
Use a card reader in a computer. If the computer asks to format the card, click Cancel. If Windows says the drive needs scanning, skip it for now.
Step 3: scan with PhotoRec
PhotoRec is free, open source and part of the TestDisk package (Windows, macOS, Linux). There is a text interface (photorec) and a graphical one on Windows (qphotorec).
- Select the card (check the size so you do not pick your internal drive).
- Choose the partition, or "Whole disk" if the partition is not recognised.
- Under File Opt, you can limit the scan to video formats (mov, mp4) to speed it up.
- Choose Other as file system type for FAT32/exFAT cards.
- Choose "Free" to look only in unallocated space (deleted files) or "Whole" (everything, including files lost to corruption).
- Pick a destination folder on your computer, not on the card.
PhotoRec names files by type and number (f12345678.mov), not by their original names. Sort by size to find the videos.
Step 4: check what was recovered
Run each file through the MP4 file checker:
- Healthy: the video is fully back.
- Index missing: the media data was found but not the index. Very common for files that were being recorded when the card or power failed, and for fragmented files on full cards.
- All zeros: the space was allocated but never filled; nothing to recover there.
Step 5: repair recovered files that will not play
To rebuild the index you need a reference file: any healthy clip recorded on the same camera with the same settings. Record a new 10-second clip on a different card if you have no other footage.
Then open the repair tool, add the recovered file and the reference, and check the free preview. Alternatively, the free command-line tool untrunc does the same for many H.264 files.
Why camera recordings get lost
- Power loss while recording: the camera never writes the index or never updates the file system. Typical for dashcams, action cams and drones. See fix dashcam video.
- Card removed during writing or a camera crash.
- File system corruption from removing the card without ejecting, or using it in many devices.
- Accidental deletion or quick format.
- Counterfeit cards whose real capacity is smaller than the label: data beyond the real size is silently lost and cannot be recovered.
Fragmentation and large files
Recovery tools work best when a file is stored in one continuous region of the card. Cameras usually write that way, which is why video recovery succeeds more often than you might expect. On a nearly full or heavily used card, a video may be split into fragments; PhotoRec then recovers the first fragment correctly and the rest may be mixed with other data. Such files play for a while and then break off. Repairing them recovers the part that was found intact.
exFAT cards (64 GB and larger) hold the information about which clusters belong to a file in an allocation bitmap; after a deletion or quick format, that link is gone, so carving tools like PhotoRec are the main option.
When to use a professional lab
If the card is not detected at all, shows the wrong capacity, is physically damaged, or the footage is irreplaceable and the free tools found nothing, stop and contact a data recovery lab. Repeated attempts on a failing card can make things worse.
Prevent it next time
Format cards in the camera, not the computer. Eject before removing. Replace cards after any error. Buy cards from reputable sellers and test new ones with a tool like H2testw or F3 to detect fake capacity. Keep batteries charged and leave free space on the card so the camera can finish writing its index.
Phones are different
Internal phone storage is encrypted and uses TRIM, so deleted videos are usually wiped quickly and carving tools cannot read them. Check Recently Deleted in Photos or Google Photos' Trash and your cloud backups instead.
Recovered the files but most will not open? Why recovered video files won't play explains carving results and which ones can be repaired.
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
Can I recover videos after formatting an SD card?
Often yes, after a quick format, if nothing new was recorded. A full format or new recordings overwrite the data.
Why do recovered videos not play?
Recovery tools find the media data but often not a complete index. The files need their moov index rebuilt.
Is PhotoRec safe?
Yes. It only reads the card and writes recovered files to a different drive you choose.
Should I run chkdsk on the card first?
No. Recover the files first. File system repairs can discard the fragments recovery tools need.