您尚未登录。

楼主 # 2022-02-18 00:09:25

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 481
积分: 386
个人网站

全志V3S/arm-linux的USB摄像头分辨率问题

请问有人调试过全志linux的1080P或以上的USB2.0摄像头嘛
我这边无论怎么折腾(用到了ffmpeg和fswebcam) 都只能获取到最大640*480分辨率的照片或视频
请问是不是V4L2支持的大小有限制呢,或者说USB2.0的速度限制之类的原因呢?

另外我发现有时候甚至只识别到160*120分辨率,但是重新插拔USB摄像头就好了,不清楚为什么

下面是部分ffmpeg和fswebcam的输出,fswebcam版本-fswebcam 20140113 ffmpeg版本4.3
不知道是不是这俩太老了?...

Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 352x288, 48660 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
# fswebcam  1.jpg
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
No input was specified, using the first.
Adjusting resolution from 384x288 to 352x288.
--- Capturing frame...
Captured frame in 0.00 seconds.
--- Processing captured image...
Unable to load font 'sans': Could not find/open font
Disabling the the banner.
Writing JPEG image to '1.jpg'.

离线

楼主 #1 2022-02-18 00:12:23

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 481
积分: 386
个人网站

Re: 全志V3S/arm-linux的USB摄像头分辨率问题

可以了
但是需要插拔USB摄像头才可以
目前还没测试大概插拔多少次可以

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn