Show / Hide Table of Contents

Enum VideoWriterProperties

VideoWriter generic properties identifier.

Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public enum VideoWriterProperties

Fields

Name Description
Depth

Defaults to CV_8U.

FrameBytes

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

HwAcceleration

(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

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

IsColor

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

NStripes

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

Quality

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

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX