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,
If MIPI is under you kernel configuration you just need to open the frame:
this is for avi file:
GSTL filesrc location=test.avi typefind=true ! video/x-msvideo
! aiurdemux name=demux demux.
! queue max-size-buffers=0 max-size-time=0 ! avdec_h264
! overlaysink demux.
! queue max-size-buffers=0 max-size-time=0 ! beepdec
Take a look at the IMX linux user guide.