Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 7.1
• JetPack Version (valid for Jetson only)
• TensorRT Version 10.6
• NVIDIA GPU Driver Version (valid for GPU only) 560.30.35
• 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)
offical reop github NVIDIA-AI-IOT deepstream reference code github
using deepstream-parallel-infer.
Fix deepstream_parallel_infer_app.cpp
sd_sink_pad_buffer_probe(GstPad *pad, GstPadProbeInfo *info, gpointer u_data)
{
GstBuffer *buf = (GstBuffer *)info->data;
guint num_rects = 0;
NvDsObjectMeta *obj_meta = NULL;
NvDsMetaList *l_frame = NULL;
NvDsMetaList *l_obj = NULL;
NvDsDisplayMeta *display_meta = NULL;
gboolean is_first_object = TRUE;
NvDsBatchMeta *batch_meta = gst_buffer_get_nvds_batch_meta(buf);
for (l_frame = batch_meta->frame_meta_list; l_frame != NULL; l_frame = l_frame->next)
{
NvDsFrameMeta *frame_meta = (NvDsFrameMeta *)(l_frame->data);
g_print("osd_sink_pad frame id %d, src id %d\n", frame_number, frame_meta->source_id);
....
}
frame_number++;
return GST_PAD_PROBE_OK;
}
run
./apps/deepstream-parallel-infer/deepstream-parallel-infer -c configs/apps/bodypose_yolo/source4_1080p_dec_parallel_infer.yml
then results are
osd_sink_pad frame id 1, src id 0
osd_sink_pad frame id 2, src id 0
osd_sink_pad frame id 3, src id 0
osd_sink_pad frame id 4, src id 0
osd_sink_pad frame id 5, src id 0
osd_sink_pad frame id 6, src id 0
osd_sink_pad frame id 7, src id 0
osd_sink_pad frame id 8, src id 0
osd_sink_pad frame id 9, src id 0
osd_sink_pad frame id 10, src id 0
osd_sink_pad frame id 11, src id 0
osd_sink_pad frame id 12, src id 0
osd_sink_pad frame id 13, src id 0
osd_sink_pad frame id 14, src id 0
osd_sink_pad frame id 15, src id 0
osd_sink_pad frame id 16, src id 0
osd_sink_pad frame id 17, src id 0
osd_sink_pad frame id 18, src id 0
All sources ids are 0.
If there are 4 input streams as examples shows, then source id should be 0,1,2,3?
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)