When playback of AVI files (containing a video format like XviD or DivX) is stuttering, it in 90% of the files is caused by a poorly or wrongly interleaved file. You check this by temporarily enabling "No Cache
" in Video OSD
Settings in XBMC to test if the file plays better then, (note that enabling "No Cache
" is only a temporary workaround for testing only, you should not leave the "No Cache
" setting enabled for permanent use). The issue can be permanently resolved by RE-MUXING the AVI video-files that have this problem by using a tool like VirtualDub or AVIMux-GUI. In 5% of the files stuttering and choppy playback is caused by a bad/corrupt container/video/audio header or a VBR MP3 Header, in these cases a simple RE-MUXING is not enough, instead you must decode the audio-stream to PCM during a first-pass RE-MUX and then do another second-pass RE-MUX from the new file to encode the audio-stream to MP3 but instead of MP3 VBR as the original probably was, encode to MP3 CBR, (the AVI container was never designed to hold MP3 VBR which is why you should always use MP3 CBR in AVI files).