Table of Contents

Class VideoWriterPara

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Parameters of VideoWriter for hardware acceleration Please check the link below for current HW acceleration types support matrix https://github.com/opencv/opencv/wiki/Video-IO-hardware-acceleration

[Serializable]
public record VideoWriterPara : IEquatable<VideoWriterPara>
Inheritance
VideoWriterPara
Implements
Inherited Members

Constructors

VideoWriterPara()

Constructor, parameter of VideoWriter for hardware acceleration

VideoWriterPara(VideoAccelerationType, int)

Constructor, parameter of VideoWriter for hardware acceleration

Properties

AccelerationType

Used as value in #CAP_PROP_HW_ACCELERATION and #VIDEOWRITER_PROP_HW_ACCELERATION note In case of FFmpeg backend, it translated to enum AVHWDeviceType (https://github.com/FFmpeg/FFmpeg/blob/master/libavutil/hwcontext.h)

HwDeviceIndex

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

Methods

GetParameters()

Get parameters of VideoWriter for hardware acceleration