Creates a video encoding channel, which is reusable. After being destroyed, the channel is no longer available. This API is synchronous.
The Ascend 910 AI Processor does not support this API.
When implementing the VENC function, observe the restrictions of aclrtCreateStream, such as the number of streams.
aclError aclvencCreateChannel(aclvencChannelDesc *channelDesc)
Parameter |
Input/Output |
Description |
|---|---|---|
channelDesc |
Input/Output |
Pointer to the channel description. Call aclvencCreateChannelDesc to create data of the aclvencChannelDesc type as a channel description and then call the aclvencSetChannelDesc series to set the channel description in advance. |
0 on success; else, failure.
For details about the API call sequence and example, see Media Data Processing V1.