User`s guide

Programming
22-17
Programming
Larger Data Sets with 64-Bit Windows XP
MATLAB support for Windows XP 64-bit edition enables you to handle much larger data
sets. To learn more about memory allocation for arrays, see Memory Allocation.
Using avifile and movie2avi on Windows XP 64
Note You must change the compression setting if you use the avifile or movie2avi
function on Windows XP 64.
MATLAB currently defaults to using Indeo codecs to compress video frames when using
avifile/addframe or movie2avi. If you attempt to use avifile and addframe, or
movie2avi on a Windows XP 64-bit platform without specifying the compression type,
an error message appears indicating the codec was not found. Nondefault settings must
be explicitly passed in when using these functions on Windows XP 64 because Microsoft
does not provide Indeo codecs on this platform.
This issue does not affect 32-bit Windows XP installations.
Compatibility Considerations
To work around this issue, do the following:
1
Explicitly specify no compression when creating the avifile object or when calling
movie2avi. Two examples of this are
aviobj = avifile('myvideo.avi', 'compression', 'none');
movie2avi(mov, 'myvideo.avi', 'compression', 'none');
2
Specify a codec for a compression that is installed. The ones that are included with
Windows XP 64 are
IYUV — Intel YUV codec (c:\winnt\system32\iyuv_32.dll)
MRLE — Microsoft RLE codec (c:\winnt\system32\msrle32.dll)
MSVC — Microsoft Video 1 codec (c:\winnt\system32\msvidc32.dll)