Hi,
We have later Jetpack 5.1.3 and 6.0GA. You may consider upgrade from 5.1.1 to latest version.
And please apply the RTSP URL to the python sample and see if it works:
Doesn't work nvv4l2decoder for decoding RTSP in gstreamer + opencv - #3 by DaneLLL
And please apply the pipeline with fakesink to gst-launch-1.0 command to ensure the pipeline is valid. Such as:
$ gst-launch-1.0 rtspsrc location=rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvidconv ! video/x-raw, format=(string)BGRx ! videoconvert ! video/x-raw,format=BGR ! fakesink
If it works in gst-launch-1.0 with fakesink, it is supposed to work in cv2.VideoCapture() with appsink