Hi,
On Jetson Nano we would suggest run gstreamer command and handle/process NVMM buffer from source to sink. Please refer to the steps of launching RTSP through test-launch in Jetson Nano FAQ
It takes certain CPU usage in using OpenCV functions. For optimal performance, please execute sudo nvpmodel -m 0 and sudo jetson_clocks to run CPU cores at max clock.