RV1106 使用两个camera ,分别挂载到2个I2C上,都是可以单独运行的,我现在要实时的切换摄像头,我把media3 禁用了,media2下的设备就能使用,反过来就不行 ,会不会是isp 的问题
Posted: 2025-05-15 2:01
[root@luckfox ]# media-ctl -d /dev/media3 -l "'rkcif-mipi-lvds1':0 -> 'rkisp-isp
-subdev':0[0]"
[root@luckfox ]# v4l2-ctl -d /dev/video22 --set-fmt-video=width=1024,height=1024
,pixelformat=NV12 --stream-mmap=3 --stream-skip=10 --stream-to=/gc5035.raw --str
eam-count=1 --stream-poll
<<<<<<<<<<<
[root@luckfox ]# media-ctl -d /dev/media3 -l "'rkcif-mipi-lvds1':0 -> 'rkisp-isp
-subdev':0[1]"
[root@luckfox ]# v4l2-ctl -d /dev/video22 --set-fmt-video=width=1024,height=1024
,pixelformat=NV12 --stream-mmap=3 --stream-skip=10 --stream-to=/gc5035.raw --str
eam-count=1 --stream-poll
select timeout
-subdev':0[0]"
[root@luckfox ]# v4l2-ctl -d /dev/video22 --set-fmt-video=width=1024,height=1024
,pixelformat=NV12 --stream-mmap=3 --stream-skip=10 --stream-to=/gc5035.raw --str
eam-count=1 --stream-poll
<<<<<<<<<<<
[root@luckfox ]# media-ctl -d /dev/media3 -l "'rkcif-mipi-lvds1':0 -> 'rkisp-isp
-subdev':0[1]"
[root@luckfox ]# v4l2-ctl -d /dev/video22 --set-fmt-video=width=1024,height=1024
,pixelformat=NV12 --stream-mmap=3 --stream-skip=10 --stream-to=/gc5035.raw --str
eam-count=1 --stream-poll
select timeout