To Multimedia File
Write video frames and audio samples to multimedia file
Libraries:
Computer Vision Toolbox / Sinks
Description
TheTo Multimedia Fileblock writes video frames, audio samples, or both to a multimedia file (.avi
,.wav
,.mj2
,.mp4
, or.m4v
format).
You can compress the video frames or audio samples by selecting a compression algorithm. You can also control the type of video or audio in addition to other related properties the multimedia file receives.
If you have a金宝app®Coder™license, you can generate a code from a model containing this block. To run a generated executable file, you may need to add precompiled shared library files to your system path. SeeSimulink Shared Library Dependencies, and加速仿真软件模型金宝appfor details.
Note
This block supports code generation for platforms that have file I/O available. You cannot use this block withSimulink Desktop Real-Time™software, because that product does not support file I/O.
This block performs best on platforms with Version 11 or later of Windows Media®Player software. This block supports only uncompressed RGB24 AVI files on Linux®andMacplatforms.
Ports
Input
Parameters
Block Characteristics
Extended Capabilities
Version History
Introduced before R2006a