| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
movie2avi(mov, filename)
movie2avi(mov, filename, param, value, param, value...)
movie2avi(mov, filename) creates the AVI movie filename from the MATLAB movie mov. The filename input is a string enclosed in single quotes.
movie2avi(mov, filename, param, value, param, value...) creates the AVI movie filename from the MATLAB movie mov using the specified parameter settings.
Parameter | Value | Default | |
|---|---|---|---|
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). This parameter can be specified only when the 'compression' parameter is set to 'MSVC', 'RLE', or 'None' | There is no default colormap. | ||
A text string specifying the compression codec to use. On Microsoft Windows operating systems:
On UNIX operating systems:
| 'Indeo5' on Windows systems. 'None' on UNIX systems. | ||
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.1429 key frames per second. | ||
A number between 0 and 100 the specifies the desired quality of the output. Higher numbers result in higher video quality and larger file sizes. Lower numbers result in lower video quality and smaller file sizes. This parameter has no effect on uncompressed movies. | 75 | ||
A descriptive name for the video stream. This parameter must be no greater than 64 characters long. | The default is the filename. | ||
avifile, mmreader, mmfileinfo, movie
![]() | movie | mput | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |