Piping in mqtt messages from broker in nvgraph to display messages in overlay text?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson)
• DeepStream Version 6.3
• JetPack Version (5.1.2)
• Issue Type( question)
• Possible to pipe in mqtt messages from local mosquitto broker in nvgraph in order to display messages as text overlays in nvgraph osd.
**•
Details:
Nvgraph is running on jetson in docker container.
“Cloud message receiver” connects to a topich of mosquitto broker and receives messages. Converting that messages to use the text of it in “on screen display” plugin.
Example: gps coordinates are displayed as a text in a box on the screen.
**

What do you mean? To get message from mqtt server with “subscribe-topic-list” and draw the received message on the video? If the message is for the whole video, it can be done. Just use the display meta is OK. NVIDIA DeepStream SDK API Reference: NvDsDisplayMeta Struct Reference | NVIDIA Docs

1 Like

The subscribe sample is in /opt/nvidia/deepstream/deepstream/sources/apps/apps-common/src/deepstream_c2d_msg.c

To get message from mqtt server with “subscribe-topic-list” and draw the received message on the video?
→ exactly, that is, what I want to be done.
@Fiona.Chen Thank you!

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