Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Tesla T4
• DeepStream Version 5.0.1 (docker)
• TensorRT Version 7.0.11
• NVIDIA GPU Driver Version (valid for GPU only) 465.19.01
• Issue Type( questions, new requirements, bugs) Question/bug
Someone raised similar issue RTSP Stream inputs lost with deepstream-app
I’m testing on multiple RTSP streams. Using 6 streams, it works fine. Using >=7 streams,I get the following output:
** INFO: <bus_callback:181>: Pipeline ready
** INFO: <bus_callback:167>: Pipeline running
**PERF: FPS 0 (Avg) FPS 1 (Avg) FPS 2 (Avg) FPS 3 (Avg) FPS 4 (Avg) FPS 5 (Avg) FPS 6 (Avg)
**PERF: 13.63 (13.45) 0.00 (0.00) 13.82 (13.64) 13.63 (13.45) 13.82 (13.64) 14.19 (14.01) 14.19 (14.01)
**PERF: 14.39 (8.68) 0.00 (0.00) 14.39 (8.81) 14.39 (8.68) 14.39 (8.81) 14.39 (8.94) 14.39 (8.94)
**PERF: 0.00 (5.24) 0.00 (0.00) 0.00 (5.35) 0.00 (5.24) 0.00 (5.35) 0.00 (5.43) 0.00 (5.43)
**PERF: 0.00 (3.75) 0.00 (0.00) 0.00 (3.84) 0.00 (3.75) 0.00 (3.84) 0.00 (3.89) 0.00 (3.89)
**PERF: 0.00 (2.92) 0.00 (0.00) 0.00 (2.99) 0.00 (2.92) 0.00 (2.99) 0.00 (3.04) 0.00 (3.04)
**PERF: 0.00 (2.39) 0.00 (0.00) 0.00 (2.45) 0.00 (2.39) 0.00 (2.45) 0.00 (2.49) 0.00 (2.49)
**PERF: 0.00 (2.02) 0.00 (0.00) 0.00 (2.08) 0.00 (2.02) 0.00 (2.08) 0.00 (2.11) 0.00 (2.11)
**PERF: 0.00 (1.75) 0.00 (0.00) 0.00 (1.80) 0.00 (1.75) 0.00 (1.80) 0.00 (1.83) 0.00 (1.83)
**PERF: 0.00 (1.55) 0.00 (0.00) 0.00 (1.59) 0.00 (1.55) 0.00 (1.59) 0.00 (1.62) 0.00 (1.62)
**PERF: 0.00 (1.39) 0.00 (0.00) 0.00 (1.42) 0.00 (1.39) 0.00 (1.42) 0.00 (1.45) 0.00 (1.45)
**PERF: 0.00 (1.25) 0.00 (0.00) 0.00 (1.29) 0.00 (1.25) 0.00 (1.29) 0.00 (1.31) 0.00 (1.31)
**PERF: 0.00 (1.15) 0.00 (0.00) 0.00 (1.18) 0.00 (1.15) 0.00 (1.18) 0.00 (1.20) 0.00 (1.20)
**PERF: 0.00 (1.05) 0.00 (0.00) 0.00 (1.08) 0.00 (1.05) 0.00 (1.08) 0.00 (1.10) 0.00 (1.10)
**PERF: 0.00 (0.98) 0.00 (0.00) 0.00 (1.00) 0.00 (0.98) 0.00 (1.00) 0.00 (1.02) 0.00 (1.02)
**PERF: 0.00 (0.91) 0.00 (0.00) 0.00 (0.94) 0.00 (0.91) 0.00 (0.94) 0.00 (0.95) 0.00 (0.95)
**PERF: 0.00 (0.85) 0.00 (0.00) 0.00 (0.87) 0.00 (0.85) 0.00 (0.87) 0.00 (0.89) 0.00 (0.89)
**PERF: 0.00 (0.80) 0.00 (0.00) 0.00 (0.82) 0.00 (0.80) 0.00 (0.82) 0.00 (0.83) 0.00 (0.83)
**PERF: 0.00 (0.75) 0.00 (0.00) 0.00 (0.78) 0.00 (0.75) 0.00 (0.78) 0.00 (0.79) 0.00 (0.79)
**PERF: 0.00 (0.71) 0.00 (0.00) 0.00 (0.73) 0.00 (0.71) 0.00 (0.73) 0.00 (0.74) 0.00 (0.74)
**PERF: 0.00 (0.68) 0.00 (0.00) 0.00 (0.70) 0.00 (0.68) 0.00 (0.70) 0.00 (0.71) 0.00 (0.71)
**PERF: FPS 0 (Avg) FPS 1 (Avg) FPS 2 (Avg) FPS 3 (Avg) FPS 4 (Avg) FPS 5 (Avg) FPS 6 (Avg)
**PERF: 0.00 (0.64) 0.00 (0.00) 0.00 (0.66) 0.00 (0.64) 0.00 (0.66) 0.00 (0.67) 0.00 (0.67)
Using 6 streams:
**PERF: FPS 0 (Avg) FPS 1 (Avg) FPS 2 (Avg) FPS 3 (Avg) FPS 4 (Avg) FPS 5 (Avg)
**PERF: 21.25 (20.98) 0.00 (0.00) 21.74 (21.47) 24.14 (23.83) 21.98 (21.69) 0.00 (0.00)
**PERF: 20.50 (20.74) 14.08 (13.95) 21.30 (21.43) 20.70 (21.89) 20.70 (21.12) 18.81 (18.74)
**PERF: 14.04 (18.11) 14.04 (13.99) 14.04 (18.56) 14.04 (18.81) 14.04 (18.34) 14.04 (15.91)
**PERF: 14.10 (16.95) 14.10 (13.99) 14.10 (17.29) 14.10 (17.46) 14.10 (17.12) 14.10 (15.19)
**PERF: 14.16 (16.35) 14.16 (14.06) 14.16 (16.62) 14.16 (16.74) 14.16 (16.48) 14.16 (14.92)
**PERF: 14.00 (15.93) 14.00 (14.04) 14.00 (16.15) 14.00 (16.25) 14.00 (16.03) 14.00 (14.72)
**PERF: 13.96 (15.63) 13.96 (14.03) 13.96 (15.83) 13.96 (15.91) 13.96 (15.72) 13.96 (14.60)
**PERF: 13.99 (15.42) 13.99 (14.03) 13.99 (15.59) 13.99 (15.65) 13.99 (15.50) 13.99 (14.51)
OSD, tracker disabled, tiler, disabled
config:
##############################
# NOTE: This file is automatically created by dsConfigParser. Don't edit it!
##############################
[application]
enable-perf-measurement=1
perf-measurement-interval-sec=5
#gie-kitti-output-dir=/var/ppeye/log/deepstreamLog/
kitti-track-output-dir=/var/febrieye/log/deepstreamLog/
[tiled-display]
enable=0
width=1920
height=1080
rows=1
columns=1
gpu-id=0
#(0): nvbuf-mem-default - Default memory allocated, specific to particular platform
#(1): nvbuf-mem-cuda-pinned - Allocate Pinned/Host cuda memory, applicable for Tesla
#(2): nvbuf-mem-cuda-device - Allocate Device cuda memory, applicable for Tesla
#(3): nvbuf-mem-cuda-unified - Allocate Unified cuda memory, applicable for Tesla
#(4): nvbuf-mem-surface-array - Allocate Surface Array memory, applicable for Jetson
nvbuf-memory-type=0
[source0]
enable=1
#Type - 1=CameraV4L#2 2=URI 3=MultiURI 4=RTSP
type=4
uri=rtsp://admin:admin123@10.33.1.21:554
num-sources=1
gpu-id=0
# (0): memtype_device - Memory type Device
# (1): memtype_pinned - Memory type Host Pinned
# (2): memtype_unified - Memory type Unified
cudadec-memtype=0
[source1]
enable=1
#Type - 1=CameraV4L#2 2=URI 3=MultiURI 4=RTSP
type=4
uri=rtsp://admin:admin123@10.33.1.21:554
num-sources=1
gpu-id=0
# (0): memtype_device - Memory type Device
# (1): memtype_pinned - Memory type Host Pinned
# (2): memtype_unified - Memory type Unified
cudadec-memtype=0
[source2]
enable=1
#Type - 1=CameraV4L#2 2=URI 3=MultiURI 4=RTSP
type=4
uri=rtsp://admin:admin123@10.33.1.21:554
num-sources=1
gpu-id=0
# (0): memtype_device - Memory type Device
# (1): memtype_pinned - Memory type Host Pinned
# (2): memtype_unified - Memory type Unified
cudadec-memtype=0
[source3]
enable=1
#Type - 1=CameraV4L#2 2=URI 3=MultiURI 4=RTSP
type=4
uri=rtsp://admin:admin123@10.33.1.21:554
num-sources=1
gpu-id=0
# (0): memtype_device - Memory type Device
# (1): memtype_pinned - Memory type Host Pinned
# (2): memtype_unified - Memory type Unified
cudadec-memtype=0
[source4]
enable=1
#Type - 1=CameraV4L#2 2=URI 3=MultiURI 4=RTSP
type=4
uri=rtsp://admin:admin123@10.33.1.21:554
num-sources=1
gpu-id=0
# (0): memtype_device - Memory type Device
# (1): memtype_pinned - Memory type Host Pinned
# (2): memtype_unified - Memory type Unified
cudadec-memtype=0
[source5]
enable=1
#Type - 1=CameraV4L#2 2=URI 3=MultiURI 4=RTSP
type=4
uri=rtsp://admin:admin123@10.33.1.21:554
num-sources=1
gpu-id=0
# (0): memtype_device - Memory type Device
# (1): memtype_pinned - Memory type Host Pinned
# (2): memtype_unified - Memory type Unified
cudadec-memtype=0
[source6]
enable=1
#Type - 1=CameraV4L#2 2=URI 3=MultiURI 4=RTSP
type=4
uri=rtsp://admin:admin123@10.33.1.21:554
num-sources=1
gpu-id=0
# (0): memtype_device - Memory type Device
# (1): memtype_pinned - Memory type Host Pinned
# (2): memtype_unified - Memory type Unified
cudadec-memtype=0
[sink0]
enable=1
# 1=Fakesink, 2=EGL (nveglglessink), 3=Filesink, 4=RTSP, 5=Overlay (Jetson only)
type=1
#1=mp4 2=mkv
container=1
#1=h264 2=h265
codec=1
#encoder type 0=Hardware 1=Software
enc-type=0
sync=0
#iframeinterval=10
bitrate=2000000
#H264 Profile - 0=Baseline 2=Main 4=High
#H265 Profile - 0=Main 1=Main10
profile=0
source-id=0
[sink1]
enable=1
# 1=Fakesink, 2=EGL (nveglglessink), 3=Filesink, 4=RTSP, 5=Overlay (Jetson only)
type=1
#1=mp4 2=mkv
container=1
#1=h264 2=h265
codec=1
#encoder type 0=Hardware 1=Software
enc-type=0
sync=0
#iframeinterval=10
bitrate=2000000
#H264 Profile - 0=Baseline 2=Main 4=High
#H265 Profile - 0=Main 1=Main10
profile=0
source-id=1
[sink2]
enable=1
# 1=Fakesink, 2=EGL (nveglglessink), 3=Filesink, 4=RTSP, 5=Overlay (Jetson only)
type=1
#1=mp4 2=mkv
container=1
#1=h264 2=h265
codec=1
#encoder type 0=Hardware 1=Software
enc-type=0
sync=0
#iframeinterval=10
bitrate=2000000
#H264 Profile - 0=Baseline 2=Main 4=High
#H265 Profile - 0=Main 1=Main10
profile=0
source-id=2
[sink3]
enable=1
# 1=Fakesink, 2=EGL (nveglglessink), 3=Filesink, 4=RTSP, 5=Overlay (Jetson only)
type=1
#1=mp4 2=mkv
container=1
#1=h264 2=h265
codec=1
#encoder type 0=Hardware 1=Software
enc-type=0
sync=0
#iframeinterval=10
bitrate=2000000
#H264 Profile - 0=Baseline 2=Main 4=High
#H265 Profile - 0=Main 1=Main10
profile=0
source-id=3
[sink4]
enable=1
# 1=Fakesink, 2=EGL (nveglglessink), 3=Filesink, 4=RTSP, 5=Overlay (Jetson only)
type=1
#1=mp4 2=mkv
container=1
#1=h264 2=h265
codec=1
#encoder type 0=Hardware 1=Software
enc-type=0
sync=0
#iframeinterval=10
bitrate=2000000
#H264 Profile - 0=Baseline 2=Main 4=High
#H265 Profile - 0=Main 1=Main10
profile=0
source-id=4
[sink5]
enable=1
# 1=Fakesink, 2=EGL (nveglglessink), 3=Filesink, 4=RTSP, 5=Overlay (Jetson only)
type=1
#1=mp4 2=mkv
container=1
#1=h264 2=h265
codec=1
#encoder type 0=Hardware 1=Software
enc-type=0
sync=0
#iframeinterval=10
bitrate=2000000
#H264 Profile - 0=Baseline 2=Main 4=High
#H265 Profile - 0=Main 1=Main10
profile=0
source-id=5
[sink6]
enable=1
# 1=Fakesink, 2=EGL (nveglglessink), 3=Filesink, 4=RTSP, 5=Overlay (Jetson only)
type=1
#1=mp4 2=mkv
container=1
#1=h264 2=h265
codec=1
#encoder type 0=Hardware 1=Software
enc-type=0
sync=0
#iframeinterval=10
bitrate=2000000
#H264 Profile - 0=Baseline 2=Main 4=High
#H265 Profile - 0=Main 1=Main10
profile=0
source-id=6
[osd]
enable=0
gpu-id=0
border-width=1
text-size=12
text-color=1;1;1;1;
text-bg-color=0.3;0.3;0.3;0.5
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]
batch-size=7
## Set muxer output width and height
width=1920
height=1080
##Boolean property to inform muxer that sources are live
live-source=1
gpu-id=0
##time out in usec, to wait after the first buffer is available
##to push the batch even if the complete batch is not formed
batched-push-timeout=40000
##Enable to maintain aspect ratio wrt source, and allow black borders, works
##along with width, height properties
enable-padding=0
nvbuf-memory-type=0
[primary-gie]
enable=1
gpu-id=0
#interval=2
gie-unique-id=1
nvbuf-memory-type=0
model-engine-file=/opt/nvidia/deepstream/deepstream-5.0/sources/objectDetector_Yolo/yolov3_b1_gpu0_int8.engine
config-file=pgie_yolov3_config.txt
[tracker]
enable=0
# For the case of NvDCF tracker, tracker-width and tracker-height must be a multiple of 32, respectively
tracker-width=640
tracker-height=384
ll-lib-file=/opt/nvidia/deepstream/deepstream-5.0/lib/libnvds_nvdcf.so
#ll-config-file required for DCF/IOU only
ll-config-file=tracker_config.yml
#ll-config-file=iou_config.txt
gpu-id=0
#enable-batch-process applicable to DCF only
enable-batch-process=1
#enable-past-frame=0
[tests]
file-loop=1
deepstreamConfig.txt (6.5 KB)