Sending FPS only instead of all meta data via gst-nvmsgbroker to MQTT server

Please provide complete information as applicable to your setup.

Please provide complete information as applicable to your setup.

**• AGX ( 32G )
**• DS5.1
**• Jetpack 4.5.1
**• TensorRT 7.1.3
**• Nvidia L4T 32.5.1

• Issue Type( questions, new requirements, bugs)

hi all ,

after made modification to this source on this thread

I am able to send the meta data to the mosquitto server .attached the modification made .

instead of sending this meta data , how to send the FPS only via the msgbroker to mqtt server ?
mqtt client : mosquitto_sub -t “deepstream2”
{
“version” : “4.0”,
“id” : 0,
@timestamp” : “1970-01-01T00:00:00.000Z”,
“sensorId” : “0”,
“objects” : [
“1|537.6|475.2|582.4|518.4|Car”,
“2|611.2|486|710.4|565.2|Car”,
“3|294.4|446.4|451.2|813.6|Person”,
“4|0|410.4|192|1011.6|Person”
]
}

deepstream config
[sink1]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=UDPSink 5=nvoverlaysink 6=MsgConvBroker
type=6
msg-conv-payload-type=1
msg-broker-proto-lib=/opt/nvidia/deepstream/deepstream/lib/mqtt.so
msg-broker-conn-str=localhost;1883;
topic=deepstream2

nvds_mqtt_proto.cpp (5.1 KB)

Please customize your own msg by implement Gst-nvmsgconv — DeepStream 6.1.1 Release documentation

nvmsgconv is open source:

/opt/nvidia/deepstream/deepstream-6.0/sources/libs/nvmsgconv
/opt/nvidia/deepstream/deepstream-6.0/sources/gst-plugins/gst-nvmsgconv

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