RTSP out not working in Deepstrem app


DeepStream Version 7.1

Running the sample code with nvinferserver deepstream_test1_rtsp_in_rtsp_out.py

I am adding log for you’re reference

log.log (371.7 KB)

I changed the rtsp port 8554 to 8555, due to I am sending RTSP as input it’s using the same port (8554)

Hi @talk2rajasimman - have moved your post to the DeepStream forum so the right team can help out!

1 Like
  1. are there more logs after printing “INFO: TritonGrpcBackend id:2 initialized for model: person”, if so , could you share the whole logs? Thanks!
  2. pleas refer to readme for how to run this sample. did you modify the code and cfgs? if so, could you share the diff?

@fanzh FYI I have added custom parser into my config file and not made any changes in the pipeline, I have attached here FYF,

Uploading: config_triton_grpc_infer_primary_person.txt…

form the screenshot, the outrtsp url is rtsp://localhost:9554/ds-test, can the player play this url well? if not, could you share the 1.log after running the following cmd?

gst-launch-1.0 uridecodebin uri=rtsp://localhost:8555/ds-test !  fakesink  >1.log 2>&1

@fanzh I have updated the port 9554 into 8555,
I am attaching log file here,
1.log (669 Bytes)
10.0.0.104 is my localhost

from the error “Failed to connect. (Generic error)”, it should be the network issue.
can you play the url on the same device running the deepstream-app?

I am running in the same only

without any code and cfg modifications, I can’t reproduce this issue in DS7.1 docker container. Here are my logs. testurl-log.txt (943 Bytes). app-log.txt (4.4 KB)
To narrow down this issue, without any code and cfg modifications, can you reproduce this issue? Thanks!

While ingest .mp4 i can able to get the same response,
I am using local RTSP server with port 8554 ( rtsp://localhost:8554/mystream ) facing the issue even changed the port in the deepstream code.

  1. do the python code and gst-launch run in the docker container?
  2. please don’t modify the code and cfg first. run “python3 deepstream_test1_rtsp_in_rtsp_out.py -i file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.mp4 -g nvinfer” , then run “gst-launch-1.0 uridecodebin uri=rtsp://localhost:8554/ds-test ! fakesink”. can gst-launch-1.0 cmd run well? can vlc or ffplay play rtsp://localhost:8554/ds-test well?
  3. if still can’t work, could you share the result of “netstat -anp |grep 8554”?

Where can i download the resnet10.caffemodel those models which configured in the dstest1_pgie_config.txt?

unable to find those path at deepstream-7.1

resnet10.caffemodel is substituted by resnet18_trafficcamnet_pruned.onnx. plese use the cfg /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test1/dstest1_pgie_config.txt n Deepstream7.1.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.