Posts: 5
Joined: Sat Aug 08, 2015 6:18 am

ffmpeg.exe fixes aborted .avi better than Bandcam AVI Fixer

Sat Aug 08, 2015 6:32 am

The usual problem: Game crashes. You have to "force stop" the bandicam recording, leaving defective .avi files around.
The bandicam avi fixer tried, but the last few seconds (technically: the last unclosed GOP) is missing. Not good.
If you use ffmpeg.exe you will get everything including the last few seconds.

The command line is:

Code: Select all

ffmpeg.exe -i "Fallout3.avi" -codec:v copy -codec:a copy  "Fallout3-fixed.avi"

This does not "re-encode" the avi, it does a so called stream copy, and along the way fixes the .avi AND includes the last second before the crash.

You can get ffmpeg there:

I only tested it for the "MPEG-1 (VBR)" codec at Quality 100 since this is the best one working for Ultra HD recordings.
The question in first place is however: Why does Bandicam produce a defective avi if a game crashes and you have to hit the "stop recording" button :x ? Doesn't change the fact that it is my most used capture program though ; ).

This is an generalized bandicam-fix-avi.cmd file, so you just have to drag and drop your avi on it.
You have to adjust the ffmpeg.exe path to where you unpacked ffmpeg.

Code: Select all

C:\prog\ffmpeg\bin\ffmpeg.exe -i %1 -codec:v copy -codec:a copy  %1.fix.avi

Have fun!
Ultra HD? BAH! 8K, 12K and 16K videos, that is my way! See

Return to “Bandicam - General Discussion”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 8 guests