Basic NvEnc question on encoding two streams simultaniously

Hi,

when encoding two streams at once, can I do this from one process using two encoder instances or am I required to run two processes with one encoder instance each?

regards
Andi

You can do it from the same process.

However, At least in my experience, sequentially opening, using, and destroying a nvdec->nvenc pair doesn’t properly cleanup and crashes eventually. So for that scenario you may need to sandbox the encoding processes.