Deepstream msgbroker/msgconverter not working

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
Jetson Orin NX
• DeepStream Version
DeepStream 7.0
• JetPack Version (valid for Jetson only)
JetPack 6.0
• TensorRT Version
TensorRT 8.6.2.3
• NVIDIA GPU Driver Version (valid for GPU only)
NVIDIA UNIX Open Kernel Module for aarch64 540.3.0
• Issue Type( questions, new requirements, bugs)
I tried to add msgbroker and msgconv to my config, and want it to send message about detection result. Deepstream runs but I didn’t receive the message and I can’t find the problem. Here’s my app config, mqtt config, and msgconv config

image

image

mqtt seems working when I run deepstream-app -c deepstream_app_config.txt


I guess I set my msgconv config or msgbroker config wrong but I have no idea how to fix it.
Could someone help me with this? Thank you.

you did not set msg-conv-msg2p-new-api, the default is 0. please find “msg2p-newapi” in the doc for the explanation.
if you are testing deepstram-app, you need to add generate_event_msg_meta, or you can use deepstream-test5 because test5 already added the code. you also can set msg-conv-msg2p-new-api to 1 , then generate_event_msg_meta is not needed because the messages are sent based on NvDsFrameMeta.

I tried adding msg-conv-msg2p-newapi=1 to sink but it showed “Unknown key ‘msg-conv-msg2p-newapi’ for group”.


sink 2

How can I fix this?

please correct it to msg-conv-msg2p-new-api. please refer to \opt\nvidia\deepstream\deepstream\sources\apps\sample_apps\deepstream-test5\configs\test5_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt

Thanks, it starts working now but I encountered another problem


I can now get the messages sent from publisher but the app sometimes crash and the error above shows. What reason causes this fail?

sorry for the late reply! from the screenshot above. the vital error is “the client is not currently connected.”, which is from mosquitto low-level lib.

Thanks for your help.

Sorry for the late reply, Is this still an DeepStream issue to support?

I am now using deepstream-python-app and trying deepstream test4 but encountered this error


I don’t understand the problem

  1. if appending “–no-display” to the command-line, can the command-line run well?
  2. can this cmd “gst-launch-1.0 filesrc location=/opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.mp4 ! qtdemux ! h264parse ! nvv4l2decoder ! nv3dsink” run well?

Thanks, “–no-display” solved the problem. Btw is there any way to send the image data of rtsp streams with mqtt? Is it possible by only setting the deepstream app configurations or adding commands?

DeepStream C++ sample deepstrem-test4 can send the image by the broker. please refer to the " 3.Send the image by the broker based on Kafka" of \opt\nvidia\deepstream\deepstream-7.0\sources\apps\sample_apps\deepstream-test4\README. you can port the functionality to Python code.

Ok, I’ll give it a try.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.