Function: venc_destroy_channel

Applicable Products

Product

Supported

Ascend 950PR / Ascend 950DT

x

Atlas A3 training products / Atlas A3 inference products

x

Atlas A2 training products / Atlas A2 inference products

x

Atlas training products

x

Atlas inference products

√

Atlas 200I/500 A2 inference products

√

Description

Destroys a video encoding channel created by the acl.media.venc_create_channel call.

Prototype

  • C Prototype
    1
    aclError aclvencDestroyChannel(aclvencChannelDesc *channelDesc)
    
  • Python Function
    1
    ret = acl.media.venc_destroy_channel(venc_channel_desc)
    

Parameters

Parameter

Description

venc_channel_desc

Int, channel description. It must be the same as the channelDesc argument passed to the acl.media.venc_create_channel call.

Return Value

Return Value

Description

ret

Int, error code. 0 on success; else, failure.

Restrictions

Reference

For details about the API call sequence and examples, see Media Data Processing V1.