MATLAB: Read and play AVI

avi

I have a problem when playing videos (AVI) on GUI
function aviaxes_OpeningFcn(hObject, eventdata, handles, varargin)
mov = aviread('Shania.avi')
movie(handles.axes1, mov);
??? Error using ==> aviread at 76 Unable to locate decompressor to decompress video stream
Error in ==> aviaxes>aviaxes_OpeningFcn at 54 mov = aviread('Shania.avi')

Best Answer

(Note to Windows 64 bit users: most codecs are not available in 64 bit versions, and some common codecs like Indeo5 are not available for Windows 7 at all; however it is reported that R2011b will have a new class that will relieve some of the codec issues.)