Pose classification with tee and msgbroker

I am have modified tha pose-classification-app

original link-

i have added tee with msgconv and msgbroker at one end and display at other end , iam getting error
0:00:19.013419359 21437 0x55c8211062e0 WARN nvinfer gstnvinfer.cpp:2420:gst_nvinfer_output_loop: error: Internal data stream error.
0:00:19.013436682 21437 0x55c8211062e0 WARN nvinfer gstnvinfer.cpp:2420:gst_nvinfer_output_loop: error: streaming stopped, reason not-linked (-1)
ERROR from element bodypose-classification-nvinference-engine: Internal data stream error.
Error details: gstnvinfer.cpp(2420): gst_nvinfer_output_loop (): /GstPipeline:deepstream_pose_classfication_app/GstNvInfer:bodypose-classification-nvinference-engine:
streaming stopped, reason not-linked (-1)
Returned, stopping playback
[NvMultiObjectTracker] De-initialized

code-

gst_bin_add_many(GST_BIN(pipeline),streammux,
nvvideoconvert_enlarge, capsFilter_enlarge, pgie, tracker, sgie, preprocess1, sgie1,
nvdslogger, nvvideoconvert_reduce, capsFilter_reduce, nvtile, nvvidconv, nvosd,queue1,queue2, msgconv,msgbroker,sink,tee,NULL);

// Link elements
if (!gst_element_link_many(streammux,
nvvideoconvert_enlarge, capsFilter_enlarge, pgie, tracker, sgie, preprocess1, sgie1,
nvdslogger, nvvideoconvert_reduce, capsFilter_reduce, nvtile, nvvidconv, nvosd, tee, NULL)) {
g_printerr (“Elements could not be linked. Exiting.\n”);
return -1;
}
if (!gst_element_link_many (queue1,msgconv,msgbroker, NULL)) {
g_printerr (“Elements could not be linked 3. Exiting.\n”);
return -1;
}

if (!gst_element_link (queue2, sink)) {
g_printerr (“Elements could not be linked. Exiting.\n”);
return -1;
}

gst_object_unref (osd_sink_pad);
sink_pad = gst_element_get_static_pad (queue1, “sink”);
tee_msg_pad = gst_element_request_pad_simple (tee, “src_%u”);
tee_render_pad = gst_element_request_pad_simple (tee, “src_%u”);
if (!tee_msg_pad || !tee_render_pad) {
g_printerr (“Unable to get request pads\n”);
return -1;
}

if (gst_pad_link (tee_msg_pad, sink_pad) != GST_PAD_LINK_OK) {
g_printerr (“Unable to link tee and message converter\n”);
gst_object_unref (sink_pad);
return -1;
}

gst_object_unref (sink_pad);

sink_pad = gst_element_get_static_pad (queue2, “sink”);
if (gst_pad_link (tee_render_pad, sink_pad) != GST_PAD_LINK_OK) {
g_printerr (“Unable to link tee and render\n”);
gst_object_unref (sink_pad);
return -1;
}

gst_object_unref (sink_pad);
gst_element_release_request_pad (tee, tee_msg_pad);
gst_element_release_request_pad (tee, tee_render_pad);
gst_object_unref (tee_msg_pad);
gst_object_unref (tee_render_pad);

Rest of the code is same as original app

Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
• DeepStream Version
• 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)

• Hardware Platform (Jetson / GPU) -GPU
• DeepStream Version -7.0
• NVIDIA GPU Driver Version (valid for GPU only)-555
• Issue Type( questions, new requirements, bugs)-new requirement
• How to reproduce the issue ? -modify the original app to add tee with msgbroker and msgconv

  1. could you share the whole log? if not add the new modifications, can the app run well?
  2. if add msgconv+fakesink instead of msgconv+msgbroker, can the app run well?

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

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