Usage of nvmsgconv and nvmsgbroker in Commandline

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)GPU
• DeepStream Version 6.2
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

i want use nvmsgconv and nvmsgbroker in my Command line with Payload-type is PAYLOAD_DEEPSTREAM_MINIMAL its establishes a connection to the rabbitmq server, but it doesn’t send any payload msgs.Also i checked gst_nvmsgconv_start and gst_nvmsgbroker_start are both starting successfully.

GST_DEBUG=4 gst-launch-1.0 filesrc location=$1 ! qtdemux ! h265parse ! nvv4l2decoder \
! m.sink_0 nvstreammux name=m batch-size=1 width=2208 height=1242 ! nvinfer config-file-path=/opt/added_applications/hole_detection_cv/config_infer_model.txt batch-size=1 model-engine-file=model_b1_gpu0_fp32.engine unique-id=1 \
! tee name=t ! queue ! nvmultistreamtiler rows=1 columns=1 width=2208 height=1242 ! nvvideoconvert ! nvdsosd ! nvvideoconvert ! fpsdisplaysink video-sink=nveglglessink \
t. ! queue ! nvmsgconv payload-type=1  msg2p-lib=/opt/nvidia/deepstream/deepstream/lib/ comp-id=1 \
! nvmsgbroker proto-lib=/opt/nvidia/deepstream/deepstream/lib/ \
topic=sample  config=/opt/nvidia/deepstream/deepstream/sources/libs/amqp_protocol_adaptor/cfg_amqp.txt


hostname =xx.xx.xx.xx
port = 5672
username = user
password = XYZjhoopj
exchange = amq.topic
topic = sample
routing_key = sample
vhost = "/"
#amqp-framesize = 13107
#share-connection = 1

please refer to doc.
nvmsgconv 's msg2p-newapi has two modes.
it’s default value is 0. if so, you need to add NvDsEventMsgMeta as usermeta. please refer to deeptream-test4.
please try “msg2p-newapi=1”.

thanks @fanzh
It is working

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