Skip to content

gapi_oak_EncoderConfig_RateControlMode

gapiclassOpenCV 5.0.0
import { gapi_oak_EncoderConfig_RateControlMode } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSConstructor or factory
CLASSgapi_oak_EncoderConfig_RateControlMode
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

Rate control mode specifies if constant or variable bitrate should be used (H264 / H265)

Constructors and members

static CBR

Rate control mode specifies if constant or variable bitrate should be used (H264 / H265)

CBR: gapi_oak_EncoderConfig_RateControlModeValue<0>,

static VBR

Rate control mode specifies if constant or variable bitrate should be used (H264 / H265)

VBR: gapi_oak_EncoderConfig_RateControlModeValue<1>

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.