Facing RTSP stream output switching (Frames of sinkX visible in stream of sinkY)

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) dGPU
• DeepStream Version 5.1 5.1-21.02-devel
• 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 am facing the same problem of RTSP switching in display just that mentioned in this link. We are at the latest level 5.1-21.02-devel.

[application]
enable-perf-measurement=1
perf-measurement-interval-sec=10

[source0]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.125.93
select-rtp-protocol=4
num-sources=1
camera-id=0
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera100

[source1]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.125.94
select-rtp-protocol=4
num-sources=1
camera-id=1
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera101

[source2]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.125.95
select-rtp-protocol=4
num-sources=1
camera-id=2
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera102

[source3]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.125.96
select-rtp-protocol=4
num-sources=1
camera-id=3
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera103

[source4]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.125.97
select-rtp-protocol=4
num-sources=1
camera-id=4
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera104

[source5]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.117.108
select-rtp-protocol=4
num-sources=1
camera-id=5
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera105

[source6]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.117.109
select-rtp-protocol=4
num-sources=1
camera-id=6
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera106

[source7]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.117.110
select-rtp-protocol=4
num-sources=1
camera-id=7
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera107

[source8]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.117.111
select-rtp-protocol=4
num-sources=1
camera-id=8
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera108

[source9]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.117.112
select-rtp-protocol=4
num-sources=1
camera-id=9
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera109

[source10]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.112.214
select-rtp-protocol=4
num-sources=1
camera-id=10
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera110

[source11]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.112.215
select-rtp-protocol=4
num-sources=1
camera-id=11
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera111

[source12]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.112.216
select-rtp-protocol=4
num-sources=1
camera-id=12
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera112

[source13]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.112.217
select-rtp-protocol=4
num-sources=1
camera-id=13
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera113

[source14]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.176.93
select-rtp-protocol=4
num-sources=1
camera-id=14
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera114

[source15]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.176.94
select-rtp-protocol=4
num-sources=1
camera-id=15
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera115

[source16]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.113.25
select-rtp-protocol=4
num-sources=1
camera-id=16
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera116

[source17]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.113.26
select-rtp-protocol=4
num-sources=1
camera-id=17
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera117

[source18]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.116.111
select-rtp-protocol=4
num-sources=1
camera-id=18
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera118

[source19]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.116.112
select-rtp-protocol=4
num-sources=1
camera-id=19
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera119

[source20]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.116.113
select-rtp-protocol=4
num-sources=1
camera-id=20
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera120

[source21]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.116.114
select-rtp-protocol=4
num-sources=1
camera-id=21
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera121

[source22]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.116.115
select-rtp-protocol=4
num-sources=1
camera-id=22
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera122

[source23]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.116.116
select-rtp-protocol=4
num-sources=1
camera-id=23
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera123

[source24]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.116.117
select-rtp-protocol=4
num-sources=1
camera-id=24
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera124

[source25]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.116.118
select-rtp-protocol=4
num-sources=1
camera-id=25
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera125

[source26]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.114.40
select-rtp-protocol=4
num-sources=1
camera-id=26
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera126

[source27]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.114.41
select-rtp-protocol=4
num-sources=1
camera-id=27
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera127

[source28]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.114.42
select-rtp-protocol=4
num-sources=1
camera-id=28
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera128

[source29]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.114.43
select-rtp-protocol=4
num-sources=1
camera-id=29
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera129

[sink0]
enable=1
type=4
source-id=0
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8554
udp-port=5000
gpu-id=0

[sink1]
enable=1
type=4
source-id=1
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8555
udp-port=5001
gpu-id=0

[sink2]
enable=1
type=4
source-id=2
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8556
udp-port=5002
gpu-id=0

[sink3]
enable=1
type=4
source-id=3
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8557
udp-port=5003
gpu-id=0

[sink4]
enable=1
type=4
source-id=4
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8558
udp-port=5004
gpu-id=0

[sink5]
enable=1
type=4
source-id=5
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8559
udp-port=5005
gpu-id=0

[sink6]
enable=1
type=4
source-id=6
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8560
udp-port=5006
gpu-id=0

[sink7]
enable=1
type=4
source-id=7
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8561
udp-port=5007
gpu-id=0

[sink8]
enable=1
type=4
source-id=8
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8562
udp-port=5008
gpu-id=0

[sink9]
enable=1
type=4
source-id=9
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8563
udp-port=5009
gpu-id=0

[sink10]
enable=1
type=4
source-id=10
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8564
udp-port=5010
gpu-id=0

[sink11]
enable=1
type=4
source-id=11
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8565
udp-port=5011
gpu-id=0

[sink12]
enable=1
type=4
source-id=12
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8566
udp-port=5012
gpu-id=0

[sink13]
enable=1
type=4
source-id=13
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8567
udp-port=5013
gpu-id=0

[sink14]
enable=1
type=4
source-id=14
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8568
udp-port=5014
gpu-id=0

[sink15]
enable=1
type=4
source-id=15
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8569
udp-port=5015
gpu-id=0

[sink16]
enable=1
type=4
source-id=16
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8570
udp-port=5016
gpu-id=0

[sink17]
enable=1
type=4
source-id=17
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8571
udp-port=5017
gpu-id=0

[sink18]
enable=1
type=4
source-id=18
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8572
udp-port=5018
gpu-id=0

[sink19]
enable=1
type=4
source-id=19
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8573
udp-port=5019
gpu-id=0

[sink20]
enable=1
type=4
source-id=20
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8574
udp-port=5020
gpu-id=0

[sink21]
enable=1
type=4
source-id=21
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8575
udp-port=5021
gpu-id=0

