Firefly开源社区

打印 上一主题 下一主题

Android 5.1 使用USB摄像头录制视频会抖动

80

积分

0

威望

0

贡献

技术小白

积分
80

Android 5.1 使用USB摄像头录制视频会抖动

发表于 2016-10-24 11:52:04      浏览:5895 | 回复:5        打印      只看该作者   [复制链接] 楼主
录像画面抖动的时候,内核不断有以下打印:
6>[ 41.275940] vcodec_service: ff9a0000.vpu_service: resetting...
<6>[ 41.275987] vcodec_service: for 3288/3368...<6>[ 41.275996] vcodec_service: reset in
<6>[ 41.280768] vcodec_service: done
<6>[ 41.507457] vcodec_service: ff9a0000.vpu_service: resetting...
<6>[ 41.507478] vcodec_service: for 3288/3368...<6>[ 41.507484] vcodec_service: reset in
<6>[ 41.507524] vcodec_service: done
<6>[ 41.530827] vcodec_service: ff9a0000.vpu_service: resetting...
<6>[ 41.530851] vcodec_service: for 3288/3368...<6>[ 41.530868] vcodec_service: reset in
<6>[ 41.530911] vcodec_service: done
logcat不断有如下打印:
I/SurfaceFlinger( 176): Boot is finished (15029 ms)
D/DisplayManager( 791): getDisplayInfo: displayId=0, info=DisplayInfo{"内置屏幕", uniqueId "local:0", app 1920 x 1008, real 1920 x 1080, largest app 1920 x 1810, smallest app 1080 x 970, 69.834 fps, supportedRefreshRates [69.834], rotation 0, density 240 (159.89508 x 160.42105) dpi, layerStack 0, appVsyncOff 0, presDeadline 15319672, type BUILT_IN, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
D/DisplayManager( 791): getDisplayInfo: displayId=0, info=DisplayInfo{"内置屏幕", uniqueId "local:0", app 1920 x 1008, real 1920 x 1080, largest app 1920 x 1810, smallest app 1080 x 970, 69.834 fps, supportedRefreshRates [69.834], rotation 0, density 240 (159.89508 x 160.42105) dpi, layerStack 0, appVsyncOff 0, presDeadline 15319672, type BUILT_IN, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
D/DisplayManager( 791): getDisplayInfo: displayId=0, info=DisplayInfo{"内置屏幕", uniqueId "local:0", app 1920 x 1008, real 1920 x 1080, largest app 1920 x 1810, smallest app 1080 x 970, 69.834 fps, supportedRefreshRates [69.834], rotation 0, density 240 (159.89508 x 160.42105) dpi, layerStack 0, appVsyncOff 0, presDeadline 15319672, type BUILT_IN, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
D/DisplayManager( 791): getDisplayInfo: displayId=0, info=DisplayInfo{"内置屏幕", uniqueId "local:0", app 1920 x 1008, real 1920 x 1080, largest app 1920 x 1810, smallest app 1080 x 970, 69.834 fps, supportedRefreshRates [69.834], rotation 0, density 240 (159.89508 x 160.42105) dpi, layerStack 0, appVsyncOff 0, presDeadline 15319672, type BUILT_IN, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
D/KeyguardUpdateMonitor( 791): handleSimStateChange(subId=0, slotId=0, state=NOT_READY)
使用的是罗技C110usb式的摄像头。

回复

使用道具 举报

2965

积分

12

威望

22

贡献

高级创客

Rank: 6Rank: 6

积分
2965
发表于 2016-10-24 16:17:07        只看该作者  沙发
摄像头分辨率设置到720P试试
回复

使用道具 举报

80

积分

0

威望

0

贡献

技术小白

积分
80
发表于 2016-10-24 18:34:08        只看该作者  板凳
leung先森 发表于 2016-10-24 16:17
摄像头分辨率设置到720P试试

是在hardware camera里面哪个参数呢  没找到诶
回复

使用道具 举报

33

积分

0

威望

0

贡献

技术小白

积分
33
发表于 2016-10-27 16:13:02        只看该作者  地板
楼主,你用的USB摄像头在windows和安卓下清晰度是一样的吗?有些问题还想请教,请加328727573  QQ
回复

使用道具 举报

80

积分

0

威望

0

贡献

技术小白

积分
80
发表于 2017-7-10 18:21:01        只看该作者  5#
q328727573 发表于 2016-10-27 16:13
楼主,你用的USB摄像头在windows和安卓下清晰度是一样的吗?有些问题还想请教,请加328727573  QQ

是一样的
回复

使用道具 举报

80

积分

0

威望

0

贡献

技术小白

积分
80
发表于 2017-7-28 19:12:59        只看该作者  6#
修改
----#define CONFIG_CAMERA_UVC_MJPEG_SUPPORT 1
++#define CONFIG_CAMERA_UVC_MJPEG_SUPPORT 0
回复

使用道具 举报

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

本版积分规则

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