How to use V4l2 capture interface for two cameras

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

How to use V4l2 capture interface for two cameras

1,152 Views
tengri
Contributor IV

Hi All,

For our application we use two video streams from two different camera interfaces like below. 

1. ADV7610 -> parallel CSI -> IPU

2. tw6869 -> pcie -> IPU

To support zero copying, both video streams are captured through imxv4l2videosrc of gstreamer. However I have only one v4l2cap node in dts file which is being utilized for parallel csi bus :

v4l2_cap_0 {
   compatible = "fsl,imx6q-v4l2-capture";
   ipu_id = <0>;
   csi_id = <0>;
   mclk_source = <0>;
   mipi_camera = <0>;
   default_input = <1>;
   status = "okay";
};

should I need two nodes to achieve simultaneous video streams ? 

Thanks

Anuradha

Labels (4)
0 Kudos
1 Reply

816 Views
joanxie
NXP TechSupport
NXP TechSupport

for pcie, pls refer to the document as below:

https://community.nxp.com/docs/DOC-94541 

0 Kudos