Hi,
Please try the command like this:
Using `nvcompositor` with `nvarguscamerasrc` leads to segfault in `nvcompositor` - #5 by DaneLLL
NvCompositor SIGSEGV - #14 by Honey_Patouceul
Please clearly set the caps to video/x-raw(memory:NVMM),format=RGBA to source pad of nvvidconv and nvcmpositor plugin.
And we can run the command with two USB cameras:
gst-launch-1.0 -v \
nvcompositor name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=1280 sink_0::height=720 \
sink_1::xpos=1280 sink_1::ypos=0 sink_1::width=1280 sink_1::height=720 ! 'video/x-raw(memory:NVMM),format=RGBA,width=2560,height=720' ! \
queue ! nvvidconv ! 'video/x-raw(memory:NVMM)' ! queue ! nv3dsink sync=0 \
nvv4l2camerasrc device=/dev/video2 ! 'video/x-raw(memory:NVMM), format=(string)UYVY, framerate=(fraction)30/1, width=(int)1280, height=(int)720' ! \
nvvidconv ! 'video/x-raw(memory:NVMM),format=RGBA' ! comp.sink_0 \
nvv4l2camerasrc device=/dev/video6 ! 'video/x-raw(memory:NVMM), format=(string)UYVY, framerate=(fraction)30/1, width=(int)1280, height=(int)720' ! \
nvvidconv ! 'video/x-raw(memory:NVMM),format=RGBA' ! comp.sink_1