Function: venc_set_channel_desc_max_bit_rate
C Prototype |
aclError aclvencSetChannelDescMaxBitRate(aclvencChannelDesc *channelDesc, uint32_t maxBitRate) |
|---|---|
Python Function |
ret = acl.media.venc_set_channel_desc_max_bit_rate(venc_channel_desc, max_bit_rate) |
Function Usage |
Sets the description of a video encoding channel. The Atlas Training Series Product does not support this API. |
Input Description |
venc_channel_desc: int, pointer address of the description of a video encoding channel. Call acl.media.venc_create_channel_desc to create data of the aclvencChannelDesc type in advance. max_bit_rate: int, output bit rate (kbit/s). For the Atlas 200/300/500 Inference Product, the value is 0 or in the range of [10, 30000]. The default value is 300. If it is set to 0, the default value 300 is used. |
Return Value |
ret: int, error code.
|
Restrictions |
None |