<p>The issue with repairing avi files is that in your case you used Motion JPEG compression not H264. Motion JPEG requires an ending bit of code at the end of the file. H264 builds the video in blocks and if the video is cut off then only the last block is bad and thus lost. The only way that I have found that may yield a result is opening it in a video editor, throwing it into a timeline and cutting off the end and re rendering it out into a new file. This doesn't always work as most editors won't import the file, but it is worth a try. The short answer is that if this does not work then you are probably out of luck. Sorry for the bad news.</p>

CC BY-SA 3.0
2015-10-05T08:40:53.813Z
If an editor could open it there would have been no problem. But thanks for the insight on how mjpg works.
aesca
CC BY-SA 3.0
2015-10-03T01:37:31.977Z
2015-10-03T01:37:31.977Z
mediatech15
<p>I recorded some game footage using MSI afterburner and accidentally closed afterburner before stopping the recording and now I can't open the resulting file. MPC, VLC, Sony Vegas can't open it. MPC says "cannot render the file" others just don't react. The size of the file is 150Gb which is what I would expect. I want to extract/convert the data from the file somehow so that I can edit it in Sony Vegas. What should I try? </p>

<p>I tried using bandi-fix. It says that the file is not an avi file.</p>

<p>My MSI Afterburner settings :</p>

<p><a href="https://i.sstatic.net/xAKaq.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/xAKaq.png" alt="msi settings"></a></p>

<video><file-formats>
Ways to open a corrupted .avi?
aesca
# Ways to open a corrupted .avi?

(Asked by: username_0 on 2015-09-23)

I recorded some game footage using MSI afterburner and accidentally closed afterburner before stopping the recording and now I can't open the resulting file. MPC, VLC, Sony Vegas can't open it. MPC says "cannot render the file" others just don't react. The size of the file is 150Gb which is what I would expect. I want to extract/convert the data from the file somehow so that I can edit it in Sony Vegas. What should I try?

I tried using bandi-fix. It says that the file is not an avi file.

My MSI Afterburner settings :

[![msi settings](https://i.sstatic.net/xAKaq.png)](https://i.sstatic.net/xAKaq.png)

**Tags:** video, file-formats


---

## 1 answers

### Answer by username_1 on 2015-10-03. Score: 2 | Accepted answer

The issue with repairing avi files is that in your case you used Motion JPEG compression not H264. Motion JPEG requires an ending bit of code at the end of the file. H264 builds the video in blocks and if the video is cut off then only the last block is bad and thus lost. The only way that I have found that may yield a result is opening it in a video editor, throwing it into a timeline and cutting off the end and re rendering it out into a new file. This doesn't always work as most editors won't import the file, but it is worth a try. The short answer is that if this does not work then you are probably out of luck. Sorry for the bad news.

> **Comments:**
> **username_0**: If an editor could open it there would have been no problem. But thanks for the insight on how mjpg works.  

---

