We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在联想K10pad上预览黑屏,修改了配置参数,采用最低分辨率,默认UVC_VS_FRAME_UNCOMPRESSED,预览有画面了,显示上半部绿屏,下半部分条纹状图像,请问什么原因, 下面是K10 运行的日志信息
08/02 09:47:11: Launching 'app' on LENOVO TB330FU. Install successfully finished in 1 s 249 ms. $ adb shell am start -n "com.herohan.uvcapp/com.herohan.uvcapp.activity.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Connected to process 31443 on device 'lenovo-tb330fu-192.168.1.169:5555'. Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/.herohan.uvcapp: Late-enabling -Xcheck:jni W/.herohan.uvcapp: DexFile /data/data/com.herohan.uvcapp/code_cache/.studio/instruments-6b5afa68.jar is in boot class path but is not in a known location W/.herohan.uvcapp: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it! W/.herohan.uvcapp: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it! W/.herohan.uvcapp: Redefining intrinsic method java.lang.Thread java.lang.Thread.currentThread(). This may cause the unexpected use of the original definition of java.lang.Thread java.lang.Thread.currentThread()in methods that have already been compiled. W/.herohan.uvcapp: Redefining intrinsic method boolean java.lang.Thread.interrupted(). This may cause the unexpected use of the original definition of boolean java.lang.Thread.interrupted()in methods that have already been compiled. W/.herohan.uvcapp: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it! W/.herohan.uvcapp: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it! W/.herohan.uvcapp: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it! W/ziparchive: Unable to open '/data/app/~~a9sFwes5z4YHAtIGaAMQhg==/com.herohan.uvcapp-x4qbKv10f_HGQ7X9-DT3PA==/base.dm': No such file or directory W/ziparchive: Unable to open '/data/app/~~a9sFwes5z4YHAtIGaAMQhg==/com.herohan.uvcapp-x4qbKv10f_HGQ7X9-DT3PA==/base.dm': No such file or directory I/LoadedApk: No resource references to update in package com.zuisdk E/OpenGLRenderer: start vsync check timer failed:-1 I/MSYNC3-VariableRefreshRate: Variable refreshrate is disabled I/PowerHalWrapper: PowerHalWrapper.getInstance W/.herohan.uvcapp: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed) D/DecorView: isCts, pkg: com.herohan.uvcapp D/DecorView: enableCaption====falsefalse com.android.internal.policy.DecorView.createDecorCaptionView:2590 com.android.internal.policy.DecorView.onResourcesLoaded:2493 com.android.internal.policy.PhoneWindow.generateLayout:2750 com.android.internal.policy.PhoneWindow.installDecor:2813 com.android.internal.policy.PhoneWindow.getDecorView:2220 W/.herohan.uvcapp: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed) V/MainActivity: clearCameraHelper: D/CameraHelper: Constructor: W/.herohan.uvcapp: Accessing hidden method Landroid/app/ActivityThread;->currentActivityThread()Landroid/app/ActivityThread; (unsupported, reflection, allowed) W/.herohan.uvcapp: Accessing hidden method Landroid/app/ActivityThread;->getApplication()Landroid/app/Application; (unsupported, reflection, allowed) V/USBMonitor: USBMonitor:Constructor V/USBMonitor: USBMonitor:mUsbManager=android.hardware.usb.UsbManager@9aecb0e D/CameraHelper: registerCallback: D/CameraConnectionService: mUSBMonitor#register: I/USBMonitor: register: D/CompatibilityChangeReporter: Compat change id reported: 160794467; UID 10202; state: ENABLED D/CameraHelper: setImageCaptureConfig: D/CameraHelper: isCameraOpened: D/CameraHelper: setVideoCaptureConfig: D/CameraHelper: isCameraOpened: D/WindowManagerImpl: test-addView displayId=0 0 I/SurfaceFactory: [static] sSurfaceFactory = com.mediatek.view.impl.SurfaceFactoryImpl@38ee92b D/OneModeCodeSwitch: ovBaseEnabled: true D/VRI[MainActivity]: hardware acceleration = true, forceHwAccelerated = false D/libMEOW: meow new tls: 0xb40000705c8ca140 D/libMEOW: applied 0 plugin for [com.herohan.uvcapp]. D/libMEOW: rebuild call chain: 0xb40000705c8d9500 D/InputTransport: Create ARC handle: 0xb4000070b17d6140 D/OpenGLRenderer: onVsyncDealingBegan,latency:531.417847, frame:234565 I/Choreographer: Skipped 47 frames! The application may be doing too much work on its main thread. E/Choreographer: Not get property ,mJankReportEnabled:false D/Choreographer: Jank detected:FrameSkipped,dealing:FeatureDisabled pid:31443 type:3 start time:40658299496883 duration:531417846 jank count:1 durationms:531.41785 D/OpenGLRenderer: switchState now,exit:0 enter:0 D/OpenGLRenderer: Idle state exit E/OpenGLRenderer: initiateBoost boost params for CPU not initialized,use default config D/OpenGLRenderer: startBoost read result:-1 E/OpenGLRenderer: Fail to do boost for resource:1 error:-1 D/OpenGLRenderer: finish enter, updated state:0, target state:1 oldstate:0 E/OpenGLRenderer: Fail to enter state V/OVFeatureUtils: ovBaseEnabled: true, ovFreeformEnabled: true D/USBMonitor: DeviceCheckRunnable onAttach:device=/dev/bus/usb/001/019 D/CameraConnectionService: OnDeviceConnectListener#onAttach: D/CameraHelper: onAttach: V/MainActivity: onAttach:device=/dev/bus/usb/001/019 V/MainActivity: selectDevice:device=/dev/bus/usb/001/019 W/.herohan.uvcapp: Accessing hidden method Landroid/content/res/AssetManager;->addAssetPath(Ljava/lang/String;)I (unsupported, reflection, allowed) D/CameraHelper: selectDevice:device=/dev/bus/usb/001/019 com.herohan.uvcapp.CameraHelper@7213ecd D/CameraConnectionService: CameraConnection#selectDevice:device=/dev/bus/usb/001/019 I/CameraConnectionService: request permission V/USBMonitor: requestPermission:device=/dev/bus/usb/001/019 V/USBMonitor: processOpenDevice:device=/dev/bus/usb/001/019 I/USBMonitor: UsbControlBlock:constructor I/USBMonitor: UsbControlBlock#open: D/UsbDeviceConnectionJNI: close I/USBMonitor: name=/dev/bus/usb/001/019,desc=108,busnum=1,devnum=19 I/CameraConnectionService: wait for getting permission D/CameraConnectionService: OnDeviceConnectListener#onDeviceOpen: D/CameraConnectionService: addCamera:device=/dev/bus/usb/001/019 D/CameraInternal: Constructor: D/libMEOW: meow new tls: 0xb40000705c8fca40 D/libMEOW: applied 0 plugin for [com.herohan.uvcapp]. D/libMEOW: rebuild call chain: 0xb40000705c90f000 E/GED: Failed to get GED Log Buf, err(0) D/EGLBase14: EGLContext created, client version 3 D/libMEOW: meow new tls: 0xb4000070c510cf40 D/libMEOW: applied 0 plugin for [com.herohan.uvcapp]. D/libMEOW: rebuild call chain: 0xb4000070c5125ec0 D/CameraConnectionService: number of existed camera=1 I/CameraConnectionService: check CameraInternal again I/CameraConnectionService: success to get service:serviceId=1019 D/CameraInternal: registerCallback: D/CameraHelper: onDeviceOpen: V/MainActivity: onDeviceOpen:device=/dev/bus/usb/001/019 D/BufferQueueConsumer: connect: controlledByApp=true E/FBI: Can't load library: dlopen failed: library "libmagtsync.so" not found D/CameraHelper: openCamera: com.herohan.uvcapp.CameraHelper@7213ecd D/CameraConnectionService: CameraConnection#openCamera: D/CameraHelper: setButtonCallback:com.herohan.uvcapp.activity.MainActivity$MyCameraHelperCallback$1@8147a85 D/CameraInternal: openCamera: D/CameraInternal: resetUVCCamera: com.herohan.uvcapp.CameraInternal@5eae0da V/RendererHolder: removeSlaveSurfaceAll I/mali: [DebugProp] GPU Debug-Mechanism Disable ! D/EGLBase14: EGLContext created, client version 3 V/RendererHolder: handleRemoveSurfaceAll: D/CameraInternal: openUVCCamera: com.herohan.uvcapp.CameraInternal@5eae0da I/USBMonitor: UsbControlBlock:constructor I/USBMonitor: UsbControlBlock#open: D/UsbDeviceConnectionJNI: close I/USBMonitor: name=/dev/bus/usb/001/019,desc=125,busnum=1,devnum=19 W/CameraHelper: type=1400 audit(0.0:40400): avc: denied { read } for name="usb" dev="tmpfs" ino=11280 scontext=u:r:untrusted_app:s0:c202,c256,c512,c768 tcontext=u:object_r:usb_device:s0 tclass=dir permissive=0 W/CameraHelper: type=1400 audit(0.0:40401): avc: denied { read } for name="/" dev="tmpfs" ino=8195 scontext=u:r:untrusted_app:s0:c202,c256,c512,c768 tcontext=u:object_r:device:s0 tclass=dir permissive=0 D/UVCCamera: setPreviewSize:0:Size(320x240@30,type:5) I/CameraInternal: supportedSize:{"formats":[{"index":1,"subType":6,"defaultFrameIndex":1,"frameDescriptors":[{"width":640,"height":480,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":7,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":1333333,"fps":7},{"index":6,"value":2000000,"fps":5}]},{"width":320,"height":240,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":7,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":1333333,"fps":7},{"index":6,"value":2000000,"fps":5}]},{"width":1280,"height":720,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":7,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":1333333,"fps":7},{"index":6,"value":2000000,"fps":5}]},{"width":1920,"height":1080,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":7,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":1333333,"fps":7},{"index":6,"value":2000000,"fps":5}]},{"width":1280,"height":960,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":7,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":1333333,"fps":7},{"index":6,"value":2000000,"fps":5}]},{"width":800,"height":600,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":7,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":1333333,"fps":7},{"index":6,"value":2000000,"fps":5}]}]},{"index":2,"subType":4,"defaultFrameIndex":1,"frameDescriptors":[{"width":640,"height":480,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":7,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":1333333,"fps":7},{"index":6,"value":2000000,"fps":5}]},{"width":320,"height":240,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":7,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":1333333,"fps":7},{"index":6,"value":2000000,"fps":5}]},{"width":1280,"height":720,"subType":5,"defaultFrameInterval":1000000,"frameIntervalType":3,"defaultFps":10,"intervals":[{"index":0,"value":1000000,"fps":10},{"index":1,"value":2000000,"fps":5},{"index":2,"value":3333333,"fps":3}]},{"width":1920,"height":1080,"subType":5,"defaultFrameInterval":2000000,"frameIntervalType":1,"defaultFps":5,"intervals":[{"index":0,"value":2000000,"fps":5}]},{"width":1280,"height":960,"subType":5,"defaultFrameInterval":2000000,"frameIntervalType":2,"defaultFps":5,"intervals":[{"index":0,"value":2000000,"fps":5},{"index":1,"value":3333333,"fps":3}]},{"width":800,"height":600,"subType":5,"defaultFrameInterval":1000000,"frameIntervalType":2,"defaultFps":10,"intervals":[{"index":0,"value":1000000,"fps":10},{"index":1,"value":2000000,"fps":5}]}]}]} D/CameraInternal: setCameraPreviewConfig: D/CameraInternal: rotateTo:0 D/CameraInternal: setMirrorMode:0 D/MediaCodec: CreateByType: pid -1(31443) D/MediaCodec: CreateByType: mime video/avc, encoder 1 pid -1 D/MediaCodecList: codecHandlesFormat: no format, so no extra checks D/MediaCodecList: codecHandlesFormat: no format, so no extra checks D/MediaCodecList: codecHandlesFormat: no format, so no extra checks D/CCodecBufferChannel: mBufferCountDebug=0 mIsUserLoad=1 D/MediaCodec: [0xb400007044535000] init: CCodec 0xb4000070c509ec00, CCodecBufferChannel 0xb4000070c50cf900 D/MediaCodec: [0xb400007044535000] setState: 1 D/CCodec: allocate(c2.mtk.avc.encoder) I/Codec2Client: Available Codec2 services: "default" "default1" "software" I/CCodec: setting up 'default' as default (vendor) store I/CCodec: Created component [c2.mtk.avc.encoder] D/CCodecBufferChannel: [0xb4000070c50cf900] setComponent: mName c2.mtk.avc.encoder#971, mPipelineWatcher 0xb4000070c50cfd68 D/CCodecBufferChannel: PipelineWatcher debug info [c2.mtk.avc.encoder#971] enable=0 D/CCodecConfig: read media type: video/avc D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values D/ReflectedParamUpdater: ignored struct field coding.gop.values D/ReflectedParamUpdater: ignored struct field coding.qp.values D/CCodecConfig: ignoring local param raw.color (0xc2001809) as it is already supported I/CCodecConfig: query failed after returning 22 values (BAD_INDEX) D/CCodecConfig: c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 algo.delay.value = 8 c2::i32 algo.priority.value = 0 c2::u32 algo.quality.value = 80 c2::float algo.rate.value = 0 c2::i32 coded.average-qp.value = 0 c2::u32 coded.bitrate.value = 64000 c2::float coded.frame-rate.value = 30 c2::u32 coded.picture-type.value = 0 c2::u32 coded.pl.level = 20494 c2::u32 coded.pl.profile = 20484 c2::u32 coded.tile-layout.columns = 2 c2::u32 coded.tile-layout.order = 0 c2::u32 coded.tile-layout.rows = 1 c2::u32 coded.tile-layout.tile.height = 256 c2::u32 coded.tile-layout.tile.width = 256 c2::u32 coded.vui.color.matrix = 0 c2::u32 coded.vui.color.primaries = 0 c2::u32 coded.vui.color.range = 0 c2::u32 coded.vui.color.transfer = 0 c2::u32 coding.intra-refresh.mode = 0 c2::float coding.intra-refresh.period = 0 c2::u32 coding.request-sync-frame.value = 0 c2::i64 coding.sync-frame-interval.value = 1000000 Buffer coding.temporal-layering = { 00000000: 10 00 00 00 0 W/ColorUtils: expected specified color aspects (0:0:0:0) D/MediaCodec: [0xb400007044535000] setState: 2 D/MediaCodec: CreateByType: pid -1(31443) D/MediaCodec: CreateByType: mime audio/mp4a-latm, encoder 1 pid -1 D/MediaCodecList: codecHandlesFormat: no format, so no extra checks D/MediaCodecList: codecHandlesFormat: no format, so no extra checks D/CCodecBufferChannel: mBufferCountDebug=0 mIsUserLoad=1 D/MediaCodec: [0xb400007044536000] init: CCodec 0xb4000070c509ef00, CCodecBufferChannel 0xb4000070c50cfe00 D/MediaCodec: [0xb400007044536000] setState: 1 D/CCodec: allocate(c2.android.aac.encoder) I/CCodec: setting up 'default' as default (vendor) store I/CCodec: Created component [c2.android.aac.encoder] D/CCodecBufferChannel: [0xb4000070c50cfe00] setComponent: mName c2.android.aac.encoder#23, mPipelineWatcher 0xb4000070c50d0268 D/CCodecBufferChannel: PipelineWatcher debug info [c2.android.aac.encoder#23] enable=0 D/CCodecConfig: read media type: audio/mp4a-latm D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) D/CCodecConfig: c2 config diff is Dict { c2::u32 coded.bitrate.value = 64000 c2::u32 coded.pl.level = 0 c2::u32 coded.pl.profile = 8192 c2::u32 coding.aac-sbr-mode.value = 3 c2::u32 input.buffers.max-size.value = 2048 c2::u32 input.delay.value = 0 string input.media-type.value = "audio/raw" string output.media-type.value = "audio/mp4a-latm" c2::u32 raw.channel-count.value = 1 c2::u32 raw.sample-rate.value = 44100 } D/MediaCodec: [0xb400007044536000] setState: 2 D/MediaCodec: [0xb400007044535000] [c2.mtk.avc.encoder] release D/MediaCodec: [0xb400007044535000] setState: 10 D/MediaCodec: [0xb400007044535000] [c2.mtk.avc.encoder] kWhatReleaseCompleted I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients D/MediaCodec: [0xb400007044535000] setState: 0 D/CCodecBufferChannel: mBufferCountDebug=0 mIsUserLoad=1 D/MediaCodec: [0xb400007044535000] init: CCodec 0xb4000070c509ec00, CCodecBufferChannel 0xb400007044564000 D/MediaCodec: [0xb400007044535000] setState: 1 D/CCodec: allocate(c2.mtk.avc.encoder) I/CCodec: setting up 'default' as default (vendor) store I/CCodec: Created component [c2.mtk.avc.encoder] D/CCodecBufferChannel: [0xb400007044564000] setComponent: mName c2.mtk.avc.encoder#774, mPipelineWatcher 0xb400007044564468 D/CCodecBufferChannel: PipelineWatcher debug info [c2.mtk.avc.encoder#774] enable=0 D/CCodecConfig: read media type: video/avc D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values D/ReflectedParamUpdater: ignored struct field coding.gop.values D/ReflectedParamUpdater: ignored struct field coding.qp.values D/CCodecConfig: ignoring local param raw.color (0xc2001809) as it is already supported I/CCodecConfig: query failed after returning 22 values (BAD_INDEX) D/CCodecConfig: c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 algo.delay.value = 8 c2::i32 algo.priority.value = 0 c2::u32 algo.quality.value = 80 c2::float algo.rate.value = 0 c2::i32 coded.average-qp.value = 0 c2::u32 coded.bitrate.value = 64000 c2::float coded.frame-rate.value = 30 c2::u32 coded.picture-type.value = 0 c2::u32 coded.pl.level = 20494 c2::u32 coded.pl.profile = 20484 c2::u32 coded.tile-layout.columns = 2 c2::u32 coded.tile-layout.order = 0 c2::u32 coded.tile-layout.rows = 1 c2::u32 coded.tile-layout.tile.height = 256 c2::u32 coded.tile-layout.tile.width = 256 c2::u32 coded.vui.color.matrix = 0 c2::u32 coded.vui.color.primaries = 0 c2::u32 coded.vui.color.range = 0 c2::u32 coded.vui.color.transfer = 0 c2::u32 coding.intra-refresh.mode = 0 c2::float coding.intra-refresh.period = 0 c2::u32 coding.request-sync-frame.value = 0 c2::i64 coding.sync-frame-interval.value = 1000000 Buffer coding.temporal-layering = { 00000000: 10 00 00 00 0 W/ColorUtils: expected specified color aspects (0:0:0:0) D/MediaCodec: [0xb400007044535000] setState: 2 D/MediaCodec: [0xb400007044535000] [c2.mtk.avc.encoder] configure D/CodecSeeding: Seed: codec c2.mtk.avc.encoder, mediatype video/avc, overrideable 1 D/CodecProperties: setTuningValue(vq-target-bpp,0) D/CodecProperties: setTuningValue(vq-target-bpp-1080p,1.90) D/CodecProperties: setTuningValue(vq-target-bpp-720p,2.25) D/CodecProperties: setTuningValue(vq-target-bpp-540p,2.65) D/CodecProperties: setTuningValue(vq-target-bpp-480p,3.00) D/CodecProperties: setTuningValue(vq-target-bpp-320x240,0) D/CodecProperties: setTuningValue(vq-target-qpmax,-1) D/CodecProperties: setTuningValue(vq-target-qpmax-1080p,45) D/CodecProperties: setTuningValue(vq-target-qpmax-720p,43) D/CodecProperties: setTuningValue(vq-target-qpmax-540p,42) D/CodecProperties: setTuningValue(vq-target-qpmax-480p,38) D/CodecProperties: setTuningValue(vq-bitrate-phaseout,1.75) D/CodecProperties: setTuningValue(vq-boost-missing-qp,0.20) D/CodecProperties: setFeatureValue(_vq_eligible.device,1) D/CodecProperties: setFeatureValue(_quality.target,1) D/CodecSeeding: Seed: codec c2.mtk.avc.encoder, mediatype video/avc, overrideable 0 D/VQApply: minquality: 320x240 outside of shaping range D/MediaCodec: shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = { int32_t android._encoding-quality-level = 0 } D/MediaCodec: flushMediametrics D/MediaCodec: [0xb400007044535000] setState: 3 D/CCodec: [c2.mtk.avc.encoder] buffers are bound to CCodec for this session D/CCodecConfig: no c2 equivalents for color-format D/CCodecConfig: no c2 equivalents for flags D/CCodecConfig: no c2 equivalents for encoder D/CCodecConfig: c2 config diff is c2::u32 coded.bitrate.value = 6553600 c2::float coded.frame-rate.value = 25 c2::u32 raw.pixel-format.value = 34 W/ColorUtils: expected specified color aspects (0:0:0:0) W/Codec2Client: query -- param skipped: index = 3254781982. D/CCodec: encoding statistics level = 0 D/CCodec: setup formats input: AMessage(what = 0x00000000) = { int32_t android._color-format = 2130708361 Rect crop(0, 0, 319, 239) int32_t color-standard = 0 int32_t color-range = 0 int32_t color-transfer = 0 int32_t frame-rate = 25 int32_t height = 240 float input.time-stretch = 1.000000 int32_t intra-refresh-period = 0 int32_t latency = 8 string mime = "video/raw" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 0 int32_t video-qp-average = 0 int32_t width = 320 int32_t android._dataspace = 0 int64_t android._C2MemoryUsage = 0 int32_t color-format = 2130708361 } D/CCodec: setup formats output: AMessage(what = 0x00000000) = { int32_t bitrate = 6553600 int32_t bitrate-mode = 1 Rect crop(0, 0, 319, 239) int32_t width = 320 int32_t color-standard = 0 int32_t color-range = 0 int32_t color-transfer = 0 int32_t frame-rate = 25 int32_t height = 240 float input.time-stretch = 1.000000 int32_t intra-refresh-period = 0 int32_t latency = 8 int32_t level = 16384 int32_t max-bitrate = 6553600 string mime = "video/avc" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 0 int32_t profile = 8 int32_t video-qp-average = 0 } I/CCodecConfig: query failed after returning 23 values (BAD_INDEX) D/MediaCodec: [0xb400007044535000] setState: 4 D/BufferQueueConsumer: GraphicBufferSource connect: controlledByApp=false D/CCodec: input format changed to AMessage(what = 0x00000000) = { int32_t android._color-format = 2130708361 Rect crop(0, 0, 319, 239) int32_t color-standard = 4 int32_t color-range = 2 int32_t color-transfer = 3 int32_t frame-rate = 25 int32_t height = 240 float input.time-stretch = 1.000000 int32_t intra-refresh-period = 0 int32_t latency = 8 string mime = "video/raw" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 0 int32_t video-qp-average = 0 int32_t width = 320 int32_t android._dataspace = 259 int64_t android._C2MemoryUsage = 0 int32_t color-format = 2130708361 } D/GraphicBufferSource: setting dataspace: 0x103, acquired=0 D/CCodec: ISConfig not changed D/MediaCodec: [0xb400007044536000] [c2.android.aac.encoder] release D/MediaCodec: [0xb400007044536000] setState: 10 I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients D/MediaCodec: [0xb400007044536000] [c2.android.aac.encoder] kWhatReleaseCompleted D/MediaCodec: [0xb400007044536000] setState: 0 D/CCodecBufferChannel: mBufferCountDebug=0 mIsUserLoad=1 D/MediaCodec: [0xb400007044536000] init: CCodec 0xb4000070c509ef00, CCodecBufferChannel 0xb400007044564a00 D/MediaCodec: [0xb400007044536000] setState: 1 D/CCodec: allocate(c2.android.aac.encoder) I/CCodec: setting up 'default' as default (vendor) store I/CCodec: Created component [c2.android.aac.encoder] D/CCodecBufferChannel: [0xb400007044564a00] setComponent: mName c2.android.aac.encoder#183, mPipelineWatcher 0xb400007044564e68 D/CCodecBufferChannel: PipelineWatcher debug info [c2.android.aac.encoder#183] enable=0 D/CCodecConfig: read media type: audio/mp4a-latm D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) D/CCodecConfig: c2 config diff is Dict { c2::u32 coded.bitrate.value = 64000 c2::u32 coded.pl.level = 0 c2::u32 coded.pl.profile = 8192 c2::u32 coding.aac-sbr-mode.value = 3 c2::u32 input.buffers.max-size.value = 2048 c2::u32 input.delay.value = 0 string input.media-type.value = "audio/raw" string output.media-type.value = "audio/mp4a-latm" c2::u32 raw.channel-count.value = 1 c2::u32 raw.sample-rate.value = 44100 } D/MediaCodec: [0xb400007044536000] setState: 2 D/MediaCodec: [0xb400007044536000] [c2.android.aac.encoder] configure D/CodecSeeding: Seed: codec c2.android.aac.encoder, mediatype audio/mp4a-latm, overrideable 1 D/CodecProperties: setFeatureValue(_vq_eligible.device,1) D/CodecProperties: setFeatureValue(_quality.target,1) D/CodecSeeding: Seed: codec c2.android.aac.encoder, mediatype audio/mp4a-latm, overrideable 0 D/MediaCodec: shapeMediaFormat: deltas(0): AMessage(what = 0x00000000) = { } D/MediaCodec: flushMediametrics D/MediaCodec: [0xb400007044536000] setState: 3 D/CCodec: [c2.android.aac.encoder] buffers are bound to CCodec for this session D/CCodecConfig: no c2 equivalents for flags D/CCodecConfig: no c2 equivalents for encoder D/CCodecConfig: c2 config diff is c2::u32 raw.sample-rate.value = 8000 W/Codec2Client: query -- param skipped: index = 1107298332. D/CCodec: encoding statistics level = 0 D/CCodec: setup formats input: AMessage(what = 0x00000000) = { int32_t sample-rate = 8000 int32_t channel-count = 1 int32_t max-input-size = 2048 string mime = "audio/raw" int32_t android._config-pcm-encoding = 2 } D/CCodec: setup formats output: AMessage(what = 0x00000000) = { int32_t sample-rate = 8000 int32_t bitrate = 64000 int32_t channel-count = 1 int32_t level = 0 int32_t max-bitrate = 64000 string mime = "audio/mp4a-latm" int32_t profile = 2 } I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) D/MediaCodec: [0xb400007044536000] setState: 4 D/AudioRecord: set(): 0xb4000070c50cfe00, inputSource 5, sampleRate 8000, format 0x1, channelMask 0x10, frameCount 640, notificationFrames 0, sessionId 0, transferType 0, flags 0, attributionSource AttributionSourceState{pid: -1, uid: 10202, packageName: com.herohan.uvcapp, attributionTag: (null), token: , renouncedPermissions: [], next: []} uid -1, pid -1 E/AudioRecord: createRecord_l(0): AudioFlinger could not create record track, status: -1 E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -1. D/AudioRecord: ~AudioRecord(0): mStatus -1 D/AudioRecord: ~AudioRecord done E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object. E/VideoCapture: AudioRecord object cannot initialized correctly! D/CameraInternal: processOnCameraOpen: D/CameraHelper: onCameraOpen: D/CameraConnectionService: CameraConnection#setButtonCallback:callback=com.herohan.uvcapp.activity.MainActivity$MyCameraHelperCallback$1@8147a85 V/MainActivity: onCameraOpen:device=/dev/bus/usb/001/019 D/CameraInternal: setButtonCallback:callback=com.herohan.uvcapp.activity.MainActivity$MyCameraHelperCallback$1@8147a85 D/CameraHelper: startPreview: com.herohan.uvcapp.CameraHelper@7213ecd D/CameraHelper: getPreviewSize: D/CameraConnectionService: CameraConnection#startPreview: D/CameraInternal: startPreview: com.herohan.uvcapp.CameraInternal@5eae0da D/CameraInternal: updateRendererSize: D/BufferQueueConsumer: SurfaceTexture-1-31443-0 disconnect D/BufferQueueConsumer: connect: controlledByApp=true D/EGLBase14: EGLContext created, client version 3 I/libUVCCamera: [31528UVCPreview.cpp:531:prepare_preview]:frameSize=(320,240)@yuyv I/libUVCCamera: [31529UVCPreview.cpp:115:get_frame]:allocate new frame I/libUVCCamera: [31528UVCPreview.cpp:115:get_frame]:allocate new frame E/ion: ioctl c0044901 failed with code -1: Invalid argument I/DMABUFHEAPS: Using : Legacy ion heaps W/Thread-2: type=1400 audit(0.0:40402): avc: denied { ioctl } for path="/proc/perfmgr/perf_ioctl" dev="proc" ino=4026532626 ioctlcmd=0x6717 scontext=u:r:untrusted_app:s0:c202,c256,c512,c768 tcontext=u:object_r:proc_perfmgr:s0 tclass=file permissive=0 D/hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument I/libUVCCamera: [31529UVCPreview.cpp:115:get_frame]:allocate new frame D/CCodecBufferChannel: elapsed: mInputMetEos 0, hasPendingOutputsInClient 1, n 0 D/PipelineWatcher: [0xb400007044564468] elapsed: mFramesInPipeline 0, n 0 D/CCodecBufferChannel: elapsed: mInputMetEos 0, hasPendingOutputsInClient 1, n 0 D/PipelineWatcher: [0xb400007044564e68] elapsed: mFramesInPipeline 0, n 0 W/System: A resource failed to call close.
我对比了 正常pad和故障pad的打印信息,有两个可疑的错误,不知道是不是这个原因导致的预览有问题。 1、E/FBI: Can't load library: dlopen failed: library "libmagtsync.so" not found 我在工程里面没找到这个SO库,不知道是不是系统的问题 2、D/BufferQueueConsumer: SurfaceTexture-1-31443-0 disconnect 能正常预览的pad 没有这个日志打印。
The text was updated successfully, but these errors were encountered:
这个问题有解决吗
Sorry, something went wrong.
No branches or pull requests
在联想K10pad上预览黑屏,修改了配置参数,采用最低分辨率,默认UVC_VS_FRAME_UNCOMPRESSED,预览有画面了,显示上半部绿屏,下半部分条纹状图像,请问什么原因,
下面是K10 运行的日志信息
08/02 09:47:11: Launching 'app' on LENOVO TB330FU.
Install successfully finished in 1 s 249 ms.
$ adb shell am start -n "com.herohan.uvcapp/com.herohan.uvcapp.activity.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 31443 on device 'lenovo-tb330fu-192.168.1.169:5555'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/.herohan.uvcapp: Late-enabling -Xcheck:jni
W/.herohan.uvcapp: DexFile /data/data/com.herohan.uvcapp/code_cache/.studio/instruments-6b5afa68.jar is in boot class path but is not in a known location
W/.herohan.uvcapp: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!
W/.herohan.uvcapp: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!
W/.herohan.uvcapp: Redefining intrinsic method java.lang.Thread java.lang.Thread.currentThread(). This may cause the unexpected use of the original definition of java.lang.Thread java.lang.Thread.currentThread()in methods that have already been compiled.
W/.herohan.uvcapp: Redefining intrinsic method boolean java.lang.Thread.interrupted(). This may cause the unexpected use of the original definition of boolean java.lang.Thread.interrupted()in methods that have already been compiled.
W/.herohan.uvcapp: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!
W/.herohan.uvcapp: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!
W/.herohan.uvcapp: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!
W/ziparchive: Unable to open '/data/app/~~a9sFwes5z4YHAtIGaAMQhg==/com.herohan.uvcapp-x4qbKv10f_HGQ7X9-DT3PA==/base.dm': No such file or directory
W/ziparchive: Unable to open '/data/app/~~a9sFwes5z4YHAtIGaAMQhg==/com.herohan.uvcapp-x4qbKv10f_HGQ7X9-DT3PA==/base.dm': No such file or directory
I/LoadedApk: No resource references to update in package com.zuisdk
E/OpenGLRenderer: start vsync check timer failed:-1
I/MSYNC3-VariableRefreshRate: Variable refreshrate is disabled
I/PowerHalWrapper: PowerHalWrapper.getInstance
W/.herohan.uvcapp: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)
D/DecorView: isCts, pkg: com.herohan.uvcapp
D/DecorView: enableCaption====falsefalse com.android.internal.policy.DecorView.createDecorCaptionView:2590 com.android.internal.policy.DecorView.onResourcesLoaded:2493 com.android.internal.policy.PhoneWindow.generateLayout:2750 com.android.internal.policy.PhoneWindow.installDecor:2813 com.android.internal.policy.PhoneWindow.getDecorView:2220
W/.herohan.uvcapp: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
V/MainActivity: clearCameraHelper:
D/CameraHelper: Constructor:
W/.herohan.uvcapp: Accessing hidden method Landroid/app/ActivityThread;->currentActivityThread()Landroid/app/ActivityThread; (unsupported, reflection, allowed)
W/.herohan.uvcapp: Accessing hidden method Landroid/app/ActivityThread;->getApplication()Landroid/app/Application; (unsupported, reflection, allowed)
V/USBMonitor: USBMonitor:Constructor
V/USBMonitor: USBMonitor:mUsbManager=android.hardware.usb.UsbManager@9aecb0e
D/CameraHelper: registerCallback:
D/CameraConnectionService: mUSBMonitor#register:
I/USBMonitor: register:
D/CompatibilityChangeReporter: Compat change id reported: 160794467; UID 10202; state: ENABLED
D/CameraHelper: setImageCaptureConfig:
D/CameraHelper: isCameraOpened:
D/CameraHelper: setVideoCaptureConfig:
D/CameraHelper: isCameraOpened:
D/WindowManagerImpl: test-addView displayId=0 0
I/SurfaceFactory: [static] sSurfaceFactory = com.mediatek.view.impl.SurfaceFactoryImpl@38ee92b
D/OneModeCodeSwitch: ovBaseEnabled: true
D/VRI[MainActivity]: hardware acceleration = true, forceHwAccelerated = false
D/libMEOW: meow new tls: 0xb40000705c8ca140
D/libMEOW: applied 0 plugin for [com.herohan.uvcapp].
D/libMEOW: rebuild call chain: 0xb40000705c8d9500
D/InputTransport: Create ARC handle: 0xb4000070b17d6140
D/OpenGLRenderer: onVsyncDealingBegan,latency:531.417847, frame:234565
I/Choreographer: Skipped 47 frames! The application may be doing too much work on its main thread.
E/Choreographer: Not get property ,mJankReportEnabled:false
D/Choreographer: Jank detected:FrameSkipped,dealing:FeatureDisabled pid:31443 type:3 start time:40658299496883 duration:531417846 jank count:1 durationms:531.41785
D/OpenGLRenderer: switchState now,exit:0 enter:0
D/OpenGLRenderer: Idle state exit
E/OpenGLRenderer: initiateBoost boost params for CPU not initialized,use default config
D/OpenGLRenderer: startBoost read result:-1
E/OpenGLRenderer: Fail to do boost for resource:1 error:-1
D/OpenGLRenderer: finish enter, updated state:0, target state:1 oldstate:0
E/OpenGLRenderer: Fail to enter state
V/OVFeatureUtils: ovBaseEnabled: true, ovFreeformEnabled: true
D/USBMonitor: DeviceCheckRunnable onAttach:device=/dev/bus/usb/001/019
D/CameraConnectionService: OnDeviceConnectListener#onAttach:
D/CameraHelper: onAttach:
V/MainActivity: onAttach:device=/dev/bus/usb/001/019
V/MainActivity: selectDevice:device=/dev/bus/usb/001/019
W/.herohan.uvcapp: Accessing hidden method Landroid/content/res/AssetManager;->addAssetPath(Ljava/lang/String;)I (unsupported, reflection, allowed)
D/CameraHelper: selectDevice:device=/dev/bus/usb/001/019 com.herohan.uvcapp.CameraHelper@7213ecd
D/CameraConnectionService: CameraConnection#selectDevice:device=/dev/bus/usb/001/019
I/CameraConnectionService: request permission
V/USBMonitor: requestPermission:device=/dev/bus/usb/001/019
V/USBMonitor: processOpenDevice:device=/dev/bus/usb/001/019
I/USBMonitor: UsbControlBlock:constructor
I/USBMonitor: UsbControlBlock#open:
D/UsbDeviceConnectionJNI: close
I/USBMonitor: name=/dev/bus/usb/001/019,desc=108,busnum=1,devnum=19
I/CameraConnectionService: wait for getting permission
D/CameraConnectionService: OnDeviceConnectListener#onDeviceOpen:
D/CameraConnectionService: addCamera:device=/dev/bus/usb/001/019
D/CameraInternal: Constructor:
D/libMEOW: meow new tls: 0xb40000705c8fca40
D/libMEOW: applied 0 plugin for [com.herohan.uvcapp].
D/libMEOW: rebuild call chain: 0xb40000705c90f000
E/GED: Failed to get GED Log Buf, err(0)
D/EGLBase14: EGLContext created, client version 3
D/libMEOW: meow new tls: 0xb4000070c510cf40
D/libMEOW: applied 0 plugin for [com.herohan.uvcapp].
D/libMEOW: rebuild call chain: 0xb4000070c5125ec0
D/CameraConnectionService: number of existed camera=1
I/CameraConnectionService: check CameraInternal again
I/CameraConnectionService: success to get service:serviceId=1019
D/CameraInternal: registerCallback:
D/CameraHelper: onDeviceOpen:
V/MainActivity: onDeviceOpen:device=/dev/bus/usb/001/019
D/BufferQueueConsumer: connect: controlledByApp=true
E/FBI: Can't load library: dlopen failed: library "libmagtsync.so" not found
D/CameraHelper: openCamera: com.herohan.uvcapp.CameraHelper@7213ecd
D/CameraConnectionService: CameraConnection#openCamera:
D/CameraHelper: setButtonCallback:com.herohan.uvcapp.activity.MainActivity$MyCameraHelperCallback$1@8147a85
D/CameraInternal: openCamera:
D/CameraInternal: resetUVCCamera: com.herohan.uvcapp.CameraInternal@5eae0da
V/RendererHolder: removeSlaveSurfaceAll
I/mali: [DebugProp] GPU Debug-Mechanism Disable !
D/EGLBase14: EGLContext created, client version 3
V/RendererHolder: handleRemoveSurfaceAll:
D/CameraInternal: openUVCCamera: com.herohan.uvcapp.CameraInternal@5eae0da
I/USBMonitor: UsbControlBlock:constructor
I/USBMonitor: UsbControlBlock#open:
D/UsbDeviceConnectionJNI: close
I/USBMonitor: name=/dev/bus/usb/001/019,desc=125,busnum=1,devnum=19
W/CameraHelper: type=1400 audit(0.0:40400): avc: denied { read } for name="usb" dev="tmpfs" ino=11280 scontext=u:r:untrusted_app:s0:c202,c256,c512,c768 tcontext=u:object_r:usb_device:s0 tclass=dir permissive=0
W/CameraHelper: type=1400 audit(0.0:40401): avc: denied { read } for name="/" dev="tmpfs" ino=8195 scontext=u:r:untrusted_app:s0:c202,c256,c512,c768 tcontext=u:object_r:device:s0 tclass=dir permissive=0
D/UVCCamera: setPreviewSize:0:Size(320x240@30,type:5)
I/CameraInternal: supportedSize:{"formats":[{"index":1,"subType":6,"defaultFrameIndex":1,"frameDescriptors":[{"width":640,"height":480,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":7,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":1333333,"fps":7},{"index":6,"value":2000000,"fps":5}]},{"width":320,"height":240,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":7,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":1333333,"fps":7},{"index":6,"value":2000000,"fps":5}]},{"width":1280,"height":720,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":7,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":1333333,"fps":7},{"index":6,"value":2000000,"fps":5}]},{"width":1920,"height":1080,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":7,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":1333333,"fps":7},{"index":6,"value":2000000,"fps":5}]},{"width":1280,"height":960,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":7,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":1333333,"fps":7},{"index":6,"value":2000000,"fps":5}]},{"width":800,"height":600,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":7,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":1333333,"fps":7},{"index":6,"value":2000000,"fps":5}]}]},{"index":2,"subType":4,"defaultFrameIndex":1,"frameDescriptors":[{"width":640,"height":480,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":7,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":1333333,"fps":7},{"index":6,"value":2000000,"fps":5}]},{"width":320,"height":240,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":7,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":1333333,"fps":7},{"index":6,"value":2000000,"fps":5}]},{"width":1280,"height":720,"subType":5,"defaultFrameInterval":1000000,"frameIntervalType":3,"defaultFps":10,"intervals":[{"index":0,"value":1000000,"fps":10},{"index":1,"value":2000000,"fps":5},{"index":2,"value":3333333,"fps":3}]},{"width":1920,"height":1080,"subType":5,"defaultFrameInterval":2000000,"frameIntervalType":1,"defaultFps":5,"intervals":[{"index":0,"value":2000000,"fps":5}]},{"width":1280,"height":960,"subType":5,"defaultFrameInterval":2000000,"frameIntervalType":2,"defaultFps":5,"intervals":[{"index":0,"value":2000000,"fps":5},{"index":1,"value":3333333,"fps":3}]},{"width":800,"height":600,"subType":5,"defaultFrameInterval":1000000,"frameIntervalType":2,"defaultFps":10,"intervals":[{"index":0,"value":1000000,"fps":10},{"index":1,"value":2000000,"fps":5}]}]}]}
D/CameraInternal: setCameraPreviewConfig:
D/CameraInternal: rotateTo:0
D/CameraInternal: setMirrorMode:0
D/MediaCodec: CreateByType: pid -1(31443)
D/MediaCodec: CreateByType: mime video/avc, encoder 1 pid -1
D/MediaCodecList: codecHandlesFormat: no format, so no extra checks
D/MediaCodecList: codecHandlesFormat: no format, so no extra checks
D/MediaCodecList: codecHandlesFormat: no format, so no extra checks
D/CCodecBufferChannel: mBufferCountDebug=0 mIsUserLoad=1
D/MediaCodec: [0xb400007044535000] init: CCodec 0xb4000070c509ec00, CCodecBufferChannel 0xb4000070c50cf900
D/MediaCodec: [0xb400007044535000] setState: 1
D/CCodec: allocate(c2.mtk.avc.encoder)
I/Codec2Client: Available Codec2 services: "default" "default1" "software"
I/CCodec: setting up 'default' as default (vendor) store
I/CCodec: Created component [c2.mtk.avc.encoder]
D/CCodecBufferChannel: [0xb4000070c50cf900] setComponent: mName c2.mtk.avc.encoder#971, mPipelineWatcher 0xb4000070c50cfd68
D/CCodecBufferChannel: PipelineWatcher debug info [c2.mtk.avc.encoder#971] enable=0
D/CCodecConfig: read media type: video/avc
D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
D/ReflectedParamUpdater: ignored struct field coding.gop.values
D/ReflectedParamUpdater: ignored struct field coding.qp.values
D/CCodecConfig: ignoring local param raw.color (0xc2001809) as it is already supported
I/CCodecConfig: query failed after returning 22 values (BAD_INDEX)
D/CCodecConfig: c2 config diff is Dict {
c2::u32 algo.bitrate-mode.value = 3
c2::u32 algo.delay.value = 8
c2::i32 algo.priority.value = 0
c2::u32 algo.quality.value = 80
c2::float algo.rate.value = 0
c2::i32 coded.average-qp.value = 0
c2::u32 coded.bitrate.value = 64000
c2::float coded.frame-rate.value = 30
c2::u32 coded.picture-type.value = 0
c2::u32 coded.pl.level = 20494
c2::u32 coded.pl.profile = 20484
c2::u32 coded.tile-layout.columns = 2
c2::u32 coded.tile-layout.order = 0
c2::u32 coded.tile-layout.rows = 1
c2::u32 coded.tile-layout.tile.height = 256
c2::u32 coded.tile-layout.tile.width = 256
c2::u32 coded.vui.color.matrix = 0
c2::u32 coded.vui.color.primaries = 0
c2::u32 coded.vui.color.range = 0
c2::u32 coded.vui.color.transfer = 0
c2::u32 coding.intra-refresh.mode = 0
c2::float coding.intra-refresh.period = 0
c2::u32 coding.request-sync-frame.value = 0
c2::i64 coding.sync-frame-interval.value = 1000000
Buffer coding.temporal-layering = {
00000000: 10 00 00 00 0
W/ColorUtils: expected specified color aspects (0:0:0:0)
D/MediaCodec: [0xb400007044535000] setState: 2
D/MediaCodec: CreateByType: pid -1(31443)
D/MediaCodec: CreateByType: mime audio/mp4a-latm, encoder 1 pid -1
D/MediaCodecList: codecHandlesFormat: no format, so no extra checks
D/MediaCodecList: codecHandlesFormat: no format, so no extra checks
D/CCodecBufferChannel: mBufferCountDebug=0 mIsUserLoad=1
D/MediaCodec: [0xb400007044536000] init: CCodec 0xb4000070c509ef00, CCodecBufferChannel 0xb4000070c50cfe00
D/MediaCodec: [0xb400007044536000] setState: 1
D/CCodec: allocate(c2.android.aac.encoder)
I/CCodec: setting up 'default' as default (vendor) store
I/CCodec: Created component [c2.android.aac.encoder]
D/CCodecBufferChannel: [0xb4000070c50cfe00] setComponent: mName c2.android.aac.encoder#23, mPipelineWatcher 0xb4000070c50d0268
D/CCodecBufferChannel: PipelineWatcher debug info [c2.android.aac.encoder#23] enable=0
D/CCodecConfig: read media type: audio/mp4a-latm
D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
I/CCodecConfig: query failed after returning 9 values (BAD_INDEX)
D/CCodecConfig: c2 config diff is Dict {
c2::u32 coded.bitrate.value = 64000
c2::u32 coded.pl.level = 0
c2::u32 coded.pl.profile = 8192
c2::u32 coding.aac-sbr-mode.value = 3
c2::u32 input.buffers.max-size.value = 2048
c2::u32 input.delay.value = 0
string input.media-type.value = "audio/raw"
string output.media-type.value = "audio/mp4a-latm"
c2::u32 raw.channel-count.value = 1
c2::u32 raw.sample-rate.value = 44100
}
D/MediaCodec: [0xb400007044536000] setState: 2
D/MediaCodec: [0xb400007044535000] [c2.mtk.avc.encoder] release
D/MediaCodec: [0xb400007044535000] setState: 10
D/MediaCodec: [0xb400007044535000] [c2.mtk.avc.encoder] kWhatReleaseCompleted
I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
D/MediaCodec: [0xb400007044535000] setState: 0
D/CCodecBufferChannel: mBufferCountDebug=0 mIsUserLoad=1
D/MediaCodec: [0xb400007044535000] init: CCodec 0xb4000070c509ec00, CCodecBufferChannel 0xb400007044564000
D/MediaCodec: [0xb400007044535000] setState: 1
D/CCodec: allocate(c2.mtk.avc.encoder)
I/CCodec: setting up 'default' as default (vendor) store
I/CCodec: Created component [c2.mtk.avc.encoder]
D/CCodecBufferChannel: [0xb400007044564000] setComponent: mName c2.mtk.avc.encoder#774, mPipelineWatcher 0xb400007044564468
D/CCodecBufferChannel: PipelineWatcher debug info [c2.mtk.avc.encoder#774] enable=0
D/CCodecConfig: read media type: video/avc
D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
D/ReflectedParamUpdater: ignored struct field coding.gop.values
D/ReflectedParamUpdater: ignored struct field coding.qp.values
D/CCodecConfig: ignoring local param raw.color (0xc2001809) as it is already supported
I/CCodecConfig: query failed after returning 22 values (BAD_INDEX)
D/CCodecConfig: c2 config diff is Dict {
c2::u32 algo.bitrate-mode.value = 3
c2::u32 algo.delay.value = 8
c2::i32 algo.priority.value = 0
c2::u32 algo.quality.value = 80
c2::float algo.rate.value = 0
c2::i32 coded.average-qp.value = 0
c2::u32 coded.bitrate.value = 64000
c2::float coded.frame-rate.value = 30
c2::u32 coded.picture-type.value = 0
c2::u32 coded.pl.level = 20494
c2::u32 coded.pl.profile = 20484
c2::u32 coded.tile-layout.columns = 2
c2::u32 coded.tile-layout.order = 0
c2::u32 coded.tile-layout.rows = 1
c2::u32 coded.tile-layout.tile.height = 256
c2::u32 coded.tile-layout.tile.width = 256
c2::u32 coded.vui.color.matrix = 0
c2::u32 coded.vui.color.primaries = 0
c2::u32 coded.vui.color.range = 0
c2::u32 coded.vui.color.transfer = 0
c2::u32 coding.intra-refresh.mode = 0
c2::float coding.intra-refresh.period = 0
c2::u32 coding.request-sync-frame.value = 0
c2::i64 coding.sync-frame-interval.value = 1000000
Buffer coding.temporal-layering = {
00000000: 10 00 00 00 0
W/ColorUtils: expected specified color aspects (0:0:0:0)
D/MediaCodec: [0xb400007044535000] setState: 2
D/MediaCodec: [0xb400007044535000] [c2.mtk.avc.encoder] configure
D/CodecSeeding: Seed: codec c2.mtk.avc.encoder, mediatype video/avc, overrideable 1
D/CodecProperties: setTuningValue(vq-target-bpp,0)
D/CodecProperties: setTuningValue(vq-target-bpp-1080p,1.90)
D/CodecProperties: setTuningValue(vq-target-bpp-720p,2.25)
D/CodecProperties: setTuningValue(vq-target-bpp-540p,2.65)
D/CodecProperties: setTuningValue(vq-target-bpp-480p,3.00)
D/CodecProperties: setTuningValue(vq-target-bpp-320x240,0)
D/CodecProperties: setTuningValue(vq-target-qpmax,-1)
D/CodecProperties: setTuningValue(vq-target-qpmax-1080p,45)
D/CodecProperties: setTuningValue(vq-target-qpmax-720p,43)
D/CodecProperties: setTuningValue(vq-target-qpmax-540p,42)
D/CodecProperties: setTuningValue(vq-target-qpmax-480p,38)
D/CodecProperties: setTuningValue(vq-bitrate-phaseout,1.75)
D/CodecProperties: setTuningValue(vq-boost-missing-qp,0.20)
D/CodecProperties: setFeatureValue(_vq_eligible.device,1)
D/CodecProperties: setFeatureValue(_quality.target,1)
D/CodecSeeding: Seed: codec c2.mtk.avc.encoder, mediatype video/avc, overrideable 0
D/VQApply: minquality: 320x240 outside of shaping range
D/MediaCodec: shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = {
int32_t android._encoding-quality-level = 0
}
D/MediaCodec: flushMediametrics
D/MediaCodec: [0xb400007044535000] setState: 3
D/CCodec: [c2.mtk.avc.encoder] buffers are bound to CCodec for this session
D/CCodecConfig: no c2 equivalents for color-format
D/CCodecConfig: no c2 equivalents for flags
D/CCodecConfig: no c2 equivalents for encoder
D/CCodecConfig: c2 config diff is c2::u32 coded.bitrate.value = 6553600
c2::float coded.frame-rate.value = 25
c2::u32 raw.pixel-format.value = 34
W/ColorUtils: expected specified color aspects (0:0:0:0)
W/Codec2Client: query -- param skipped: index = 3254781982.
D/CCodec: encoding statistics level = 0
D/CCodec: setup formats input: AMessage(what = 0x00000000) = {
int32_t android._color-format = 2130708361
Rect crop(0, 0, 319, 239)
int32_t color-standard = 0
int32_t color-range = 0
int32_t color-transfer = 0
int32_t frame-rate = 25
int32_t height = 240
float input.time-stretch = 1.000000
int32_t intra-refresh-period = 0
int32_t latency = 8
string mime = "video/raw"
int32_t prepend-sps-pps-to-idr-frames = 0
int32_t priority = 0
int32_t video-qp-average = 0
int32_t width = 320
int32_t android._dataspace = 0
int64_t android._C2MemoryUsage = 0
int32_t color-format = 2130708361
}
D/CCodec: setup formats output: AMessage(what = 0x00000000) = {
int32_t bitrate = 6553600
int32_t bitrate-mode = 1
Rect crop(0, 0, 319, 239)
int32_t width = 320
int32_t color-standard = 0
int32_t color-range = 0
int32_t color-transfer = 0
int32_t frame-rate = 25
int32_t height = 240
float input.time-stretch = 1.000000
int32_t intra-refresh-period = 0
int32_t latency = 8
int32_t level = 16384
int32_t max-bitrate = 6553600
string mime = "video/avc"
int32_t prepend-sps-pps-to-idr-frames = 0
int32_t priority = 0
int32_t profile = 8
int32_t video-qp-average = 0
}
I/CCodecConfig: query failed after returning 23 values (BAD_INDEX)
D/MediaCodec: [0xb400007044535000] setState: 4
D/BufferQueueConsumer: GraphicBufferSource connect: controlledByApp=false
D/CCodec: input format changed to AMessage(what = 0x00000000) = {
int32_t android._color-format = 2130708361
Rect crop(0, 0, 319, 239)
int32_t color-standard = 4
int32_t color-range = 2
int32_t color-transfer = 3
int32_t frame-rate = 25
int32_t height = 240
float input.time-stretch = 1.000000
int32_t intra-refresh-period = 0
int32_t latency = 8
string mime = "video/raw"
int32_t prepend-sps-pps-to-idr-frames = 0
int32_t priority = 0
int32_t video-qp-average = 0
int32_t width = 320
int32_t android._dataspace = 259
int64_t android._C2MemoryUsage = 0
int32_t color-format = 2130708361
}
D/GraphicBufferSource: setting dataspace: 0x103, acquired=0
D/CCodec: ISConfig not changed
D/MediaCodec: [0xb400007044536000] [c2.android.aac.encoder] release
D/MediaCodec: [0xb400007044536000] setState: 10
I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
D/MediaCodec: [0xb400007044536000] [c2.android.aac.encoder] kWhatReleaseCompleted
D/MediaCodec: [0xb400007044536000] setState: 0
D/CCodecBufferChannel: mBufferCountDebug=0 mIsUserLoad=1
D/MediaCodec: [0xb400007044536000] init: CCodec 0xb4000070c509ef00, CCodecBufferChannel 0xb400007044564a00
D/MediaCodec: [0xb400007044536000] setState: 1
D/CCodec: allocate(c2.android.aac.encoder)
I/CCodec: setting up 'default' as default (vendor) store
I/CCodec: Created component [c2.android.aac.encoder]
D/CCodecBufferChannel: [0xb400007044564a00] setComponent: mName c2.android.aac.encoder#183, mPipelineWatcher 0xb400007044564e68
D/CCodecBufferChannel: PipelineWatcher debug info [c2.android.aac.encoder#183] enable=0
D/CCodecConfig: read media type: audio/mp4a-latm
D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
I/CCodecConfig: query failed after returning 9 values (BAD_INDEX)
D/CCodecConfig: c2 config diff is Dict {
c2::u32 coded.bitrate.value = 64000
c2::u32 coded.pl.level = 0
c2::u32 coded.pl.profile = 8192
c2::u32 coding.aac-sbr-mode.value = 3
c2::u32 input.buffers.max-size.value = 2048
c2::u32 input.delay.value = 0
string input.media-type.value = "audio/raw"
string output.media-type.value = "audio/mp4a-latm"
c2::u32 raw.channel-count.value = 1
c2::u32 raw.sample-rate.value = 44100
}
D/MediaCodec: [0xb400007044536000] setState: 2
D/MediaCodec: [0xb400007044536000] [c2.android.aac.encoder] configure
D/CodecSeeding: Seed: codec c2.android.aac.encoder, mediatype audio/mp4a-latm, overrideable 1
D/CodecProperties: setFeatureValue(_vq_eligible.device,1)
D/CodecProperties: setFeatureValue(_quality.target,1)
D/CodecSeeding: Seed: codec c2.android.aac.encoder, mediatype audio/mp4a-latm, overrideable 0
D/MediaCodec: shapeMediaFormat: deltas(0): AMessage(what = 0x00000000) = {
}
D/MediaCodec: flushMediametrics
D/MediaCodec: [0xb400007044536000] setState: 3
D/CCodec: [c2.android.aac.encoder] buffers are bound to CCodec for this session
D/CCodecConfig: no c2 equivalents for flags
D/CCodecConfig: no c2 equivalents for encoder
D/CCodecConfig: c2 config diff is c2::u32 raw.sample-rate.value = 8000
W/Codec2Client: query -- param skipped: index = 1107298332.
D/CCodec: encoding statistics level = 0
D/CCodec: setup formats input: AMessage(what = 0x00000000) = {
int32_t sample-rate = 8000
int32_t channel-count = 1
int32_t max-input-size = 2048
string mime = "audio/raw"
int32_t android._config-pcm-encoding = 2
}
D/CCodec: setup formats output: AMessage(what = 0x00000000) = {
int32_t sample-rate = 8000
int32_t bitrate = 64000
int32_t channel-count = 1
int32_t level = 0
int32_t max-bitrate = 64000
string mime = "audio/mp4a-latm"
int32_t profile = 2
}
I/CCodecConfig: query failed after returning 9 values (BAD_INDEX)
D/MediaCodec: [0xb400007044536000] setState: 4
D/AudioRecord: set(): 0xb4000070c50cfe00, inputSource 5, sampleRate 8000, format 0x1, channelMask 0x10, frameCount 640, notificationFrames 0, sessionId 0, transferType 0, flags 0, attributionSource AttributionSourceState{pid: -1, uid: 10202, packageName: com.herohan.uvcapp, attributionTag: (null), token: , renouncedPermissions: [], next: []} uid -1, pid -1
E/AudioRecord: createRecord_l(0): AudioFlinger could not create record track, status: -1
E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -1.
D/AudioRecord: ~AudioRecord(0): mStatus -1
D/AudioRecord: ~AudioRecord done
E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
E/VideoCapture: AudioRecord object cannot initialized correctly!
D/CameraInternal: processOnCameraOpen:
D/CameraHelper: onCameraOpen:
D/CameraConnectionService: CameraConnection#setButtonCallback:callback=com.herohan.uvcapp.activity.MainActivity$MyCameraHelperCallback$1@8147a85
V/MainActivity: onCameraOpen:device=/dev/bus/usb/001/019
D/CameraInternal: setButtonCallback:callback=com.herohan.uvcapp.activity.MainActivity$MyCameraHelperCallback$1@8147a85
D/CameraHelper: startPreview: com.herohan.uvcapp.CameraHelper@7213ecd
D/CameraHelper: getPreviewSize:
D/CameraConnectionService: CameraConnection#startPreview:
D/CameraInternal: startPreview: com.herohan.uvcapp.CameraInternal@5eae0da
D/CameraInternal: updateRendererSize:
D/BufferQueueConsumer: SurfaceTexture-1-31443-0 disconnect
D/BufferQueueConsumer: connect: controlledByApp=true
D/EGLBase14: EGLContext created, client version 3
I/libUVCCamera: [31528UVCPreview.cpp:531:prepare_preview]:frameSize=(320,240)@yuyv
I/libUVCCamera: [31529UVCPreview.cpp:115:get_frame]:allocate new frame
I/libUVCCamera: [31528UVCPreview.cpp:115:get_frame]:allocate new frame
E/ion: ioctl c0044901 failed with code -1: Invalid argument
I/DMABUFHEAPS: Using : Legacy ion heaps
W/Thread-2: type=1400 audit(0.0:40402): avc: denied { ioctl } for path="/proc/perfmgr/perf_ioctl" dev="proc" ino=4026532626 ioctlcmd=0x6717 scontext=u:r:untrusted_app:s0:c202,c256,c512,c768 tcontext=u:object_r:proc_perfmgr:s0 tclass=file permissive=0
D/hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
I/libUVCCamera: [31529UVCPreview.cpp:115:get_frame]:allocate new frame
D/CCodecBufferChannel: elapsed: mInputMetEos 0, hasPendingOutputsInClient 1, n 0
D/PipelineWatcher: [0xb400007044564468] elapsed: mFramesInPipeline 0, n 0
D/CCodecBufferChannel: elapsed: mInputMetEos 0, hasPendingOutputsInClient 1, n 0
D/PipelineWatcher: [0xb400007044564e68] elapsed: mFramesInPipeline 0, n 0
W/System: A resource failed to call close.
我对比了 正常pad和故障pad的打印信息,有两个可疑的错误,不知道是不是这个原因导致的预览有问题。
1、E/FBI: Can't load library: dlopen failed: library "libmagtsync.so" not found
我在工程里面没找到这个SO库,不知道是不是系统的问题
2、D/BufferQueueConsumer: SurfaceTexture-1-31443-0 disconnect
能正常预览的pad 没有这个日志打印。
The text was updated successfully, but these errors were encountered: