Skip to content

Failed to run metapublish example #454

@xiangyang-95

Description

@xiangyang-95

I am unable to run the metapublish example. Using GST_DEBUG=1, this is the error log shown.
I have verified that the MQTT broker is working correctly.

./metapublish.sh https://github.com/intel-iot-devkit/sample-videos/raw/master/head-pose-face-detection-female-and-male.mp4 mqtt
MODELS_PATH: /home/user/test/models
gst-launch-1.0 urisourcebin buffer-size=4096 uri=https://github.com/intel-iot-devkit/sample-videos/raw/master/head-pose-face-detection-female-and-male.mp4 ! decodebin ! gvadetect model=/home/user/test/models/intel/face-detection-adas-0001/FP32/face-detection-adas-0001.xml device=CPU ! queue ! gvaclassify model=/home/user/test/models/intel/age-gender-recognition-retail-0013/FP32/age-gender-recognition-retail-0013.xml model-proc=./model_proc/age-gender-recognition-retail-0013.json device=CPU ! queue ! gvametaconvert json-indent=-1 ! gvametapublish method=mqtt file-format=json-lines address=localhost:1883 topic=dlstreamer ! fakesink sync=false
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Setting pipeline to PLAYING ...
Buffering, setting pipeline to PAUSED ...
Done buffering, setting pipeline to PLAYING ...
Buffering, setting pipeline to PAUSED ...
Done buffering, setting pipeline to PLAYING ...
Buffering, setting pipeline to PAUSED ...
Done buffering, setting pipeline to PLAYING ...
Buffering, setting pipeline to PAUSED ...
Done buffering, setting pipeline to PLAYING ...
Buffering, setting pipeline to PAUSED ...
Done buffering, setting pipeline to PLAYING ...
Redistribute latency...
Got context from element 'vah264dec0': gst.va.display.handle=context, gst-display=(GstObject)"\(GstVaDisplayDrm\)\ vadisplaydrm3", description=(string)"Intel\(R\)\ Gen\ Graphics", path=(string)/dev/dri/renderD128;
Redistribute latency...
Buffering, setting pipeline to PAUSED ...
Redistribute latency...
Done buffering, setting pipeline to PLAYING ...
Buffering, setting pipeline to PAUSED ...
Done buffering, setting pipeline to PLAYING ...
Buffering, setting pipeline to PAUSED ...
Done buffering, setting pipeline to PLAYING ...
Buffering, setting pipeline to PAUSED ...
Done buffering, setting pipeline to PLAYING ...
Buffering, setting pipeline to PAUSED ...
Done buffering, setting pipeline to PLAYING ...
0:00:00.375205084 486144 0x748254000b70 ERROR     gvametapublishmqtt gvametapublishmqtt.cpp:311:publish:<gvametapublishmqtt0> Message was not accepted for publication. Error code -3.
Redistribute latency...
0:00:00.375406581 486144 0x748254000b70 ERROR     gvametapublishmqtt gvametapublishmqtt.cpp:311:publish:<gvametapublishmqtt0> Message was not accepted for publication. Error code -3.
New clock: GstSystemClock
0:00:00.376111368 486144 0x748254000b70 ERROR     gvametapublishmqtt gvametapublishmqtt.cpp:311:publish:<gvametapublishmqtt0> Message was not accepted for publication. Error code -3.
0:00:00.376855893 486144 0x748254000b70 ERROR     gvametapublishmqtt gvametapublishmqtt.cpp:311:publish:<gvametapublishmqtt0> Message was not accepted for publication. Error code -3.
0:00:00.377400217 486144 0x748254000b70 ERROR     gvametapublishmqtt gvametapublishmqtt.cpp:311:publish:<gvametapublishmqtt0> Message was not accepted for publication. Error code -3.
0:00:00.377719956 486144 0x748254000b70 ERROR     gvametapublishmqtt gvametapublishmqtt.cpp:311:publish:<gvametapublishmqtt0> Message was not accepted for publication. Error code -3.
0:00:00.377862367 486144 0x748254000b70 ERROR     gvametapublishmqtt gvametapublishmqtt.cpp:311:publish:<gvametapublishmqtt0> Message was not accepted for publication. Error code -3.
0:00:00.378059907 486144 0x748254000b70 ERROR     gvametapublishmqtt gvametapublishmqtt.cpp:311:publish:<gvametapublishmqtt0> Message was not accepted for publication. Error code -3.
Buffering, setting pipeline to PAUSED ...
ERROR: from element /GstPipeline:pipeline0/GvaMetaPublish:gvametapublish0/GvaMetaPublishMqtt:gvametapublishmqtt0: Failed to connect to MQTT after maximum configured attempts.
Additional debug info:
/opt/intel/dlstreamer/src/monolithic/gst/elements/gvametapublish/mqtt/gvametapublishmqtt.cpp(96): try_reconnect (): /GstPipeline:pipeline0/GvaMetaPublish:gvametapublish0/GvaMetaPublishMqtt:gvametapublishmqtt0
Execution ended after 0:00:00.231057162
Setting pipeline to NULL ...
Freeing pipeline ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions