I have tested with following setup while adapting home_surveillance for Jetson Nano:
- JetPack/L4T32.3.1
- OpenCV 4.2.0
- any IP-Cam that outputs RTSP-stream (H.264/MPEG-encoded)
rtspsrc location={URI} ! application/x-rtp, media=video ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvidconv ! video/x-raw, format=BGRx ! videoconvert ! video/x-raw, format=BGR ! appsink
URI would be something like “rtsp://ip-address:port/foo/bar”.
For my IP-cam (EZVIZ CTQ3W) it is for example “rtsp://admin:password@10.0.0.1:554/MJPEG”
Basically it should work with latest JetPack and OpenCV as well.