File Recovery

Corrupted Photo And Video Repair: How It Works

Updated 3 Min ReadWritten By Data Engineers

A recovered photo that opens grey from the middle down. A video that shows one frame and freezes. A JPG the viewer says is not a valid image. These are the usual results of recovering a camera card with a basic tool and most people assume the files are finished. They usually are not. Corrupted photo repair is a matter of understanding how the file broke and the break tends to follow a pattern.

How A Photo Breaks

A JPEG has a header at the front that describes the image, then the picture data in order from the top row down. If the header is damaged, nothing opens. If a block in the middle is missing or belongs to another file, the viewer shows the picture correctly to that point and grey or garbage from there.

A broken header still leaves every pixel in place. A camera card that was full and busy writes photos in scattered pieces and a recovery tool that guesses wrong about which piece comes next produces exactly this.

RAW photos from a DSLR, such as CR2 and NEF files, behave much the same, with a bigger header and often a small JPEG preview tucked inside. That preview is sometimes the only whole picture left in a damaged file.

How A Video Breaks

Video is harder. An MP4 or MOV from a phone or camera stores the frames in one part of the file and an index in another, usually at the end, that says where every frame sits and how long it lasts. Cameras write the frames as they record and the index when you press stop.

A card pulled out mid-recording, a dead battery or a deleted and partly overwritten clip leaves frames without an index or an index pointing at the wrong places. The player reads the index, finds nonsense and refuses to play. The footage is largely there.

A JPG turns grey below a missing block; a video whose index was never written will not play until it is rebuilt
One missing block greys out the rest of a JPG. A video without its index will not play until it is rebuilt.

What Repair Actually Does

DRE Pro repairs damaged photos and videos while the scan runs, not as a separate step afterwards. For a photo, it checks each one as it is found, rebuilds a header where that is the problem and, when a complete picture is hidden inside a broken file, keeps that picture as a file of its own. The repaired file takes the damaged one's place in the results under its name, so the list does not fill with duplicates.

For a video, it follows the clip's own index to find where each frame really sits on the drive, even when the frames are scattered among other files and puts the clip back in order. Where part of the footage has been overwritten, the rebuilt clip stops at the last real frame. You get a shorter video that plays rather than a long one with someone else's frames spliced in.

What Repair Cannot Do

No jpeg repair tool can invent pixels that were overwritten. If the middle of a photo was reused by another file, that part is gone and the repaired photo shows what remains. The same goes for a video whose frames were overwritten. The Recovery Chance in the results tells you where you stand before you save. Excellent or Good means the file checks out. Poor means part of it may be missing or damaged. None means the space was reused and the file cannot come back.

Scan the original card or drive, not a copy of the broken file someone sent you. The missing pieces are on the card. A copy of a broken file is only a broken file.

Working From A Camera Card

To fix corrupted video files and photos properly, the card they came from has to be scanned. Here is the order that works.

  1. Stop shooting on the card the moment something looks wrong. New photos land on the old ones.
  2. Put the card in a reader connected straight to the computer and open DRE Pro. The card appears under Drives And Locations as a memory card.
  3. Run a Deep Scan. Photos and videos are repaired as they are found.
  4. Filter the results to Photos or Videos and preview. Look at the mark on each file.
  5. Save to the computer, into a new empty folder, so recovered photos do not mix with ones you already had.
Stuck on this one? Call +91 991 013 2719 or write to support@dataengineers.in, Monday To Saturday, 11:00 AM To 7:00 PM.

Read Next

All Articles

Scan For Free.
Pay Only To Save.

See every file DRE Pro can bring back before you pay anything. Buy a licence only when you want your files saved.