• Hardware Platform (Jetson / GPU) NVIDIA L4-12Q
• DeepStream Version 7.1
• TensorRT Version 10.3.0.26
• NVIDIA GPU Driver Version (valid for GPU only) 550.54.14
Hello,
I’m currently using DeepStream 7.1 with a deepstream_app configuration file (deepstream_appv8_config.txt).
[application]
enable-perf-measurement=1
perf-measurement-interval-sec=5[tiled-display]
enable=1
rows=1
columns=1
width=640
height=640
gpu-id=0
nvbuf-memory-type=0[source0]
enable=1
type=4
uri=rtsp:/url:port/mystream
num-sources=1
gpu-id=0
cudadec-memtype=0
latency=200[sink0]
enable=1
type=1
sync=1
gpu-id=0
nvbuf-memory-type=0[sink2]
enable=1
type=4
gpu-id=0
rtsp-port=8554
enc-type=1
#udp-port=5400
bitrate=8000000
profile=0
iframeinterval=10
nvbuf-memory-type=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=1
batched-push-timeout=40000
width=640
height=640
enable-padding=0
nvbuf-memory-type=0[primary-gie]
enable=1
gpu-id=0
gie-unique-id=1
nvbuf-memory-type=0
config-file=config_infer_primary_yolov8.txt
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
The pipeline is working correctly and outputs an RTSP stream as expected.
However, I would like to enable the output of detection metadata and metrics, such as:
- Bounding box information
- Object coordinates
- Class IDs, confidence scores
- Any other inference-related data
My goals are:
- To generate a file (e.g., JSON, CSV, etc.) during runtime containing these detection results.
- Nice to Have: publish these metadata outputs to a message broker, such as MQTT or Kafka.
Could someone please clarify:
- What blocks (e.g.,
[message-converter],[message-broker],[tracker], etc.) and parameters I need to add to the config file to enable this? - Whether it’s possible to produce both a local file and publish metadata to MQTT/Kafka at the same time using
deepstream-app? - Do I need to write a custom probe function or can this be configured entirely via the config file?
Thanks in advance for your help!
Best regards,