hi_venc_chn_attr
Description
Defines the VENC channel attributes.
Prototype
hi_venc_chn_attr = {"venc_attr": hi_venc_attr, "rc_attr": hi_venc_rc_attr, "gop_attr": hi_venc_gop_attr}
Members
Member |
Description |
|---|---|
venc_attr |
Dictionary, encoder attributes. Encoder attributes are static attributes except the channel width (pic_width) and channel height (pic_height). After a VENC channel is created successfully, the static attributes cannot be modified unless the channel is destroyed and then re-created. |
rc_attr |
Dictionary, bit rate control attributes. You need to set the RC mode before setting the RC attributes. The RC attributes are required for H.264/H.265 encoding but are not required for JPEG encoding. The selected RC mode must match the encode protocol in use. |
gop_attr |
Dictionary, GOP modes. Valid only for the H.264 and H.265 protocols. |
Parent topic: Video/Image Encoding