[sink22]
enable=1
type=4
source-id=22
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8576
udp-port=5022
gpu-id=0

[sink23]
enable=1
type=4
source-id=23
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8577
udp-port=5023
gpu-id=0

[sink24]
enable=1
type=4
source-id=24
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8578
udp-port=5024
gpu-id=0

[sink25]
enable=1
type=4
source-id=25
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8579
udp-port=5025
gpu-id=0

[sink26]
enable=1
type=4
source-id=26
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8580
udp-port=5026
gpu-id=0

[sink27]
enable=1
type=4
source-id=27
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8581
udp-port=5027
gpu-id=0

[sink28]
enable=1
type=4
source-id=28
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8582
udp-port=5028
gpu-id=0

[sink29]
enable=1
type=4
source-id=29
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8583
udp-port=5029
gpu-id=0

[osd]
enable=1
gpu-id=0
border-width=1
text-size=15
text-color=1;1;1;1
text-bg-color=0.3;0.3;0.3;1
font=Serif
show-clock=0
clock-x-offset=800
clock-y-offset=820
clock-text-size=12
clock-color=1;0;0;0
nvbuf-memory-type=0

[streammux]
gpu-id=0
live-source=1
batch-size=30
batched-push-timeout=60000
width=960
height=544
enable-padding=0
nvbuf-memory-type=0

[primary-gie]
enable=1
gpu-id=0
batch-size=2
bbox-border-color0=1;0;0;1
bbox-border-color1=0;1;1;1
bbox-border-color2=0;0;1;1
bbox-border-color3=0;1;0;1
interval=0
gie-unique-id=1
nvbuf-memory-type=0
config-file=pgie_config.txt

[nvds-analytics]
enable=1
config-file=roi_config.txt

[tracker]
enable=1
tracker-width=960
tracker-height=544
#ll-lib-file=/opt/nvidia/deepstream/deepstream-5.1/lib/libnvds_mot_iou.so
#ll-config-file=iou_config.txt
ll-lib-file=/opt/nvidia/deepstream/deepstream-5.1/lib/libnvds_nvdcf.so
ll-config-file=tracker_config.yml
gpu-id=0
enable-batch-process=1
enable-past-frame=0
display-tracking-id=0

[img-save]
enable=1
second-to-skip-interval=30
min-box-width=40
min-box-height=40

Can you reproduce the problem with 4 sources?

With 4 sources the problem is not observed.
We noticed that the problem is aggravated at 30 rtsp sources and 30 rtsp sinks when we are viewing all 30 rtsp sinks. When we view one or two rtsp sinks then we don’t observe this issue.

We also notice heavy pixelation or ghosting in viewing just one feed as well.

It may be caused by streaming packets lost.

What does “When we view one or two rtsp sinks then we don’t observe this issue.” mean?
Do you mean you have configured to output 30 streams in different ports, when you observe one or two of the streams with stream player(e.g. VLC player), the streams display compatible to the source id. But when you open 30 player, some players(or all players) show the content in mess?

Any ideas how we can debug and resolve this. Need to stabilise the production system. In running 2-3 streams (source and sink) this problem is not observed but at 30 this becomes prominent.

Is my above description correct for your case?

Yes. The moment the app starts running we use ffmpeg to capture the RTSP feeds nd convert to HLS to be displayed on our UI webpage. We typically form groups of 30 RTSP sources with 30 RTSP sinks each with unique RTSP nd UDP ports.

Can you view the rtsp stream directly with vlc player? When you view two of the 30 streams, they are correct, but when you view 30 of the 30 streams, they are mess. If my description is correct, the problem may not in deepstream side. Once the stream is generated, the port number can not change, and the rtsp server just send the designated stream to the designated port. So whether you view 2 of the 30 streams or you view 30 of the 30 streams, there is no difference.

Till now we tried changing live-source from 0 to 1 and vice versa.
Tried bit-rate from 4000000 to 500000 in sink.
Tried different codec 1 or 2 in sink.
Tried different qos 0 or 1 in sink.
Tried different enc-type 1 or 2 in sink.
Tried different iframeinterval from 30 to 5 in sink.
Tried profile 0 or 2 in sink.
Tried changing drop-on-latency from TRUE to FALSE.

Here is out default config.
[sink0]
enable=1
type=4
source-id=0
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8554
udp-port=5000
gpu-id=0

One thing that we have noticed is that along with ghosting we also observe a lag of around 10-15 secs between input and output stream.

The problem is observed in VLC as well.
We have been reporting this issue from 5.0 GA. Based on the announcement in 5.0.1 we though the problem is solved but we have faced this problem in 5.0.1. Then we read about release noted of 5.1 talking about RTSP stability. We face this issue in 5.1 also.

We chose Deepstream over OpenCV for our implementation but facing lots of issues when running 30 streams. We are losing customer confidence. Any help is resolving the issue will be highly appreciated please.

I’ve tested 30 sources and 30 rtsp sinks case in our dGPU platform with DS5.1. It works well. The content for every stream is correct when I play them in the same time with 30 vlc players.

Which dGPU are you using T4? We are using P4. Can you check and confirm same with P4? If you can also share the dumps and videos. Which app are you using. Here are my details:

  1. Resnet18 model at 960X544
  2. Input stream 1920X1080
  3. Streammux setting at 960X544 and batch-size at 30
  4. Input FPS at around 15FPS
  5. Output FPS observed at 5 FPS.

Also please share the details of your setup.

Just config 30 sources and 30 rtsp sinks in deepstream-app config file and run deepstream-app.

Let me also test the same and report results.

Did you run the normal deepstream-app or the deepstream-app compiled in the nvdsanalytics example.

analytics is not enabled