Hi, we use gstreamer gst-launch-1.0 to get rtsp video, the command is
gst-launch-1.0 rtspsrc location=“rtsp://admin:media123@192.168.0.108:554/cam/realmonitor?channel=1&subtype=1” ! queue ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! autovideosink
Not sure, but depending on your L4T release on TX2, autovideosink may try using nvoverlaysink that expects NVMM memory as input, not system memory. Try: