As far as I know MediaPlayer will play your .avi files no matter what codec is used, as long as the codec is installed on the system. So maybe the problem is not in the codec but in your code. Did you manage to play any movie with TMediaPlayer ?