How to create multiple instances of a custom element , in a custom deepstream pipeline.
nvinfer1 = gst_element_factory_make(“nvinfer”, “nvinfer1”);
nvinfer2 = gst_element_factory_make(“nvinfer”, “nvinfer2”);
Deepstream is handling the multiple instances of the same element(nvinfer) when linked in a pipeline.
I have a custom element named “classinfer”. and i want to use the same element multiple times in the pipeline.
But it doesnt work at the time of initialization with my custom element.
classinfer = gst_element_factory_make(“classinfer”, “classinfer”);
classinfer1 = gst_element_factory_make(“classinfer”, “classinfer2”);
How can i use the same custom element(classinfer) multiple times in my custom deepstream pipeline.