Information about Audio/Video Interleaved (AVI) file
fileinfo = aviinfo(filename) returns a structure whose fields contain information about the AVI file specified in the string filename. If filename does not include an extension, then .avi is used. The file must be in the current working directory or in a directory on the MATLAB® path.
The set of fields in the fileinfo structure is shown below.
String containing the name of the format used to store the audio data, if audio data is present
Integer indicating the sample rate in Hertz of the audio stream, if audio data is present
String specifying the name of the file
String containing the modification date of the file
Integer indicating the size of the file in bytes
Integer indicating the desired frames per second
Integer indicating the height of the AVI movie in pixels
String indicating the type of image. Either 'truecolor' for a truecolor (RGB) image, or 'indexed' for an indexed image.
Integer indicating the number of channels in the audio stream, if audio data is present
Integer indicating the total number of frames in the movie
Integer specifying the number of colormap entries. For a truecolor image, this value is 0 (zero).
Number between 0 and 100 indicating the video quality in the AVI file. Higher quality numbers indicate higher video quality; lower quality numbers indicate lower video quality. This value is not always set in AVI files and therefore can be inaccurate.
String containing the compressor used to compress the AVI file. If the compressor is not Microsoft® Video 1, Run Length Encoding (RLE), Cinepak, or Intel® Indeo, aviinfo returns the four-character code that identifies the compressor.
Integer indicating the width of the AVI movie in pixels