I was trying to make deepstream_test_4.py
run.
I followed the mosquitto path and installed the mosquitto drivers first.
Then I altered cfg_mqtt.txt
and configured username and password as well as TLS.
I added the path to where the mosquitto driver was installed to LD_LIBRARY_PATH.
I’m launching the app and get this:
python3 deepstream_test_4.py -i /opt/nvidia/deepstream/deepstream-6.4/samples/streams/sample_720p.h264 --conn-str="server-address;server-port;server-topic" -p /opt/nvidia/deepstream/deepstream-6.4/lib/libnvds_mqtt_proto.so
Creating Pipeline
Creating Source
Creating H264Parser
Creating Decoder
Creating EGLSink
Playing file /opt/nvidia/deepstream/deepstream-6.4/samples/streams/sample_720p.h264
Adding elements to Pipeline
Linking elements in the Pipeline
/opt/nvidia/deepstream/deepstream-6.4/sources/deepstream_python_apps/apps/deepstream-test4/deepstream_test_4.py:355: DeprecationWarning: Gst.Element.get_request_pad is deprecated
sinkpad = streammux.get_request_pad("sink_0")
Starting pipeline
Error: gst-library-error-quark: Could not initialize supporting library. (3): gstnvmsgbroker.cpp(395): legacy_gst_nvmsgbroker_start (): /GstPipeline:pipeline0/GstNvMsgBroker:nvmsg-broker:
unable to open shared library
I’m wondering, what shared library fails here. The configured *.so is in place.
ls /opt/nvidia/deepstream/deepstream-6.4/lib/libnvds_mqtt_proto.so
/opt/nvidia/deepstream/deepstream-6.4/lib/libnvds_mqtt_proto.so