nvenc recording 3 or 4 video streams on multiple gpus?


we need to record 3 or 4 video streams on Geforce cards. We know that the maximum number of video streams is 2. But we have multiple video cards plugged in.

Do we still limited by 2 in this case? is there a way to select which card to use for nvenc?

We are currently using gstreamer, its nvenc settings has cuda-device-id:

cuda-device-id : Set the GPU device to use for operations
flags: readable, writable
Unsigned Integer. Range: 0 - 4294967295 Default: 0

we tried it, it doesn’t allow >2 video encoding streams.

Please clarify the maximum video stream count on multiple gpus.