h264_nvenc encoder gives not proper output if no of instance increases.

Hello All,

My System Intel® Xeon® Gold 6138 CPU @ 2.00GHz, 2001 Mhz, 20 Core(s), 40 Logical Processor + NVIDIA Quadro M4000.

OS: Windows 10

I want to try, encode 10 instance of 1920*1080 h264 instance simultaneously, at a 25 framerate live using ffmpeg 4.2 h264_nvenc library.

When I increase the instance encoder sends corrupted frames randomly. And processing power of each instance is also increase.

Please help.

Thanking You,
Dhrumil Sheth