Table of Contents

Enum VideoWriterProperties

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

VideoWriter generic properties identifier.

public enum VideoWriterProperties

Fields

Depth = 5

Defaults to CV_8U.

FrameBytes = 2

(Read-only): Size of just encoded video frame. Note that the encoding order may be different from representation order.

HwAcceleration = 6

(open-only) Hardware acceleration type (see VideoAccelerationType). Setting supported only via params parameter in cv::VideoCapture constructor / .open() method. Default value is backend-specific.

HwDevice = 7

(open-only) Hardware device index (select GPU if multiple available). Device enumeration is acceleration type specific.

IsColor = 4

If it is not zero, the encoder will expect and encode color frames, otherwise it will work with grayscale frames.

NStripes = 3

Number of stripes for parallel encoding. -1 for auto detection.

Quality = 1

Current quality (0..100%) of the encoded video stream. Can be adjusted dynamically in some codecs.