MATLAB Function Reference    

Create an Audio Video Interleaved (AVI) movie from MATLAB movie



movie2avi(mov,filename) creates the AVI movie filename from the MATLAB movie mov.

movie2avi(mov,filename,param,value,param,value...) creates the AVI movie filename from the MATLAB movie MOV using the specified parameter settings.

An m-by-3 matrix defining the colormap to be used for indexed AVI movies, where m must be no greater than 256 (236 if using Indeo compression).
There is no default colormap.
A text string specifying which compression codec to use.

On Windows:


On Unix:
'Indeo3', on Windows. 'None' on Unix.

To use a custom compression codec, specify the four-character code that identifies the codec (typically included in the codec documentation). The addframe function reports an error if it can not find the specified custom compressor.

A scalar value specifying the speed of the AVI movie in frames per second (fps).
15 fps
For compressors that support temporal compression, this is the number of key frames per second.
2 key frames per second.
A descriptive name for the video stream. This parameter must be no greater than 64 characters long.
The default is the filename.
A number between 0 and 100. This parameter has no effect on uncompressed movies. Higher quality numbers result in higher video quality and larger file sizes. Lower quality numbers result in lower video quality and smaller file sizes.

See Also

avifile, aviread, aviinfo, movie

  movie moviein