fixing a recovered and possibly corrupted mlv

Started by rkebk, November 18, 2015, 09:41:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rkebk

Hi, I need help with a mlv file that is corrupted but I think is salvageable. So far I have been unable to open in MlRawViewer and when I run mlv_dump it gives the error message:

Processing...
[ERROR] Invalid block size at position 0x00377160
Processed 1 video frames
Done

The 1st frame of video is full of "noise".

I have tried to open in a hex editor to compare the code to a usable mlv but so far haven't succeeded...

Here's a screen grab from the hex editor:
https://www.dropbox.com/s/qnpg2kezhjz5att/Screen%20Shot%202015-11-18%20at%203.17.50%20PM.png?dl=0

I'll keep trying to fix with some of the ideas I gather from other threads but I've hit the limits of my coding knowledge and any help would be greatly appreciated. Thanks!

rkebk

UPDATE- All fixed and I'm delirious with joy!

Figured out a work-around with HEX code and help from the ideas in this previous thread:
http://www.magiclantern.fm/forum/index.php?topic=13653.0

Specifically, what worked for me was searching for "VIDF" and finding where it begins to show-up at regular intervals in the "corrupted" code ("Continue searching through the file for "VIDF" and see if there is one about every ~3.5MB or so."). Then, I copied from that point-"VIDF" to end of code- in the "corrupted" file and appended it to the "Un-corrupt" opening lines of code in a similarly shot file. It didn't play in MlRawViewer for me however it would run through mlv_dump...

Probably should've read the above referenced thread a little closer to figure out sooner but I hope this will save someone all the time and stress I spent on figuring this out.

-R