• Hardware Platform RTX 3060
• DS 6.0
I am trying a pipeline in which we have multiple sources and only the last stream need not be displayed. So I am using the streamdemux to get the last source to connect with fakesink and muxing all the other sources with nvstreammux again, which are routed to a display sink. As we use the NvMultiStreamTiler the last source slot is also divided on the screen and black image is displayed. If suppose we have three sources and one source is sent to fakesink and other two needs to be displayed with multistreamtiler but the tiler displays three regions with third being blank.
Here’s the sample pipeline to reproduce the issue.
gst-launch-1.0 -e nvstreammux name=mux batch-size=1 width=1920 height=1080 ! nvinfer config-file-path="/opt/nvidia/deepstream/deepstream-6.0/samples/configs/deepstream-app/config_infer_primary.txt" batch-size=1 ! nvstreamdemux name=demux uridecodebin uri="file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4" ! queue ! \
mux.sink_0 uridecodebin uri="file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_qHD.mp4" ! \
queue ! mux.sink_2 uridecodebin uri="file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_walk.mov" ! queue ! \
mux.sink_1 nvstreammux name=disp-mux batch-size=1 width=1920 height=1080 ! nvvideoconvert ! "video/x-raw(memory:NVMM), format=RGBA" ! nvmultistreamtiler rows=1 columns=2 show-source=-1 ! nvdsosd ! \
nvvideoconvert ! nveglglessink demux.src_0 ! "video/x-raw(memory:NVMM), format=NV12" ! queue ! disp-mux.sink_0 demux.src_2 ! queue ! fakesink demux.src_1 ! queue ! disp-mux.sink_1