UVC之MJPEG流:
背景
- Platform: IMX6Q
- OS: Linux-QT5
- Kernel: 4.1.15
问题
因项目需要,以前产品(IMX6Q,QT),客户觉得摄像头(OV5640)的效果不行,但以前的硬件的摄像头接口只支持DVP,现在很难找得到匹配的摄像头,且如果换摄像头,驱动调试等周期太长,所以打算使用USB摄像头。去深圳华强那边搜罗了一圈,找到了几个需要评估调试。
大致参数:
CODE
1. YUYV(YUV 4:2:2 (YUYV))
discrete: 640x480: 1/30 1/25 1/20 1/15 1/10 1/5
discrete: 160x120: 1/30 1/25 1/20 1/15 1/10 1/5
discrete: 320x240: 1/30 1/25 1/20 1/15 1/10 1/5
discrete: 352x288: 1/30 1/25 1/20 1/15 1/10 1/5
discrete: 800x600: 1/20 1/15 1/10 1/5
discrete: 960x540: 1/15 1/10 1/5
discrete: 1024x768: 1/10 1/5
discrete: 1280x720: 1/9 1/5
discrete: 1280x960: 1/7 1/5
discrete: 1920x1080: 1/5
2. MJPG(MJPEG)
discrete: 640x480: 1/30 1/25 1/20 1/15 1/10 1/5
discrete: 160x120: 1/30 1/25 1/20 1/15 1/10 1/5
discrete: 320x240: 1/30 1/25 1/20 1/15 1/10 1/5
discrete: 352x288: 1/30 1/25 1/20 1/15 1/10 1/5
discrete: 800x600: 1/30 1/25 1/20 1/15 1/10 1/5
discrete: 960x540: 1/30 1/25 1/20 1/15 1/10 1/5
discrete: 1024x768: 1/30 1/25 1/20 1/15 1/10 1/5
discrete: 1280x720: 1/30 1/25 1/20 1/15 1/10 1/5
discrete: 1280x960: 1/30 1/25 1/20 1/15 1/10 1/5
discrete: 1920x1080: 1/30 1/25 1/20 1/15 1/10 1/5
很明显,YUV的裸流支持不了720P/30帧,所以只能采用MJPEG模式
过程
以前的流程:
........
5431

被折叠的 条评论
为什么被折叠?



