MCAM400(ov4689) CSI camera info
Posted: Fri Jan 25, 2019 5:35 pm
good day
I got a pair of this cams and start to making some test. I will write to this post most important things and answer your question if your have some
cameras have a lot of limitations, some of them, hopefully, can be fixed in software.
to use camera from OpenCV:
1) GST:
simple screenshot from OpenCV test on NanoPi M4/sdcard you can find in attachment
Unfortunately, framerate can't be changed and it's always 30fps)
upd: as toborobot mention below, camera IQ file was renamed from rk-ov4689.xml to ov4689.xml in Ubuntu Bionic(18.04).
upd2: in ubuntu 20.04 path to IQ file changed again - /etc/iqfiles/ov4689_JSD3425-C1_JSD3425-C1.xml
I got a pair of this cams and start to making some test. I will write to this post most important things and answer your question if your have some

cameras have a lot of limitations, some of them, hopefully, can be fixed in software.
- - it's 16:9 wide angle camera(it's a feature);
- while ov4689 sensor have extremely fast video rate(1920x1080x120fps), camera itself doesn't;
- stereo-camera mode doesn't work now(under ubuntu). only one camera in time is working;
- armbian and avafinder linux don't support camera for now, so only friendlyArm ubuntu is usable(build from 2018/12);
- NV12 camera format used at present moment
to use camera from OpenCV:
1) GST:
Code: Select all
cv::VideoCapture capture(" rkisp device=/dev/video0 sensor-id=1 io-mode=4 path-iqf=/etc/cam_iq/ov4689.xml ! video/x-raw,format=NV12,width=672,height=380,framerate=30/1 ! videoconvert ! appsink", cv::CAP_GSTREAMER);
simple screenshot from OpenCV test on NanoPi M4/sdcard you can find in attachment
Unfortunately, framerate can't be changed and it's always 30fps)
upd: as toborobot mention below, camera IQ file was renamed from rk-ov4689.xml to ov4689.xml in Ubuntu Bionic(18.04).
upd2: in ubuntu 20.04 path to IQ file changed again - /etc/iqfiles/ov4689_JSD3425-C1_JSD3425-C1.xml