How to control three camera streaming in i.MX8M Mini/i.MX8M Plus

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

How to control three camera streaming in i.MX8M Mini/i.MX8M Plus

488 Views
swathi
Contributor II

Hi,

We are planning to use three camera LVDS display with i.MX8M Mini or i.MX8M Plus. Here I want to know how to control three camera/video streaming.

 

Regards,

Swathi

0 Kudos
Reply
1 Reply

471 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello swathi,

We don't understand how to control the cameras, since it comes it own way, /dev/video0, dev/video1 dev/video2 you can use gstreamer like:

$ gst-launch-1.0 -v imxcompositor_g2d name=comp \ sink_0::xpos=0 sink_0::ypos=0 sink_0::width=640 sink_0::height=480 \ sink_1::xpos=0 sink_1::ypos=480 sink_1::width=640 sink_1::height=480 \ sink_2::xpos=640 sink_2::ypos=0 sink_2::width=640 sink_2::height=480 \ sink_3::xpos=640 sink_3::ypos=480 sink_3::width=640 sink_3::height=480 \ ! video/x-raw,format=RGB16 ! waylandsink \ v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480 ! comp.sink_0 \ v4l2src device=/dev/video1 ! video/x-raw,width=640,height=480 ! comp.sink_1 \ v4l2src device=/dev/video2

 

Regards

0 Kudos
Reply