摄像头拍照不能到最大分辨率
你好 2个摄像头ov5647imx219接到 tinker board 2s板子(debian 10 系统)上 分辨率 只能到最大分辨率的 一半 比如 ov5647 实际最大2592*1944,但系统显示分辨率 最大 1296*972且只有这一种,预览或拍照都只这一种 什么原因呢 ; 谢谢具体操作是如何实现的?比如使用什么软件,什么命令?能否截图看下?
可以使用以下命令:
查看摄像头支持的格式与分辨率:
$ v4l2-ctl --list-formats-ext -d /dev/video10
摄像头预览(根据需要调整宽高分辨率):
$ gst-launch-1.0 v4l2src device=/dev/video10 ! video/x-raw, format=NV12, width=640, height=480, framerate=30/1 ! xvimagesink 谢谢 上面的命令是可以预览的
执行 $ v4l2-ctl --list-formats-ext -d /dev/video0 或1后 显示如下:实际最大3840*2160 但下面只显示1920*1080 麻烦帮看下
linaro@linaro-alip:~$ v4l2-ctl --list-formats-ext -d /dev/video0
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture Multiplanar
: 'YUYV' (YUYV 4:2:2)
Size: Stepwise 32x16 - 1920x1080 with step 8/8
: '422P' (Planar YVU 4:2:2)
Size: Stepwise 32x16 - 1920x1080 with step 8/8
: 'NV16' (Y/CbCr 4:2:2)
Size: Stepwise 32x16 - 1920x1080 with step 8/8
: 'NV61' (Y/CrCb 4:2:2)
Size: Stepwise 32x16 - 1920x1080 with step 8/8
: 'YM16' (Planar YUV 4:2:2 (N-C))
Size: Stepwise 32x16 - 1920x1080 with step 8/8
: 'NV21' (Y/CrCb 4:2:0)
Size: Stepwise 32x16 - 1920x1080 with step 8/8
: 'NV12' (Y/CbCr 4:2:0)
Size: Stepwise 32x16 - 1920x1080 with step 8/8
: 'NM21' (Y/CrCb 4:2:0 (N-C))
Size: Stepwise 32x16 - 1920x1080 with step 8/8
: 'NM12' (Y/CbCr 4:2:0 (N-C))
Size: Stepwise 32x16 - 1920x1080 with step 8/8
: 'YU12' (Planar YUV 4:2:0)
Size: Stepwise 32x16 - 1920x1080 with step 8/8
: 'YM24' (Planar YUV 4:4:4 (N-C))
Size: Stepwise 32x16 - 1920x1080 with step 8/8
: 'RGGB' (8-bit Bayer RGRG/GBGB)
Size: Stepwise 32x16 - 1920x1080 with step 8/8
: 'GRBG' (8-bit Bayer GRGR/BGBG)
Size: Stepwise 32x16 - 1920x1080 with step 8/8
--------
系统源代码里面好像最大分辨率已经写了,这不知道为啥出不来;或者要开启mjpeg?
在kernel\imx219.c里面:
/* MCLK:24MHz 3280x2464 21.2fps MIPI LANE2 */
static const struct imx219_reg imx219_init_tab_3280_2464_21fps[] = {
{0x30EB, 0x05}, /* Access Code for address over 0x3000 */
已经有最大分辨率的设置
麻烦帮看看 谢谢
页:
[1]