Firefly开源社区

打印 上一主题 下一主题

[Linux] CAM-8MS1M分辨率问题

94

积分

0

威望

0

贡献

技术小白

积分
94

CAM-8MS1M分辨率问题

发表于 2023-4-20 10:17:00      浏览:2116 | 回复:3        打印      只看该作者   [复制链接] 楼主
问题描述及复现步骤:
开发板使用最新固件,未进行修改,使用购买的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



log.zip

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

回复

使用道具 举报

41

积分

0

威望

0

贡献

技术小白

积分
41
发表于 2023-4-28 17:00:20        只看该作者  沙发
楼主这个问题解决了吗?我也是刚刚接触这个板子 有同样问题,如果解决了 还请说一下 谢谢!
回复

使用道具 举报

32

积分

0

威望

0

贡献

技术小白

积分
32
QQ
发表于 2023-5-10 08:47:05        只看该作者  板凳
官方就是忽悠
回复

使用道具 举报

8

积分

0

威望

0

贡献

吃瓜的群众

积分
8
发表于 2023-9-26 09:33:42        只看该作者  地板
v4l2 取rgb 帧率上限是多少?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表