no element "v4l2scr".

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

no element "v4l2scr".

766 Views
merttml13
Contributor II

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.

Labels (1)
0 Kudos
Reply
2 Replies

665 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mert

one can try with nxp official demo images from below link

i.MX Software | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

665 Views
merttml13
Contributor II

Hi igor, 

I realized I wrote wrong to code. It is not v4l2scr   It has to be v4l2src. Thank you for your reply.

Best regards.

0 Kudos
Reply