Log in

View Full Version : Repair broken AVI with no header


zerowalker
6th February 2015, 04:24
I have a corrupted AVI file that's missing it's header.

I know which codec, fps, audio tracks, and the length (more or less).

But i don't know a good way to fix it.

I was hoping there was a way to just force ffmpeg or something to resave the file telling it which codec etc and it would read till the end of the file producing a new one.

EDIT:

Seem to have solved it.

I used an Hex editor to make a AVI Header with correct streams and codec information.
However the length was messed up and incorrect.

ffmpeg however reads fine and ignore the length which makes me able to repair it by resaving.

Ghitulescu
6th February 2015, 09:24
Since this forum allows only to discuss your own files, you may recreate the AVI again :)