Can not run deepstream with multiple h265 rtsp source

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) 4090
• DeepStream Version 7.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• 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)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

“I encountered a similar issue. I have an RTSP stream using H265, and when running multiple RTSP sources with deepstream-test3, everything works fine with up to 6 sources. However, when the source-list contains 7 or more sources, it throws an error.”
I guess there is some kind of limitation inside the container, such as the UDP buffer size.

log.txt (19.5 KB)

I have same issue in

I run code in docker container based on nvcr.io/nvidia/deepstream:7.0-triton-multiarch images
Thanks.

udpsrc gstudpsrc.c:1647:gst_udpsrc_open:<udpsrc5> have udp buffer of 212992 bytes while 524288 were requested

Do you mean the logs above? This is not an error. If you set the kernel recv buffer using sysctl -w net.core.rmem_max=524288, these logs will no longer appear.

ERROR from element source: Could not write to resource.
0:00:00.235068146  1993 0x70c7b0003160 WARN                 rtspsrc gstrtspsrc.c:8877:gst_rtspsrc_play:<source> failed to open stream
Error details: ../gst/rtsp/gstrtspsrc.c(7661): gst_rtspsrc_setup_streams_start (): /GstPipeline:dstest3-pipeline/GstBin:source-bin-06/GstURIDecodeBin:uri-decode-bin-%i/GstRTSPSrc:source:
Error (500): Internal Server Error
Returned, stopping playback

It looks like your rtsp camera has a limit on the number of connections.

1 Like