• Hardware Platform (Jetson / GPU)
GPU
• DeepStream Version
6.2
• NVIDIA GPU Driver Version (valid for GPU only)
525.125.06
• Issue Type( questions, new requirements, bugs)
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)
I have a problem while using http stream which restream mjpeg frames. I’m currently reading two cameras from http and if I disconnect one stream I get nvstreammux: Successfully handled EOS for source_id=1
and if I disconnect another one aswell I get nvstreammux: Successfully handled EOS for source_id=0
But the problem occurs that sometimes the DeepStream app crashes, but sometimes it doesn’t and I can’t reproduce it to be consistent and not crash. I added drop-pipeline-eos=1
to streammux
for DeepStream not to crash.
Logs when DeepStream doesn’t crash:
**PERF: FPS 0 (Avg) FPS 1 (Avg)
**PERF: 28.82 (28.84) 25.75 (24.98)
nvstreammux: Successfully handled EOS for source_id=1
**PERF: 28.82 (28.84) 25.18 (24.89)
**PERF: 28.82 (28.84) 0.00 (23.80)
nvstreammux: Successfully handled EOS for source_id=0
**PERF: 28.77 (27.97) 0.00 (22.80)
**PERF: 0.00 (26.84) 0.00 (21.88)
**PERF: 0.00 (25.80) 0.00 (21.03)
**PERF: 0.00 (24.84) 0.00 (20.24)
**PERF: 0.00 (23.94) 0.00 (19.51)
**PERF: 0.00 (23.11) 0.00 (18.83)
Logs when it does crash:
**PERF: FPS 0 (Avg) FPS 1 (Avg)
**PERF: 29.47 (29.42) 25.44 (25.39)
nvstreammux: Successfully handled EOS for source_id=1
**PERF: 28.81 (29.03) 25.43 (14.52)
**PERF: 28.81 (29.00) 0.00 (9.21)
**PERF: 28.81 (28.93) 0.00 (6.75)
**PERF: 28.82 (28.90) 0.00 (5.32)
nvstreammux: Successfully handled EOS for source_id=0
** INFO: <bus_callback:263>: Received EOS. Exiting ...
Quitting
App run successful
Another issue I have is that http stream don’t reconnect if they start working again after EOS. I tried adding rtsp-reconnect-attempts=-1
and rtsp-reconnect-interval-sec=60
to source
but it didn’t help. How could I make DeepStream reconnect to http streams?
My full config file:
[application]
enable-perf-measurement=1
perf-measurement-interval-sec=15
[tiled-display]
enable=0
rows=1
columns=1
width=1016
height=504
gpu-id=0
nvbuf-memory-type=0
[source0]
enable=1
type=2
uri=http://192.168.0.75:8000/camera/mjpeg
num-sources=1
gpu-id=0
cudadec-memtype=0
rtsp-reconnect-attempts=-1
rtsp-reconnect-interval-sec=60
[source1]
enable=1
type=2
uri=http://192.168.0.196:8000/camera/mjpeg
num-sources=1
gpu-id=0
cudadec-memtype=0
rtsp-reconnect-attempts=-1
rtsp-reconnect-interval-sec=60
[sink0]
enable=1
type=1
sync=0
source-id=0
gpu-id=0
nvbuf-memory-type=0
[sink1]
enable=1
type=1
sync=0
source-id=1
gpu-id=0
nvbuf-memory-type=0
[osd]
enable=0
gpu-id=0
border-width=2
text-size=20
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=2
batched-push-timeout=40000
width=1920
height=1080
enable-padding=0
nvbuf-memory-type=0
drop-pipeline-eos=1
[pre-process]
enable=1
config-file=config_preprocess.txt
[primary-gie]
enable=1
gpu-id=0
batch-size=2
gie-unique-id=1
process-mode=1
nvbuf-memory-type=0
config-file=config_infer_primary.txt