How to specify a single camera for detection when using multi source input?

**• Hardware Platform (Jetson / GPU) **
Jetson Xavier NX
• DeepStream Version
5.0.1
• TensorRT Version
come with jetpack
• JetPack Version (valid for Jetson only)
4.5
• Issue Type( questions, new requirements, bugs)
New requirement
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Hi,

I’m new to gstreamer and deepstream.
I have an application that requires multiple source inputs. So i started with the python app ‘image-data multi stream example’ provided by deepstream.

This app do detection on all the camera inputs. Is there a way to specify only one or some of them do the detection, while all inputs include the one used for detection are collected by nvmultistreamtiler linked later in the pipeline?

Also, I tried to use two pipelines to meet the requirement, one follows the single camera (camera 0) pipeline to detect objects, and an another pipeline that receives multiple camera inputs (camera 0,1,2…) with no detection but a nvmultistreamtiler to link them. It works fine when I execute them separately. However, when executing two pipelines in the same script, it gives me error when building the second pipeline:

Starting pipeline
Unable to set device in gst_nvstreammux_change_state
Unable to set device in gst_nvstreammux_change_state
Decodebin child added: decodebin0

I guess the two nvsteammux for two pipeline are having a conflict? is there a workaround?

Thanks

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)

Sorry, just added it.