Xilinx / video-sdk

https://xilinx.github.io/video-sdk
Other
30 stars 14 forks source link

Can't have more than 32 channels for encoding by CU #92

Open richywalls opened 2 months ago

richywalls commented 2 months ago

Hi everyone, Is there a max capacity setting on the encoder ( by unit ) ? I'm running 10 encodings, all working ok, but when the 11th is added, it sends an error aboute no more CU, even though there is capacity, encoding usage it's less than 50%. I tried adding simple ffmpeg conversions ( one input, no scaling, one encoding) , 2 of this simple encodings work, but when running the third one ( up to here I have 32 channels used ) it throws an error saying no more capacity, with an usage of 65%. Encodings are real small, 480p, 360p and 240p. I don't know if the 32 channel capacity is something I can configure or is a hardware maximum.

error code when no more resources available:

xrm_allocation: failed to allocate encoder cu  from reserve

use load of encoder in unit 1

      "usedLoad     ": "438885 of 1000000",