MATLAB: Is it possible to use AVIREAD in 64-Bit Windows & MATLAB on AVI files created in 32-Bit Windows & MATLAB

3232-bit6464-bitavifileaviinfobitindeoindeo3indeo5MATLABwin32win64windowsx32x64

I would like to use AVIREAD in 64-Bit Windows & MATLAB on AVI files created in 32-Bit Windows & MATLAB. However, I sometimes receive the following error:
??? Unable to locate decompressor to decompress video stream
Error in ==> aviread at 63
X = readavi(info.Filename,-1);

Best Answer

A codec is the instructions for decoding (or encoding) video files from (or to) disk. Once a file is written to disk, it can be read by any codec that can be used by the application. MATLAB can read video files created by either 32-bit or 64-bit applications if the proper codec installed. For example, a 64-bit codec must be installed to read or write files in 64-bit MATLAB on 64-bit systems. However, if you wish to read or write a video file in 32-bit MATLAB on 64-bit systems, a 32-bit codec must be installed on the 64-bit system. Verify if the appropriate codec is installed. A list of video codecs installed in Windows can be viewed by clicking Start -> Programs -> Accessories -> System Tools -> System Information -> Components -> Multimedia -> Video Codecs.
As of MATLAB R2007b, MMREADER has been introduced to support more video file formats. Consider using MMREADER in replace of AVIREAD.