Firefly开源社区

标题: Android 5.1 使用USB摄像头录制视频会抖动 [打印本页]

作者: 流川枫    时间: 2016-10-24 11:52
标题: Android 5.1 使用USB摄像头录制视频会抖动
录像画面抖动的时候,内核不断有以下打印:
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式的摄像头。


作者: leung先森    时间: 2016-10-24 16:17
摄像头分辨率设置到720P试试
作者: 流川枫    时间: 2016-10-24 18:34
leung先森 发表于 2016-10-24 16:17
摄像头分辨率设置到720P试试

是在hardware camera里面哪个参数呢  没找到诶
作者: q328727573    时间: 2016-10-27 16:13
楼主,你用的USB摄像头在windows和安卓下清晰度是一样的吗?有些问题还想请教,请加328727573  QQ
作者: 流川枫    时间: 2017-7-10 18:21
q328727573 发表于 2016-10-27 16:13
楼主,你用的USB摄像头在windows和安卓下清晰度是一样的吗?有些问题还想请教,请加328727573  QQ

是一样的
作者: 流川枫    时间: 2017-7-28 19:12
修改
----#define CONFIG_CAMERA_UVC_MJPEG_SUPPORT 1
++#define CONFIG_CAMERA_UVC_MJPEG_SUPPORT 0




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1