Opencv problem with capturing rtsp stream using gstreamer on jetson nano

Hi,
In the code, the camera is v4l2 source and it is opened as RTSP source. You can modfify it byreferring to this sample:
Sony camera module cannot be opened with OpenCV on Xavier - #5 by DaneLLL