Function: venc_create_frame_config

Applicable Products

Product

Supported (√/x)

Ascend 950PR&950DT products

x

Atlas A3 products

x

Atlas A2 products

x

Atlas training products

x

Atlas inference products

√

Atlas 200I/500 A2 inference products

√

Description

Creates data of the aclvencFrameConfig type as a single-frame encoding configuration.

To destroy data of the aclvencFrameConfig type, see acl.media.venc_destroy_frame_config.

Prototype

  • C Prototype
    1
    aclvencFrameConfig *aclvencCreateFrameConfig()
    
  • Python Function
    1
    frame_config = acl.media.venc_create_frame_config()
    

Parameters

None

Return Values

Return Value

Description

frame_config

Int.

  • Non-zero: success
  • 0: failure