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)
RTSP stream (RGBA) → meta transfer detections 1 + 2 → model-3 → detections 1 + 2 + 3 over RGBA stream
We created a custom GStreamer element called dsmetatransfer that transfers DeepStream meta from one stream to another.
You can do something similar with meta manipulation to join the meta from the 2 individual pipelines and transfer it to another pipeline where the 2 streams are batched. That way you can use the multistream tiler.
However, I think it would be easier just to create your own overlay element that joins the outputs from the two DeepStream pipelines and displays them.
One way or another, you will need to add something custom. With the default DeepStream components you can’t perform multiple primary inferences over different streams from the same batch.
@miguel.taylor thanks for your sharing, could you share more about your use case? could you share the whole pipeline with dsmetatransfer? could you elaborate the dsmetatransfer plugin, how to transfers DeepStream meta from one stream to another? thanks!
@rahul17 please refer to deepstream_parallel_inference_app, which is similar to your use case, it can support inference parallelly, for example: some sources will go to model1, some sources will go to model2, then use dsmetamux plugin to mux the meta.
But then we switched to our own custom metadata. We serialize the values we need from the DS meta into a JSON. Then, we send that JSON around using NvDsEventMsgMeta, we had to do this because some DeepStream elements were only copying DS meta and deleting our custom meta type. We also have separate custom elements to transform a serialized meta back to DeepStream so that it will be displayed with the overlay.
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
@rahul17
Sorry for the late reply, Is this still an DeepStream issue to support? Thanks