Monday, September 13, 2010

Fixing a Broken Video File

While testing our cameras underwater, when the camera died from water leakage, we had corrupted video files.

The cameras record into AVI file format, and using our "Disk Recovery" software (we've posted about it in 2009) we found the data on the disk. Using a Hex file editor, we decided to try to "fix" the AVI file...

We took a "good" AVI file, and clipped out header information from the good file. The files need to be about the same size...



Then we simply copied it into the right places in the "busted" AVI file.

And it worked! A couple of other tools that worked well were: DivFix, and HxD hex file editor.

The only bummer was that when we actually sent the camera down the fishing line to a salmon, the data was lost to the recovery tool. We tried to skim it off the miniSD disk, but it didn't work.

Oh well - maybe this helps with lost video you have...