Function: venc_set_frame_config_eos

C Prototype

aclError aclvencSetFrameConfigEos(aclvencFrameConfig *config, uint8_t eos)

Python Function

ret = acl.media.venc_set_frame_config_eos(config, eos)

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.

eos: int, whether a frame is EOS.

  • 0: No
  • 1: EOS flag

Return Value

ret: int, error code.