Products & Services Solutions Academia Support User Community Company

Learn more about Video and Image Processing Blockset   

Write AVI File (Obsolete) - Write video frames to uncompressed AVI file

Library

Sinks

Description

The Write AVI File block writes video frames to an uncompressed AVI file from a Simulink model. If the data type of the input pixel values is anything other than 8-bit unsigned integers, the block scales the values. Then, it writes values between the minimum and maximum values supported by the 8-bit unsigned integer data type to the AVI file. This block does not support audio samples. During code generation, Real-Time Workshop does not generate code for this block.

PortInputSupported Data TypesComplex Values Supported

Image

M-by-N matrix of intensity values or an M-by-N-by-P color video signal where P is the number of color planes

  • Double-precision floating point

  • Single-precision floating point

  • Boolean

  • 8-, 16- 32-bit signed integer

  • 8-, 16- 32-bit unsigned integer

No

R, G, B

Matrix that represents one plane of the RGB video stream. Inputs to the R, G, or B ports must have the same dimensions.

Same as I port

No

Use the File name parameter to specify the name of the AVI file to which to write. The block creates the AVI file in your current directory. To specify a different directory, use the Browse button; then enter the filename.

Use the Image signal parameter to specify how the block accepts a color video signal. If you select One multidimensional signal, the block accepts an M-by-N-by-P color video signal, where P is the number of color planes, at one port. If you select Separate color signals, additional ports appear on the block. Each port accepts one M-by-N plane of an RGB video stream.

Dialog Box

The Write AVI File dialog box appears as shown in the following figure.

File name

Specify the name of the AVI file to which to write.

Image signal

Specify how the block accepts a color video signal. If you select One multidimensional signal, the block accepts an M-by-N-by-P color video signal, where P is the number of color planes, at one port. If you select Separate color signals, additional ports appear on the block. Each port accepts one M-by-N plane of an RGB video stream.

See Also

To Multimedia File

Signal Processing Blockset software

To Video Display

Video and Image Processing Blockset software

Video To Workspace

Video and Image Processing Blockset software

Video Viewer

Video and Image Processing Blockset software

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS