Table of Contents

Class VideoWriter

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that writes a sequence of images into a compressed AVI file.

[WorkflowElementIcon("Bonsai:ElementIcon.Video")]
public class VideoWriter : FileSink<IplImage, VideoWriterDisposable>
Inheritance
VideoWriter
Inherited Members

Properties

FourCC

Gets or sets a value specifying the four-character code of the codec used to compress video frames.

FrameRate

Gets or sets a value specifying the playback frame rate of the image sequence.

FrameSize

Gets or sets the optional size of video frames.

ResizeInterpolation

Gets or sets a value specifying the optional interpolation method used to resize video frames.

Methods

CreateWriter(string, IplImage)

When overridden in a derived class, creates the writer over the specified fileName that will be responsible for handling the input elements.

Write(VideoWriterDisposable, IplImage)

Writes an image into the compressed AVI file.