我的X5主板同时接了2个摄像头,videoIndex分别是0,2单独打开都可以,同时打开时第二个摄像头打开失败,我的摄像头型号为两个IMX477, pipeId配置相同或者不同都是如此:
2025/07/14 13:09:47.400 !INFO [OpenCamera][0450]hbn module
set camera fps: 50,width: 1920,height: 1080
Camera 0:
mipi_host: 0
Camera 1:
mipi_host: 2
Camera 2:
mipi_host: 0
Camera 3:
mipi_host: 0
Mipi csi0 has been used, please use other Cam interfaces
2025/07/14 13:09:47.400 ERROR [CamInitParam][0283]No camera sensor found, please check whether the camera connection or video_idx is correct.
2025/07/14 13:09:47.400 ERROR [OpenCamera][0498]CamInitParam failed error(-1)
[ERROR] [2025-07-14 13:09:47] open camera2 failed , camera2PipeId=1, camera2VideoIndex=2,width=1920,height=1080,fps=50 ret=-1
Cannot open file /sys/kernel/debug/vpu/venc.Cannot open file /sys/kernel/debug/vpu/vdec.Cannot open file /sys/kernel/debug/jpu/jenc.2025/07/14 13:09:47.440 ERROR [GetImageFrame][0690]get chn from 1920x1080 failed
[ERROR] [2025-07-14 13:09:47] Camera: sp_vio_get_frame ModelImage failed 1, ret=-1
请问如何解决?我项目上需要同时接入2路摄像头