[Problem Description]
Run deepstream_parallel_inference_app in the container environment (nvidia/deepstream:6.4-gc-triton-devel) (supporting deepstream6.4)。
2 RTSP sources + 2 model inferences, and configured with lot location, sensor and other data. The place ID corresponding to the first source is 0, and the place ID corresponding to the second source should be 1. Both sources have detection outputs. The expected result should be that Kafka can receive the place IDs of 0 and 1. However, currently it can only receive the place ID of 0.
The following are the modifications to the project code:
[Run configuration]
application:
enable-perf-measurement: 1
perf-measurement-interval-sec: 5
source:
csv-file-path: sources.csv
streammux:
batch-size: 2
batched-push-timeout: 40000
buffer-pool-size: 2
enable-padding: 0
gpu-id: 0
width: 1920
height: 1080
live-source: 1
nvbuf-memory-type: 0
config-file: config_streammux.txt
async-process: 1
frame-duration: 10
sync-inputs: 1
max-latency: 10000000
primary-gie0:
enable: 1
gie-unique-id: 1
batch-size: 1
config-file: config_infer_primary_helmet_yoloV5.txt
plugin-type: 0
gpu-id: 0
nvbuf-memory-type: 0
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
branch0:
pgie-id: 1
src-ids: 0;1
primary-gie1:
enable: 1
gie-unique-id: 2
batch-size: 1
config-file: config_infer_primary_yoloV8.txt
plugin-type: 0
gpu-id: 0
nvbuf-memory-type: 0
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
branch1:
pgie-id: 2
src-ids: 0;1
meta-mux:
config-file: config_metamux.txt
enable: 1
tiled-display:
enable: 1
columns: 2
rows: 2
gpu-id: 0
height: 1080
width: 1920
nvbuf-memory-type: 0
osd:
enable: 1
process-mode: 1
gpu-id: 0
nvbuf-memory-type: 0
border-width: 1
font: Serif
text-bg-color: 0.3;0.3;0.3;1
text-color: 1;1;1;1
text-size: 15
show-clock: 1
clock-color: 1;1;1;1
clock-text-size: 12
clock-x-offset: 800
clock-y-offset: 1
sink0:
enable: 1
type: 1
sync: 0
gpu-id: 0
nvbuf-memory-type: 0
source-id: 0
sink1:
enable: 0
type: 2
sync: 0
gpu-id: 0
nvbuf-memory-type: 0
sink2:
enable: 1
type: 6
#sync: 0
#disable-msgconv: 0
msg-conv-config: msgconv_config.yml
msg-conv-payload-type: 0
#msg-conv-msg2p-lib: /opt/nvidia/deepstream/deepstream/lib/libnvds_msgconv.so
msg-conv-msg2p-new-api: 1
iframeinterval: 25
multiple-payloads: 1
new-api: 0
topic: dstest
msg-broker-conn-str: 192.168.1.238;9092
msg-broker-proto-lib: /opt/nvidia/deepstream/deepstream/lib/libnvds_kafka_proto.so
sink3:
enable: 1
type: 4
sync: 0
bitrate: 8000000
codec: 1
enc-type: 0
profile: 0
rtsp-port: 8554
udp-port: 5400
tests:
file-loop: 0
[Pipeline diagram]
[Operation results]
-
Probe log
-
Kafka record