acl.himpi.venc_get_stream
|
C Prototype |
hi_s32 hi_mpi_venc_get_stream(hi_venc_chn chn, hi_venc_stream *stream, hi_s32 milli_sec); |
|---|---|
|
Python Function |
stream, ret = acl.himpi.venc_get_stream(chn, stream, milli_sec) |
|
Function Usage |
Fetches the encoded stream. The Atlas 200/300/500 Inference Product does not support this API in the current version. The Atlas Training Series Product does not support this API in the current version. |
|
Input Description |
chn: int, encoding channel ID.
stream: dict. After pack_cnt is passed to the cur_packs packet dictionary, the buffer is automatically allocated. For details, see hi_venc_stream.
milli_sec: int, timeout interval (ms).
|
|
Return Value |
ret: int, error code.
stream: dict, stream dictionary. The configured attribute addr must be a buffer address on the device, indicating that the output stream is stored in the device buffer. |
|
Restrictions |
|
