Hi,
Please run sudo tegrastats to check the system status. The hardware encoder should not be the bottleneck since we ca achieve one 1080p30 h264 + one 1080p30 h265 in gstreamer command:
gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM),width=1920,height=1080,framerate=30/1' ! tee name=t ! queue ! nvv4l2h264enc maxperf-enable=1 ! fpsdisplaysink text-overlay=0 video-sink=fakesink sync=0 -v t. ! queue ! queue ! nvv4l2h265enc maxperf-enable=1 ! fpsdisplaysink text-overlay=0 video-sink=fakesink sync=0 -v
If you have some NvBufferTransform() calls, you can refer to this post and set VIC engine to max clock for a try:
Nvvideoconvert issue, nvvideoconvert in DS4 is better than Ds5? - #3 by DaneLLL
Please also set encoder to max clock.