AnsweredAssumed Answered

no element "v4l2scr".

Question asked by Mert TEMEL on Sep 17, 2019
Latest reply on Sep 18, 2019 by Mert TEMEL

gst-launch-1.0 compositor name=c \
sink_0::xpos=0 sink_0::ypos=0 sink_0::width=720 sink_0::height=576 \
sink_1::xpos=720 sink_1::ypos=0 sink_1::width=720 sink_1::height=576 \
sink_2::xpos=1440 sink_2::ypos=0 sink_2::width=720 sink_2::height=576 \
sink_3::xpos=0 sink_3::ypos=576 sink_3::width=720 sink_3::height=576 \
sink_4::xpos=720 sink_4::ypos=576 sink_4::width=720 sink_4::height=576 \
sink_5::xpos=1440 sink_5::ypos=576 sink_5::width=720 sink_5::height=576 ! \
queue2 ! video/x-raw, width=2160, height=1152 ! imxipuvideosink framebuffer=/dev/fb0 \
v4l2scr device=/dev/video0 ! queue2 ! c.sink_0 \
v4l2scr device=/dev/video1 ! queue2 ! c.sink_1 \
v4l2scr device=/dev/video2 ! queue2 ! c.sink_2 \
v4l2scr device=/dev/video3 ! queue2 ! c.sink_3 \
v4l2scr device=/dev/video4 ! queue2 ! c.sink_4 \
v4l2scr device=/dev/video5 ! queue2 ! c.sink_5

 

here is a my code. I want to see 6 pieces on my screen but I always get this error when I run this code.

WARNING: erroneous pipeline: no element "v4l2scr". Same time the code which is below works fine. I just  wonder cannot run this code with v4l2scr ?

 

gst-launch-1.0 \
imxipucompositor name=c \
sink_0::xpos=0 sink_0::ypos=0 sink_0::width=400 sink_0::height=300 \
sink_1::xpos=266 sink_1::ypos=0 sink_1::width=400 sink_1::height=300 \
sink_2::xpos=532 sink_2::ypos=0 sink_2::width=400 sink_2::height=300 \
sink_3::xpos=0 sink_3::ypos=300 sink_3::width=400 sink_3::height=300 \
sink_4::xpos=266 sink_4::ypos=300 sink_4::width=400 sink_4::height=300 \
sink_5::xpos=532 sink_5::ypos=300 sink_5::width=400 sink_5::height=300 ! \
queue2 ! video/x-raw, width=800, height=600 ! imxipuvideosink framebuffer=/dev/fb0 \
imxv4l2videosrc device=/dev/video0 ! queue2 ! c.sink_0 \
imxv4l2videosrc device=/dev/video1 ! queue2 ! c.sink_1 \
imxv4l2videosrc device=/dev/video2 ! queue2 ! c.sink_2 \
imxv4l2videosrc device=/dev/video3 ! queue2 ! c.sink_3 \
imxv4l2videosrc device=/dev/video4 ! queue2 ! c.sink_4 \
imxv4l2videosrc device=/dev/video5 ! queue2 ! c.sink_5

 

this code works fine. 

 

BTW when I try 

gst-launch-1.0 imxipucompositor name=c \
sink_0::xpos=0 sink_0::ypos=0 sink_0::width=720 sink_0::height=576 \
sink_1::xpos=720 sink_1::ypos=0 sink_1::width=720 sink_1::height=576 \
sink_2::xpos=1440 sink_2::ypos=0 sink_2::width=720 sink_2::height=576 \
sink_3::xpos=0 sink_3::ypos=576 sink_3::width=720 sink_3::height=576 \
sink_4::xpos=720 sink_4::ypos=576 sink_4::width=720 sink_4::height=576 \
sink_5::xpos=1440 sink_5::ypos=576 sink_5::width=720 sink_5::height=576 ! \
queue2 ! video/x-raw, width=2160, height=1152 ! imxipuvideosink framebuffer=/dev/fb0 \
imxv4l2videosrc device=/dev/video0 ! queue2 ! c.sink_0 \
imxv4l2videosrc device=/dev/video1 ! queue2 ! c.sink_1 \
imxv4l2videosrc device=/dev/video2 ! queue2 ! c.sink_2 \
imxv4l2videosrc device=/dev/video3 ! queue2 ! c.sink_3 \
imxv4l2videosrc device=/dev/video4 ! queue2 ! c.sink_4 \
imxv4l2videosrc device=/dev/video5 ! queue2 ! c.sink_5

 

this code I get this error too. mxc_ipu mxc_ipu: ERR: no-0x0,ipu_queue_task err:-22

 

Best Regards.

Outcomes