Use audio and video functions to read and write video or audio files, and also record and play audio using your system's input and output devices.
Read or write video files by creating video objects. The video object contains information about the video file and enables you to read, analyze, and write video data.
Read or write audio data from files into arrays using the audio read and write functions.
Record or play audio files in with your system's input (microphone) and output devices (speakers) by using the audio recorder and player objects.
|Create object to read video files|
|Read one or more video frames|
|Read next video frame|
|Determine if video frame is available to read|
|File formats that VideoReader supports|
|Information about multimedia file|
|Object for playing audio|
|Determine if playback is in progress|
|Pause playback or recording|
|Play audio from audioplayer object|
|Play audio from audioplayer object, hold control until playback completes|
|Resume playback or recording from paused state|
|Stop playback or recording|
|Object for recording audio|
|Store recorded audio signal in numeric array|
|Creates associated audioplayer object|
|Determine if recording is in progress|
|Record audio to audiorecorder object|
|Record audio to audiorecorder object, hold control until recording completes|
Read frames from a video starting at a specific time or frame index, read frames within a specified interval, or read all the frames in the video.
Convert between video files and sequences of image files using
Write data to an audio file, get information about the file, and then read the data back into the MATLAB® workspace.
Record and play audio data for processing in MATLAB from audio input and output devices on your system.
Video and audio files in MATLAB and their supported file formats and codecs.