AnsweredAssumed Answered

MIPI CSI Camera Preview in Linux

Question asked by DeWayne Gibson on May 11, 2018
Latest reply on May 23, 2018 by Bio_TICFSL

Hello iMX Community Gurus:


I'm wanting to utilize the i.MX8M-EVK and the MINISASTOCSI2 Camera module to do a camera preview - stream what the camera is pointed towards while in the Linux environment.  As the kit ships with Android loaded in eMMC, I've been able to do camera preview under Android successfully.  I've built a Linux uSD Card which boots into Linux, based upon the Linux Users Guide and it successfully boots into Linux and I can do some 3D demos using the GPU and GLES . 


I would like to evaluate the performance MIPI Camera in Linux to see how the frame latency is as there isn't a hardware H.264 encoder.  And I don't understand how to open the MIPI CSI Camera which appears to be getting mapped to: /dev/video0. 


Will someone please provide a correct step by step sequence to doing sort of demonstration if possible?


Thanks in Advance,