Audio and Video
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.
Functions
Topics
- Read Video Files
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 Image Sequences and Video
Convert between video files and sequences of image files using
录像师
andVideoWriter
. - Read and Write Audio Files
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
记录并播放系统上的音频数据,以便从系统上的音频输入和输出设备在MATLAB中处理。
- Supported Video and Audio File Formats
Video and audio files in MATLAB and their supported file formats and codecs.