Programming |
Getting Information About Audio/Video Files
MATLAB includes several functions that you can use to get information about files that contain audio data, video data, or both. Some work only with specific file formats. One function, the mmfileinfo
function, can retrieve information about many file formats.
Format-Specific Functions
MATLAB includes several functions that return information about files that contain audio and video data in specific formats.
aufinfo
-- Returns a text description of the contents of a sound (AU) file
aviinfo
-- Returns a structure containing information about the contents of an Audio/Video Interleaved (AVI) file
wavfinfo
-- Returns a text description of the contents of a sound (WAV) file
Using the General Multimedia Information Function
MATLAB also includes a general-purpose, audio/video file information function named mmfileinfo
. The mmfileinfo
function returns information about both the audio data in a file as well as the video data in the file, if present.
Working with Audio and Video Data | Importing Audio/Video Data |
© 1994-2005 The MathWorks, Inc.