Power & Source of Big Ideas

Dual 4MP camera video record

Moderators: chensy, FATechsupport

Hi,

How can i record from 2 video cameras connected to MIPI (MCAM400) simultaneously using HW ISP and openCV?

Thanks.
Look like it's impossible now due to 4CSI/MIPI line nature of 4MP cameras, while Rk3399 itself have only 6 CSI lines(info from another board).

probably, if you manage to configure cameras with only 2 CSI/MIPI per camera, it would be possible to use two of them simultaneously with follow code

Code: Select all

    cv::VideoCapture capture(" rkisp device=/dev/video0 sensor-id=1 io-mode=4 path-iqf=/etc/cam_iq/rk-ov4689.xml ! video/x-raw,format=NV12,width=672,height=380,framerate=30/1 ! videoconvert ! appsink", cv::CAP_GSTREAMER);
    cv::VideoCapture capture2(" rkisp device=/dev/video4 sensor-id=5 io-mode=4 path-iqf=/etc/cam_iq/rk-ov4689.xml ! video/x-raw,format=NV12,width=672,height=380,framerate=30/1 ! videoconvert ! appsink", cv::CAP_GSTREAMER);


PS: Raspberry PI stereo-camera setup use 2x2CSI lines config(but all RPi cameras use 2CSI line mode only)

Who is online

In total there are 25 users online :: 0 registered, 0 hidden and 25 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 25 guests