Tool/software:
Hello all,
I am using the tiovxmosaic plugin on gstreamer command to stream either 4 cameras or 2 cameras parallely. Using the below command I can able to stream 4 cameras parallely without fail.
"gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw,width=1920, height=1080 ! tiovxldc out-block-width=128 ! "video/x-raw,format=NV12" ! queue ! mosaic.sink_0 v4l2src device=/dev/video3 ! video/x-raw,width=1920, height=1080 ! tiovxldc out-block-width=128 ! "video/x-raw,format=NV12" ! queue ! mosaic.sink_1 v4l2src device=/dev/video4 ! video/x-raw,width=1920, height=1080 ! tiovxldc out-block-width=128 ! "video/x-raw,format=NV12" ! queue ! mosaic.sink_2 v4l2src device=/dev/video5 ! video/x-raw,width=1920, height=1080 ! tiovxldc out-block-width=128 ! "video/x-raw,format=NV12" ! queue ! mosaic.sink_3 tiovxmosaic name=mosaic sink_0::startx="<0>" sink_0::starty="<0>" sink_1::startx="<1920>" sink_1::starty="<0>" sink_2::startx="<0>" sink_2::starty="<1080>" sink_3::startx="<1920>" sink_3::starty="<1080>" ! kmssink sync=false driver-name=tidss -e -v"
my video device for this are /dev/video2 , /dev/video3 , /dev/video4 , /dev/video5.
However if I do the same with my 2 camera setup, I could not see any preview of my camera stream. Below is the command used for this.
"gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw,width=1920, height=1080 ! tiovxldc out-block-width=128 ! "video/x-raw,format=NV12" ! queue ! mosaic.sink_0 v4l2src device=/dev/video18 ! video/x-raw,width=1920, height=1080 ! tiovxldc out-block-width=128 ! "video/x-raw,format=NV12" ! queue ! mosaic.sink_1 tiovxmosaic name=mosaic sink_0::startx="<0>" sink_0::starty="<0>" sink_1::startx="<1920>" sink_1::starty="<0>" ! kmssink sync=false driver-name=tidss -e -v"
my video device for this are /dev/video2 , /dev/video18.
I am not sure what is going wrong. I am using the ar0234 sensor with fpd link.
Could someone help with this?