MATLAB: Am I unable to open the AVI-file in MATLAB 7.0.4 (R14SP2)

8-bitaviaviinfoavireadgreyscaleMATLABmoviewindows

I have an AVI-file created in another application. When I try to open it in MATLAB with the AVIREAD command, I receive the following error:
??? Frames must be either 8-bit (Indexed or grayscale), 16-bit grayscale or 24-bit (TrueColor).
Error in ==> aviread at 63
X = readavi(info.Filename,-1);

Best Answer

This file is a 32-bit AVI file, a format which is not currently supported in MATLAB 7.0.4 (R14SP2).
As a workaround, open the file in a video-editing program and save it in one of the AVI file formats currently supported in MATLAB. These are: 8-bit (Indexed or grayscale), 16-bit grayscale or 24-bit (TrueColor).