Deepstream_test1_rtsp_out.py No such file "rtsp://admin:122334#s@192.168.1.69:8554/ds-test"

Deepstream Version : 5.1
Device : Jetson nano

Command :
python3 deepstream_test1_rtsp_out.py -i rtsp://admin:122334#s@192.168.1.69:8554/ds-test

Error :

Creating Pipeline 
 
Creating Source 
 
Creating H264Parser 

Creating Decoder 

Creating H264 Encoder
Creating H264 rtppay
Playing file rtsp://admin:122334#s@192.168.1.69:8554/ds-test 
Adding elements to Pipeline 

Linking elements in the Pipeline 


 *** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***


Starting pipeline 

Opening in BLOCKING MODE 
Opening in BLOCKING MODE 
0:00:39.094802688    57     0x19880e60 INFO                 nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1701> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-5.0/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_fp16.engine
INFO: [Implicit Engine Info]: layers num: 3
0   INPUT  kFLOAT input_1         3x368x640       
1   OUTPUT kFLOAT conv2d_bbox     16x23x40        
2   OUTPUT kFLOAT conv2d_cov/Sigmoid 4x23x40         

0:00:39.356408224    57     0x19880e60 INFO                 nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1805> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-5.0/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_fp16.engine
0:00:43.260616685    57     0x19880e60 INFO                 nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary-inference> [UID 1]: Load new model:dstest1_pgie_config.txt sucessfully
Error: gst-resource-error-quark: Resource not found. (3): gstfilesrc.c(533): gst_file_src_start (): /GstPipeline:pipeline0/GstFileSrc:file-source:
No such file "rtsp://admin:122334#s@192.168.1.69:8554/ds-test"

But able to access the IP camera by using below command

gst-launch-1.0 rtspsrc user-id=“admin” user-pw=“122334#s” location=“rtsp://192.168.1.69:554” latency=200 ! rtph264depay ! h264parse ! omxh264dec ! nvoverlaysink overlay-x=800 overlay-y=50 overlay-w=640 overlay-h=480 overlay=2

Seems it is caused by the “#” in your password. Gstreamer uridecodebin can not handle it.

Password is different from what i posted here. The original password didn’t have any special characters even…

Please read the README file deepstream_python_apps/README at master · NVIDIA-AI-IOT/deepstream_python_apps · GitHub.

deepstream_test1_rtsp_out.py only support H264 raw data input