23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

avifile<br />

2avifile<br />

Purpose Create a new Audio Video Interleaved (AVI) file<br />

Syntax aviobj = avifile(filename)<br />

aviobj =<br />

avifile(filename,'PropertyName',value,'PropertyName',value,...)<br />

Description aviobj = avifile(filename) creates an AVI file, giving it the name specified<br />

in filename, using default values for all AVI file object properties. If filename<br />

does not include an extension, avifile appends .avi to the filename. AVI is a<br />

file format for storing audio and video data.<br />

2-78<br />

avifile returns a handle to an AVI file object, aviobj. You use this object to<br />

refer to the AVI file in other functions. An AVI file object supports properties<br />

and methods that control aspects of the AVI file created.<br />

aviobj = avifile(filename,'Param',Value,'Param',Value,...) creates<br />

an AVI file with the specified parameter settings. This table lists available<br />

parameters.<br />

Parameter Value Default<br />

'colormap' An m-by-3 matrix defining the colormap<br />

to be used for indexed AVI movies,<br />

where m must be no greater than 256<br />

(236 if using Indeo compression). You<br />

must set this parameter before calling<br />

addframe, unless you are using<br />

addframe with the <strong>MATLAB</strong> movie<br />

syntax.<br />

'compression' A text string specifying which<br />

compression codec to use.<br />

On Windows:<br />

'Indeo3'<br />

'Indeo5'<br />

'Cinepak'<br />

'MSVC'<br />

'None'<br />

On Unix:<br />

'None'<br />

There is no<br />

default<br />

colormap.<br />

'Indeo3',<br />

on<br />

Windows.<br />

'None' on<br />

Unix.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!