Using both video encoder cores?

Hi Everyone, I have a code which instances NvVideoEncoder twice so that two separate image streams can be encoded. Are both cores used automatically under the hood or do I have to tell NvVideoEncoder to do that manually? I want to make sure the encoding is done in parallel for the two streams.

Thanks,
Dave

Hi,
The engines are enabled automatically. Please execute sudo tegrastats. If two engines are enabled and running, you will see NVENC and NVENC1.

Thanks, seems like they are both enabled as this is what tegrastats reports:

RAM 3045/15823MB (lfb 2864x4MB) SWAP 0/7911MB (cached 0MB) CPU [44%@2264,16%@2264,2%@2264,6%@2263,2%@2264,3%@2254,2%@2264,1%@2264] EMC_FREQ 16%@2133 GR3D_FREQ 13%@1338 NVENC 115 NVENC1 115 APE 150 MTS fg 0% bg 3% AO@46C GPU@48C Tdiode@49C PMIC@100C AUX@45C CPU@48.5C thermal@46.95C Tboard@42C GPU 7222/7398 CPU 1843/1799 SOC 5226/5203 CV 0/0 VDDRQ 1075/1074 SYS5V 3410/3396