You can use nvstreamdemux to split all sources and then you can use nvstreammux to mux the needed sources for the following SGIE.
You can use nvstreamdemux to split all sources and then you can use nvstreammux to mux the needed sources for the following SGIE.