Can only init 5 cv2.cudacodec.createVideoWriter successfully in parallel

thanks for your replay, but I have another question since the number of concurrent encoding sessions on RTX 3080Ti is 5, but I have two GPUs, why I can only init 5 decoding sessions on 2 GPUS, I just tested on my code, no matter I use one GPU or two GPUS, I can only init 5 decoding sessions, shouldn’t I create 10 decoding sessions on 2 GPUS?