Function: venc_get_frame_config_force_i_frame

C Prototype

uint8_t aclvencGetFrameConfigForceIFrame(const aclvencFrameConfig *config);

Python Function

force_i_frame = acl.media.venc_get_frame_config_force_i_frame(config)

Function Usage

Obtains 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.

Return Value

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

  • 0: off
  • 1: I-frame restarted