I am using “h264_nvenc” encoder in FFmpeg to encode multi-videos simultaneously and streaming rtsp with live555. The server runs on ubuntu server 18.04, which has 28 CPU cores (2 threads per core), 16 T4 GPUs. The GPU driver is 435.21. When encode 27 videos simultaneously, everything is OK, but when exceeded 27, none rtsp can be pulled with vlc. However, when I tried with “libx264” encoder, means encoding on the CPU, the problem disappeared. Since the extremum 27 is beside the cores number 28, I doubt that whether the maximum number of encoding video simultaneously on Tesla T4 is limited to the number of CPU cores?
Hi.
Maximum number of encoding sessions possible on an NVIDIA GPU is not dependent on CPU cores.
Can you describe the failure more, what you mean by ‘none rtsp can be pulled with vlc’.
Do you have a command line that we can try to reproduce this issue. Is it possible for you to isolate the issue further with non rtsp usage i.e. with minimal command line options? Based on the driver version you mentioned, I am guessing you are using Linux. If so, can you generate nvidia-bug-report after reproducing the issue and share that as well. (Execute nvidia-bug-report.sh as a root privileged user.)
Thanks.