Recording script based on gstreamer doesn't work with Dahua camera

Hi,
Please try the command and see if camera preview is shown:

$ gst-launch-1.0 rtspsrc location="rtsp://admin:pass@192.168.1.2:554/cam/realmonitor?channel=1/subtype=0" user-id=admin user-pw=pass ! application/x-rtp, media=video, encoding-name=H264 ! queue ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvidconv ! video/x-raw ! videoconvert ! xvimagesink sync=0

We have seen issues that URI is not correctly read:
Deepstream 5.1 Test 3 RTSP Camera INPUT - #3 by DaneLLL
Python Bindings for DeepStream not working with RTSP stream - #8 by DaneLLL