Nvcompositor picture order bug?

Hi,

I run this command:

gst-launch-1.0 nvcompositor name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=960 sink_0::height=540 sink_1::xpos=960 sink_1::ypos=0 sink_1::width=960 sink_1::height=540 sink_2::xpos=480 sink_2::ypos=540 sink_2::width=960 sink_2::height=540 ! nvoverlaysink uridecodebin uri=“rtsp://admin:admin@192.168.1.210” ! comp. uridecodebin uri=“rtsp://admin:admin@192.168.1.209” ! comp. uridecodebin uri=“rtsp://admin:admin@192.168.1.207” ! comp. -e

after close and rerun the above command.

I recognized the order of the ip camera pictures is different between two opening.

Could you send me a suggestion for the nvcompositor opening in right order every times? Or is it a bug?

You would try to set compositor sinks such as:

... uridecodebin uri="rtsp://admin:admin@192.168.1.210" ! comp.sink_0    uridecodebin uri="rtsp://admin:admin@192.168.1.209" ! comp.sink_1    uridecodebin uri="rtsp://admin:admin@192.168.1.207" ! comp.sink_2 ...

Thanks, but it is not working, in your case the nvcompositor opens the all of windows into 0x0 coordinates with detected size…

gst-launch-1.0 nvcompositor name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=960 sink_0::height=540 sink_1::xpos=960 sink_1::ypos=0 sink_1::width=960 sink_1::height=540 sink_2::xpos=480 sink_2::ypos=540 sink_2::width=960 sink_2::height=540 ! nvoverlaysink uridecodebin uri=“rtsp://admin:admin@192.168.1.210” ! comp.sink_0 uridecodebin uri=“rtsp://admin:admin@192.168.1.209” ! comp.sink_1 uridecodebin uri=“rtsp://admin:admin@192.168.1.207” ! comp.sink_2

Try this:

gst-launch-1.0 nvcompositor name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=960 sink_0::height=540   sink_1::xpos=960 sink_1::ypos=0 sink_1::width=960 sink_1::height=540   sink_2::xpos=0 sink_2::ypos=540 sink_2::width=960 sink_2::height=540     sink_3::xpos=960 sink_3::ypos=540 sink_3::width=960 sink_3::height=540 ! nvoverlaysink      videotestsrc pattern=snow ! video/x-raw, width=960, height=540 ! nvvidconv ! comp.sink_0    videotestsrc  ! video/x-raw, width=960, height=540 ! nvvidconv ! comp.sink_1  videotestsrc pattern=ball ! video/x-raw, width=960, height=540 ! nvvidconv ! comp.sink_2  videotestsrc pattern=gradient ! video/x-raw, width=960, height=540 ! nvvidconv ! comp.sink_3

works fine with my NX running L4T R32.5.
Be sure of your layout, specify size and position for each sink avoiding overlapping.

Thanks!

Do you have any idea for opening more than 4 insertion?

Please help to initial a new topic. Thanks