Function: venc_set_frame_config_force_i_frame

C Prototype

aclError aclvencSetFrameConfigForceIFrame(aclvencFrameConfig *config, uint8_t forceIFrame);

Python Function

ret = acl.media.venc_set_frame_config_force_i_frame(config, force_i_frame)

Function Usage

Sets the single-frame encoding parameters.

The Atlas Training Series Product does not support this API in the current version.

Input Description

config: int, pointer address of the frame encoding configuration.

Call acl.media.venc_create_frame_config to create data of the aclvencFrameConfig type in advance.

force_i_frame: int, whether to forcibly restart the I-frame interval.

  • 0: off
  • 1: I-frame restarted

Return Value

ret: int, error code.