I constructed a pipeline in deepstream-5.0 on GPU.
in this pipeline I want to copy my source video file into multiple queues, so to this end, I used tee to create some branches and set a queue for each branch, which all queues have the same frame content.
then I want to batch these queues using nvstreammux and finally the output of the nvstreammux feed to the nvinfer. the image below shows my pipeline.
Thanks a lot @Fiona.Chen for the reply.
It works for 2 queues.
If we want to add 4 queues instead of 2, when I add them as below, it gives me an error:
Error: could not link t to queue2
Error: could not link t to queue3
I have just some more questions to understand your solution better:
How does the nvinfer performs inference on the second queue, since in this pipeline we feed the first queue to the nvinfer and add the second queue after the nvinfer?
why is it necessary to use nvmultistreamtiler in this pipeline?
Do you have experience with gstreamer? Before you start with DeepStream, you need to learn the usage of GStreamer first. https://gstreamer.freedesktop.org/
If you use “gst-inspect-1.0 tee” to check the pad template, you may know tee’s source pad name should be ‘src_%u’. “!” means link pad in gst-launch tool.
This is DeepStream forum. Let’s focus on DeepStream topics.
How does the nvinfer performs inference on the second queue, since in this pipeline we feed the first queue to the nvinfer and add the second queue after the nvinfer?
[Answer]Because you misunderstood the pipeline. Please study gstreamer first. gst-launch-1.0
@Fiona.Chen
Thanks for the support on the forum.
Some of us are fresh with GStreamer, and I know this is Nvidia / Deepstream topic.
As a kind suggestion, it could save time for everybody a quick guide for Deepstream+GStreamer, because it’s a fundamental part of the SDK.
In the near future I plan to write a guide for this and post it on github, but I’m still very beginner.
As always, thanks for your help.