Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Jetson Nano
• DeepStream Version 6.0
• JetPack Version (valid for Jetson only) 4.6
• TensorRT Version 8.0.1
• NVIDIA GPU Driver Version (valid for GPU only) -
• Issue Type( questions, new requirements, bugs) Problem / question
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
- Install deepstream 6.0
/opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/source1_usb_dec_infer_resnet_int8.txt config file a bit:
- Set enable=0 on sink0 and sink1
- Set enable=1 on sink2
- Plug in USB webcam
sudo deepstream-app -c /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/source1_usb_dec_infer_resnet_int8.txt
It gives message:
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***
- Open VLC on Jetson Nano
- Media → Oopen Network Stream… → enter the url
rtsp://localhost:8554/ds-test → Play
This gives the error in log:
live555 demux error: Failed to connect with rtsp://localhost:8554/ds-test
satip stream error: Failed to setup RTSP session
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
How can I use RTSP as a sink? I want to view the sink. It looks like it sends the stream, but I cannot open it so I suspect it does not work.
On Jetson Nano please try gst-launch-1.0 command like:
gst-launch-1.0 uridecodebin uri=rtsp://localhost:8554/ds-test ! nvoverlaysink
On another PC you can use VLC. Please make sure you replace localhost with IP address of Jetson Nano.
I have tried using
gst-launch-1.0 like you said but it did not work. I could not find much about this issue on the internet, but it looks like the RTSP setup is going wrong on the server side? Also on another PC the VLC does not work at this moment.
user@jetson-nano:~$ gst-launch-1.0 uridecodebin uri="rtsp://localhost:8554/ds-test" ! nvoverlaysink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://localhost:8554/ds-test
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
ERROR: from element /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source: Unhandled error
Additional debug info:
gstrtspsrc.c(6161): gst_rtspsrc_send (): /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
Bad Request (400)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ..
to give more information, this is my config file (the same file does work if I use EglSink instead of RTSP):
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP 5=CSI
## Boolean property to inform muxer that sources are live
## Set to 1 to process @ source framerate, 0 for asap
##time out in usec, to wait after the first buffer is available
##to push the batch even if the complete batch is not formed
## Set muxer output width and height
#Required by the app for OSD, not a plugin property
#Required to display the PGIE labels, should be added even when using config-file property
# Nano can not do int8, so use fp16
#Required by the app for SGIE, when used along with config-file property
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming 5=Overlay
#encoder type 0=Hardware 1=Software
#H264 Profile - 0=Baseline 2=Main 4=High
#H265 Profile - 0=Main 1=Main10
# set below properties in case of RTSPStreaming
# For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively
# ll-config-file required to set different tracker types
Please try overlaysink and saving to a file. To check if other types of sink work.
What else could it be? I’m very confused
Please clean cache and try again:
$ rm ~/.cache/gstreamer-1.0/registry.aarch64.bin
We try to enable [sink2] in source1_usb_dec_infer_resnet_int8.txt and run deepstream-app. Don’t hit this issue. Can run the command on Jetson Nano:
$ gst-launch-1.0 uridecodebin uri=rtsp://localhost:8554/ds-test ! nvoverlaysink
And on another PC can open the stream through VLC player. If you still have issue please consider to re-flash the system.
Re-flashing the system worked. I found out that there was some old RTSP server running on startup… For future questions, check if there is a process listening on the port for RTSP!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.