What plugins to use for a pipeline with multiple camera sources?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU):Jetson AGX Xavier
• DeepStream Version: 5.0
• JetPack Version (valid for Jetson only): 4.4
• TensorRT Version: 7.1.3
• Issue Type( questions, new requirements, bugs):question

TLDR: I need to build a pipeline that use multiple camera sources, how to I modify my current pipeline to achieve that?

Current pipeline:

NOTE: I can’t use the deepstream app directly since my application need extra functionalities that modifying the config file alone is not enough, thus requiring me to create a custom pipeline as shown above. I’ve checked out other sample apps, the closest to what I need is deepstream test app 3 but that app uses multiple URI sources instead of multiple live sources from cameras. I want to know what plugins/elements I need to add to my current pipeline to use 2 cameras instead 1?

deepstream test app 3 is already a sample for multiple sources. You can just replace the deepstream source bin with your own source bin. DeepStream default source bin is created by create_source_bin(), so you just need to write your own bin create function to replace it.

image

For gstreamer element and bin related information and instruction, please refer to https://gstreamer.freedesktop.org/documentation/application-development/basics/bins.html?gi-language=c