How can I fix a broken AVI file?

4

1

I have a broken AVI, it won't play in VLC, Xine or MPlayer.

I tried Handbrake (reads the file and resets the source to None), OggConvert, Avidemux and mencoder fail to read the file, I cannot seem to reencode this file.

I suspect the header info is corrupt, is there a way to get the a/v streams out with a missing header?

invert

Posted 2010-05-16T08:18:21.803

Reputation: 4 918

Answers

0

one other suggestion is ffmpeg, it can copy the video from an AVI to another container format like ogg or mov without transcoding, but whether that will work or not probably depends on what is wrong with the file.

stib

Posted 2010-05-16T08:18:21.803

Reputation: 3 320

1

Try and opening in VirtualDub; perhaps that will have more luck reincoding.

RJFalconer

Posted 2010-05-16T08:18:21.803

Reputation: 9 791

Virtualdub couldn't open the file either. I copied the header from another AVI, hoping the streams would reconstruct, which it did, with many warnings. VD eventually crashed hard. – invert – 2010-05-18T17:45:15.853