Firefly开源社区

标题: CAM-8MS1M分辨率问题 [打印本页]

作者: 热心市民小左    时间: 2023-4-20 10:17
标题: CAM-8MS1M分辨率问题
开发板使用最新固件,未进行修改,使用购买的8M摄像头,但使用v4l2-ctrl查看支持的分辨率最大只能到1920*1080,请问如何输出8M图像?此外,为什么/dev/video*节点从video0-video11这么多,哪一个对应着摄像头?


root@firefly:~# v4l2-ctl -d /dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
        Type: Video Capture Multiplanar

        [0]: 'NV16' (Y/CbCr 4:2:2)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [1]: 'NV61' (Y/CrCb 4:2:2)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [2]: 'NV12' (Y/CbCr 4:2:0)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [3]: 'NV21' (Y/CrCb 4:2:0)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [4]: 'YUYV' (YUYV 4:2:2)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [5]: 'YVYU' (YVYU 4:2:2)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [6]: 'UYVY' (UYVY 4:2:2)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [7]: 'VYUY' (VYUY 4:2:2)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [8]: 'RGB3' (24-bit RGB 8-8-8)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [9]: 'BGR3' (24-bit BGR 8-8-8)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [10]: 'RGBP' (16-bit RGB 5-6-5)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [11]: 'BGRH' (18-bit BGRX 6-6-6-14)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [12]: 'RGGB' (8-bit Bayer RGRG/GBGB)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [13]: 'GRBG' (8-bit Bayer GRGR/BGBG)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [14]: 'GBRG' (8-bit Bayer GBGB/RGRG)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [15]: 'BA81' (8-bit Bayer BGBG/GRGR)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [16]: 'RG10' (10-bit Bayer RGRG/GBGB)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [17]: 'BA10' (10-bit Bayer GRGR/BGBG)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [18]: 'GB10' (10-bit Bayer GBGB/RGRG)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [19]: 'BG10' (10-bit Bayer BGBG/GRGR)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [20]: 'RG12' (12-bit Bayer RGRG/GBGB)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [21]: 'BA12' (12-bit Bayer GRGR/BGBG)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [22]: 'GB12' (12-bit Bayer GBGB/RGRG)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [23]: 'BG12' (12-bit Bayer BGBG/GRGR)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [24]: 'BYR2' (16-bit Bayer BGBG/GRGR)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [25]: 'GB16' (16-bit Bayer GBGB/RGRG)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [26]: 'GR16' (16-bit Bayer GRGR/BGBG)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [27]: 'RG16' (16-bit Bayer RGRG/GBGB)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [28]: 'Y16 ' (16-bit Greyscale)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [29]: 'GREY' (8-bit Greyscale)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [30]: 'EBD8' (Embedded data 8-bit)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [31]: 'SPD6' (Shield pix data 16-bit)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [32]: 'Y12 ' (12-bit Greyscale)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8
        [33]: 'Y10 ' (10-bit Greyscale)
                Size: Stepwise 64x64 - 1920x1080 with step 8/8


root@firefly:~# ls /dev/video*
/dev/video0   /dev/video11  /dev/video4  /dev/video7  /dev/video-dec0
/dev/video1   /dev/video2   /dev/video5  /dev/video8  /dev/video-enc0
/dev/video10  /dev/video3   /dev/video6  /dev/video9



tchip_askquestions

log.zip

26.6 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1


作者: aiterich    时间: 2023-4-28 17:00
楼主这个问题解决了吗?我也是刚刚接触这个板子 有同样问题,如果解决了 还请说一下 谢谢!
作者: 大圣    时间: 2023-5-10 08:47
官方就是忽悠
作者: wx__XQYQQ0    时间: 2023-9-26 09:33
v4l2 取rgb 帧率上限是多少?





欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1