Open biqi12321 opened 1 year ago
这完整的log 日志,先看看把,我用小米测试同样摄像头过1080延时几乎不见了。但更高分辨还是有,应该是解码能能力不够 😂
2022-09-17 11:36:50.556 9114-9114/? I/Zygote: seccomp disabled by setenforce 0 2022-09-17 11:36:50.563 9114-9114/? I/.herohan.uvcap: Late-enabling -Xcheck:jni 2022-09-17 11:36:51.412 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden field Landroid/os/Trace;->TRACE_TAG_APP:J (light greylist, reflection) 2022-09-17 11:36:51.412 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (light greylist, reflection) 2022-09-17 11:36:51.605 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden field Landroid/graphics/Insets;->left:I (light greylist, linking) 2022-09-17 11:36:51.605 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden field Landroid/graphics/Insets;->top:I (light greylist, linking) 2022-09-17 11:36:51.605 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden field Landroid/graphics/Insets;->right:I (light greylist, linking) 2022-09-17 11:36:51.605 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden field Landroid/graphics/Insets;->bottom:I (light greylist, linking) 2022-09-17 11:36:51.918 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (light greylist, reflection) 2022-09-17 11:36:51.920 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (light greylist, reflection) 2022-09-17 11:36:51.954 9114-9114/com.herohan.uvcapp V/MainActivity: clearCameraHelper: 2022-09-17 11:36:51.961 9114-9114/com.herohan.uvcapp D/CameraHelper: Constructor: 2022-09-17 11:36:51.962 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/app/ActivityThread;->currentActivityThread()Landroid/app/ActivityThread; (light greylist, reflection) 2022-09-17 11:36:51.962 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/app/ActivityThread;->getApplication()Landroid/app/Application; (light greylist, reflection) 2022-09-17 11:36:51.975 9114-9114/com.herohan.uvcapp V/USBMonitor: USBMonitor:Constructor 2022-09-17 11:36:51.978 9114-9114/com.herohan.uvcapp V/USBMonitor: USBMonitor:mUsbManager=android.hardware.usb.UsbManager@ce8acc2 2022-09-17 11:36:51.979 9114-9114/com.herohan.uvcapp D/CameraHelper: registerCallback: 2022-09-17 11:36:51.980 9114-9114/com.herohan.uvcapp D/CameraConnectionService: mUSBMonitor#register: 2022-09-17 11:36:51.985 9114-9114/com.herohan.uvcapp I/USBMonitor: register: 2022-09-17 11:36:51.989 9114-9114/com.herohan.uvcapp D/CameraHelper: setImageCaptureConfig: 2022-09-17 11:36:51.989 9114-9114/com.herohan.uvcapp D/CameraHelper: setVideoCaptureConfig: 2022-09-17 11:36:51.989 9114-9139/com.herohan.uvcapp D/CameraHelper: isCameraOpened: 2022-09-17 11:36:51.990 9114-9139/com.herohan.uvcapp D/CameraHelper: isCameraOpened: 2022-09-17 11:36:52.013 9114-9114/com.herohan.uvcapp D/OpenGLRenderer: Skia GL Pipeline 2022-09-17 11:36:52.112 9114-9142/com.herohan.uvcapp I/mali_so: [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 876; [Func] : base_context_deal_with_version_affairs_rk_ext; arm_release_ver of this mali_so is 'r18p0-01rel0', rk_so_ver is '10@0'. 2022-09-17 11:36:52.112 9114-9142/com.herohan.uvcapp D/mali_so: [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 881; [Func] : base_context_deal_with_version_affairs_rk_ext; current process is NOT sf, to bail out. 2022-09-17 11:36:52.125 9114-9142/com.herohan.uvcapp I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 2022-09-17 11:36:52.125 9114-9142/com.herohan.uvcapp I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 2022-09-17 11:36:52.126 9114-9142/com.herohan.uvcapp I/OpenGLRenderer: Initialized EGL, version 1.4 2022-09-17 11:36:52.126 9114-9142/com.herohan.uvcapp D/OpenGLRenderer: Swap behavior 2 2022-09-17 11:36:52.142 9114-9142/com.herohan.uvcapp D/mali_winsys: EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , egl_color_buffer_format *, EGLBoolean) returns 0x3000 2022-09-17 11:36:52.157 9114-9140/com.herohan.uvcapp D/USBMonitor: DeviceCheckRunnable onAttach:device=/dev/bus/usb/001/006 2022-09-17 11:36:52.157 9114-9140/com.herohan.uvcapp D/CameraConnectionService: OnDeviceConnectListener#onAttach: 2022-09-17 11:36:52.158 9114-9140/com.herohan.uvcapp D/USBMonitor: DeviceCheckRunnable onAttach:device=/dev/bus/usb/001/008 2022-09-17 11:36:52.158 9114-9140/com.herohan.uvcapp D/CameraConnectionService: OnDeviceConnectListener#onAttach: 2022-09-17 11:36:52.158 9114-9140/com.herohan.uvcapp D/USBMonitor: DeviceCheckRunnable onAttach:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.158 9114-9140/com.herohan.uvcapp D/CameraConnectionService: OnDeviceConnectListener#onAttach: 2022-09-17 11:36:52.283 9114-9142/com.herohan.uvcapp D/GRALLOC-ROCKCHIP: RK_GRAPHICS_VER=commit-id:4972d301b0 2022-09-17 11:36:52.297 9114-9142/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.300 9114-9142/com.herohan.uvcapp I/chatty: uid=10077(com.herohan.uvcapp) RenderThread identical 1 line 2022-09-17 11:36:52.301 9114-9142/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.312 9114-9114/com.herohan.uvcapp V/MainActivity: onAttach:device=/dev/bus/usb/001/006 2022-09-17 11:36:52.312 9114-9114/com.herohan.uvcapp D/CameraHelper: getDeviceList: 2022-09-17 11:36:52.318 9114-9114/com.herohan.uvcapp V/MainActivity: selectDevice:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.328 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/content/ContextWrapper;->getDisplay()Landroid/view/Display; (light greylist, linking) 2022-09-17 11:36:52.336 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/content/res/AssetManager;->addAssetPath(Ljava/lang/String;)I (light greylist, reflection) 2022-09-17 11:36:52.343 9114-9114/com.herohan.uvcapp D/CameraHelper: selectDevice:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.343 9114-9114/com.herohan.uvcapp V/MainActivity: onAttach:device=/dev/bus/usb/001/008 2022-09-17 11:36:52.343 9114-9139/com.herohan.uvcapp D/CameraConnectionService: CameraConnection#selectDevice:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.343 9114-9114/com.herohan.uvcapp D/CameraHelper: getDeviceList: 2022-09-17 11:36:52.344 9114-9139/com.herohan.uvcapp I/CameraConnectionService: request permission 2022-09-17 11:36:52.344 9114-9139/com.herohan.uvcapp V/USBMonitor: requestPermission:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.345 9114-9139/com.herohan.uvcapp V/USBMonitor: processOpenDevice:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.349 9114-9114/com.herohan.uvcapp V/MainActivity: onAttach:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.349 9114-9114/com.herohan.uvcapp D/CameraHelper: getDeviceList: 2022-09-17 11:36:52.352 9114-9139/com.herohan.uvcapp I/USBMonitor: UsbControlBlock:constructor 2022-09-17 11:36:52.353 9114-9139/com.herohan.uvcapp I/USBMonitor: UsbControlBlock#open: 2022-09-17 11:36:52.363 9114-9139/com.herohan.uvcapp D/UsbDeviceConnectionJNI: close 2022-09-17 11:36:52.365 9114-9139/com.herohan.uvcapp I/USBMonitor: name=/dev/bus/usb/001/007,desc=57,busnum=1,devnum=7,rawDesc=[B@2caa33b 2022-09-17 11:36:52.365 9114-9139/com.herohan.uvcapp I/CameraConnectionService: wait for getting permission 2022-09-17 11:36:52.365 9114-9140/com.herohan.uvcapp D/CameraConnectionService: OnDeviceConnectListener#onDeviceOpen: 2022-09-17 11:36:52.365 9114-9140/com.herohan.uvcapp D/CameraConnectionService: addCamera:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.369 9114-9140/com.herohan.uvcapp D/CameraInternal: Constructor: 2022-09-17 11:36:52.380 9114-9140/com.herohan.uvcapp D/EGLBase14: EGLContext created, client version 3 2022-09-17 11:36:52.384 9114-9140/com.herohan.uvcapp D/CameraConnectionService: number of existed camera=1 2022-09-17 11:36:52.384 9114-9139/com.herohan.uvcapp I/CameraConnectionService: check CameraInternal again 2022-09-17 11:36:52.384 9114-9139/com.herohan.uvcapp I/CameraConnectionService: success to get service:serviceId=/dev/bus/usb/001/007#1409#4992#0#0#7#null#RGB Camera#0#9.01# 2022-09-17 11:36:52.384 9114-9140/com.herohan.uvcapp D/CameraInternal: registerCallback: 2022-09-17 11:36:52.390 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.392 9114-9152/com.herohan.uvcapp I/chatty: uid=10077(com.herohan.uvcapp) Thread-2 identical 1 line 2022-09-17 11:36:52.400 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.403 9114-9152/com.herohan.uvcapp D/EGLBase14: EGLContext created, client version 3 2022-09-17 11:36:52.407 9114-9142/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.408 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.409 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.412 9114-9114/com.herohan.uvcapp V/MainActivity: onDeviceOpen:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.419 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.470 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden field Lsun/misc/Unsafe;->theUnsafe:Lsun/misc/Unsafe; (light greylist, reflection) 2022-09-17 11:36:52.480 9114-9114/com.herohan.uvcapp D/CameraHelper: openCamera: 2022-09-17 11:36:52.481 9114-9114/com.herohan.uvcapp D/CameraHelper: setButtonCallback:com.herohan.uvcapp.activity.MainActivity$MyCameraHelperCallback$1@5d1bf21 2022-09-17 11:36:52.481 9114-9139/com.herohan.uvcapp D/CameraConnectionService: CameraConnection#openCamera: 2022-09-17 11:36:52.481 9114-9139/com.herohan.uvcapp D/CameraInternal: openCamera: 2022-09-17 11:36:52.481 9114-9139/com.herohan.uvcapp D/CameraInternal: resetUVCCamera: 2022-09-17 11:36:52.481 9114-9139/com.herohan.uvcapp V/RendererHolder: removeSlaveSurfaceAll 2022-09-17 11:36:52.482 9114-9152/com.herohan.uvcapp V/RendererHolder: handleRemoveSurfaceAll: 2022-09-17 11:36:52.482 9114-9139/com.herohan.uvcapp D/CameraInternal: openUVCCamera: 2022-09-17 11:36:52.495 9114-9139/com.herohan.uvcapp I/USBMonitor: UsbControlBlock:constructor 2022-09-17 11:36:52.495 9114-9139/com.herohan.uvcapp I/USBMonitor: UsbControlBlock#open: 2022-09-17 11:36:52.501 9114-9139/com.herohan.uvcapp D/UsbDeviceConnectionJNI: close 2022-09-17 11:36:52.503 9114-9139/com.herohan.uvcapp I/USBMonitor: name=/dev/bus/usb/001/007,desc=69,busnum=1,devnum=7,rawDesc=[B@7109f46 2022-09-17 11:36:52.501 9114-9114/com.herohan.uvcapp I/CameraHelper: type=1400 audit(0.0:342): avc: denied { read } for name="usb" dev="tmpfs" ino=7825 scontext=u:r:untrusted_app:s0:c77,c256,c512,c768 tcontext=u:object_r:usb_device:s0 tclass=dir permissive=1 2022-09-17 11:36:52.512 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (light greylist, reflection) 2022-09-17 11:36:52.512 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (light greylist, reflection) 2022-09-17 11:36:52.513 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/os/Trace;->traceCounter(JLjava/lang/String;I)V (light greylist, reflection) 2022-09-17 11:36:52.543 9114-9139/com.herohan.uvcapp D/UVCCamera: setPreviewSize:0:Size(1920x1080@25,type:7) 2022-09-17 11:36:52.608 9114-9139/com.herohan.uvcapp I/CameraInternal: supportedSize:{"formats":[{"index":1,"subType":6,"defaultFrameIndex":1,"frameDescriptors":[{"width":640,"height":480,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":640,"height":360,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":352,"height":288,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":320,"height":240,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":800,"height":600,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":848,"height":480,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":1024,"height":768,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":1280,"height":720,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":1920,"height":1080,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]}]},{"index":2,"subType":4,"defaultFrameIndex":1,"frameDescriptors":[{"width":640,"height":480,"subType":5,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":640,"height":360,"subType":5,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":352,"height":288,"subType":5,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":320,"height":240,"subType":5,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":800,"height":600,"subType":5,"defaultFrameInterval":500000,"frameIntervalType":1,"defaultFps":20,"intervals":[{"index":0,"value":500000,"fps":20}]},{"width":848,"height":480,"subType":5,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":1024,"height":768,"subType":5,"defaultFrameInterval":1000000,"frameIntervalType":1,"defaultFps":10,"intervals":[{"index":0,"value":1000000,"fps":10}]},{"width":1280,"height":720,"subType":5,"defaultFrameInterval":2000000,"frameIntervalType":1,"defaultFps":5,"intervals":[{"index":0,"value":2000000,"fps":5}]},{"width":1920,"height":1080,"subType":5,"defaultFrameInterval":2000000,"frameIntervalType":1,"defaultFps":5,"intervals":[{"index":0,"value":2000000,"fps":5}]}]}]} 2022-09-17 11:36:52.609 9114-9139/com.herohan.uvcapp D/CameraInternal: setCameraPreviewConfig: 2022-09-17 11:36:52.609 9114-9139/com.herohan.uvcapp D/CameraInternal: rotateTo:0 2022-09-17 11:36:52.610 9114-9139/com.herohan.uvcapp D/CameraInternal: setMirrorMode:0 2022-09-17 11:36:52.644 9114-9159/com.herohan.uvcapp I/OMXClient: IOmx service obtained 2022-09-17 11:36:52.652 9114-9163/com.herohan.uvcapp I/OMXClient: IOmx service obtained 2022-09-17 11:36:52.658 9114-9159/com.herohan.uvcapp I/OMXClient: IOmx service obtained 2022-09-17 11:36:52.665 9114-9159/com.herohan.uvcapp W/OMXUtils: do not know color format 0x7f000789 = 2130708361 2022-09-17 11:36:52.666 9114-9159/com.herohan.uvcapp I/ACodec: setupAVCEncoderParameters with [profile: Baseline] [level: Level31] 2022-09-17 11:36:52.667 9114-9159/com.herohan.uvcapp I/ACodec: [OMX.rk.video_encoder.avc] cannot encode HDR static metadata. Ignoring. 2022-09-17 11:36:52.667 9114-9159/com.herohan.uvcapp I/ACodec: setupVideoEncoder succeeded 2022-09-17 11:36:52.667 9114-9159/com.herohan.uvcapp W/OMXUtils: do not know color format 0x7f000789 = 2130708361 2022-09-17 11:36:52.672 9114-9159/com.herohan.uvcapp W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-09-17 11:36:52.678 9114-9163/com.herohan.uvcapp I/OMXClient: IOmx service obtained 2022-09-17 11:36:52.688 9114-9139/com.herohan.uvcapp E/IAudioFlinger: createRecord returned error -22 2022-09-17 11:36:52.688 9114-9139/com.herohan.uvcapp E/AudioRecord: AudioFlinger could not create record track, status: -22 2022-09-17 11:36:52.688 9114-9139/com.herohan.uvcapp E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22. 2022-09-17 11:36:52.691 9114-9139/com.herohan.uvcapp E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object. 2022-09-17 11:36:52.691 9114-9139/com.herohan.uvcapp E/VideoCapture: AudioRecord object cannot initialized correctly! 2022-09-17 11:36:52.691 9114-9139/com.herohan.uvcapp D/CameraInternal: processOnCameraOpen: 2022-09-17 11:36:52.692 9114-9114/com.herohan.uvcapp V/MainActivity: onCameraOpen:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.692 9114-9139/com.herohan.uvcapp D/CameraConnectionService: CameraConnection#setButtonCallback:callback=com.herohan.uvcapp.activity.MainActivity$MyCameraHelperCallback$1@5d1bf21 2022-09-17 11:36:52.692 9114-9114/com.herohan.uvcapp D/CameraHelper: startPreview: 2022-09-17 11:36:52.693 9114-9114/com.herohan.uvcapp D/CameraHelper: getPreviewSize: 2022-09-17 11:36:52.693 9114-9139/com.herohan.uvcapp D/CameraInternal: setButtonCallback:callback=com.herohan.uvcapp.activity.MainActivity$MyCameraHelperCallback$1@5d1bf21 2022-09-17 11:36:52.693 9114-9139/com.herohan.uvcapp D/CameraConnectionService: CameraConnection#startPreview: 2022-09-17 11:36:52.694 9114-9139/com.herohan.uvcapp D/CameraInternal: startPreview: 2022-09-17 11:36:52.696 9114-9139/com.herohan.uvcapp D/CameraInternal: updateRendererSize: 2022-09-17 11:36:52.703 9114-9152/com.herohan.uvcapp D/EGLBase14: EGLContext created, client version 3 2022-09-17 11:36:52.707 9114-9171/com.herohan.uvcapp I/libUVCCamera: [9171UVCPreview.cpp:531:prepare_preview]:frameSize=(1920,1080)@MJPEG 2022-09-17 11:36:52.709 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.710 9114-9152/com.herohan.uvcapp I/chatty: uid=10077(com.herohan.uvcapp) Thread-2 identical 1 line 2022-09-17 11:36:52.718 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.795 9114-9114/com.herohan.uvcapp D/CameraHelper: addSurface:surface=android.graphics.SurfaceTexture@6723aa3,isRecordable=false 2022-09-17 11:36:52.795 9114-9139/com.herohan.uvcapp D/CameraConnectionService: CameraConnection#addSurface:surface=android.graphics.SurfaceTexture@6723aa3 2022-09-17 11:36:52.796 9114-9139/com.herohan.uvcapp D/CameraInternal: addSurface:surface=android.graphics.SurfaceTexture@6723aa3 2022-09-17 11:36:52.796 9114-9139/com.herohan.uvcapp V/RendererHolder: addSlaveSurface:id=108149411,surface=android.graphics.SurfaceTexture@6723aa3 2022-09-17 11:36:52.796 9114-9152/com.herohan.uvcapp V/RendererHolder: handleAddSurface:id=108149411 2022-09-17 11:36:52.796 9114-9152/com.herohan.uvcapp V/RendererHolder: checkSurface 2022-09-17 11:36:52.798 9114-9152/com.herohan.uvcapp D/mali_winsys: EGLint new_window_surface(egl_winsys_display , void *, EGLSurface, EGLConfig, egl_winsys_surface , egl_color_buffer_format , EGLBoolean) returns 0x3000 2022-09-17 11:36:52.818 9114-9142/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:53.043 9114-9173/com.herohan.uvcapp I/libUVCCamera: [9173UVCPreview.cpp:280:callbackPixelFormatChanged]:PIXEL_FORMAT_RAW: 2022-09-17 11:36:53.097 9114-9172/com.herohan.uvcapp I/libUVCCamera: [9172UVCPreview.cpp:115:get_frame]:allocate new frame 2022-09-17 11:36:53.100 9114-9171/com.herohan.uvcapp I/libUVCCamera: [9171UVCPreview.cpp:115:get_frame]:allocate new frame 2022-09-17 11:36:53.135 9114-9172/com.herohan.uvcapp I/libUVCCamera: [9172UVCPreview.cpp:115:get_frame]:allocate new frame 2022-09-17 11:36:53.175 9114-9172/com.herohan.uvcapp I/chatty: uid=10077(com.herohan.uvcapp) preview_thread identical 1 line 2022-09-17 11:36:53.214 9114-9172/com.herohan.uvcapp I/libUVCCamera: [9172UVCPreview.cpp:115:get_frame]:allocate new frame 2022-09-17 11:36:53.281 9114-9142/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:53.294 9114-9172/com.herohan.uvcapp I/libUVCCamera: [9172UVCPreview.cpp:115:get_frame]:allocate new frame 2022-09-17 11:36:53.334 9114-9172/com.herohan.uvcapp I/libUVCCamera: [9172UVCPreview.cpp:115:get_frame]:allocate new frame 2022-09-17 11:36:55.655 9114-9159/com.herohan.uvcapp W/AMessage: failed to deliver message as target handler 1 is gone. 2022-09-17 11:36:55.674 9114-9163/com.herohan.uvcapp W/AMessage: failed to deliver message as target handler 4 is gone. 2022-09-17 11:40:35.721 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/widget/PopupWindow;->setEpicenterBounds(Landroid/graphics/Rect;)V (light greylist, linking) 2022-09-17 11:40:35.724 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/widget/PopupWindow;->setTouchModal(Z)V (light greylist, linking) 2022-09-17 11:40:35.725 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/widget/PopupWindow;->setClipToScreenEnabled(Z)V (light greylist, reflection) 2022-09-17 11:40:35.759 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden field Landroid/widget/AbsListView;->mIsChildViewEnabled:Z (light greylist, reflection) 2022-09-17 11:40:35.857 9114-9142/com.herohan.uvcapp D/mali_winsys: EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , egl_color_buffer_format , EGLBoolean) returns 0x3000 2022-09-17 11:40:36.115 9114-9142/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:40:36.151 9114-9142/com.herohan.uvcapp I/chatty: uid=10077(com.herohan.uvcapp) RenderThread identical 1 line 2022-09-17 11:40:36.333 9114-9142/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:40:37.296 9114-9114/com.herohan.uvcapp D/CameraHelper: getSupportedFormatList: 2022-09-17 11:40:37.297 9114-9114/com.herohan.uvcapp D/CameraHelper: getPreviewSize: 2022-09-17 11:40:38.004 9114-9142/com.herohan.uvcapp D/mali_winsys: EGLint new_window_surface(egl_winsys_display , void *, EGLSurface, EGLConfig, egl_winsys_surface *, egl_color_buffer_format , EGLBoolean) returns 0x3000 2022-09-17 11:40:38.122 9114-9142/com.herohan.uvcapp I/OpenGLRenderer: Davey! duration=785ms; Flags=1, IntendedVsync=11952396064834, Vsync=11952784953712, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=11952794886272, AnimationStart=11952794924481, PerformTraversalsStart=11952796464773, DrawStart=11953178329103, SyncQueued=11953178416894, SyncStart=11953179008103, IssueDrawCommandsStart=11953179107853, SwapBuffers=11953181269978, FrameCompleted=11953182574020, DequeueBufferDuration=288000, QueueBufferDuration=529000, 2022-09-17 11:40:38.157 9114-9142/com.herohan.uvcapp W/libEGL: EGLNativeWindowType 0x90ac3808 disconnect failed 2022-09-17 11:40:39.226 9114-9142/com.herohan.uvcapp D/mali_winsys: EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , egl_color_buffer_format , EGLBoolean) returns 0x3000 2022-09-17 11:40:41.083 9114-9142/com.herohan.uvcapp W/libEGL: EGLNativeWindowType 0x90ac3808 disconnect failed 2022-09-17 11:40:41.375 9114-9114/com.herohan.uvcapp D/CameraHelper: isRecording: 2022-09-17 11:40:41.375 9114-9114/com.herohan.uvcapp D/CameraHelper: stopPreview: 2022-09-17 11:40:41.376 9114-9139/com.herohan.uvcapp D/CameraConnectionService: CameraConnection#stopPreview: 2022-09-17 11:40:41.376 9114-9139/com.herohan.uvcapp D/CameraInternal: stopPreview: 2022-09-17 11:40:41.377 9114-9114/com.herohan.uvcapp D/CameraHelper: setPreviewSize:Size(1280x720@25,type:7) 2022-09-17 11:40:41.377 9114-9114/com.herohan.uvcapp D/CameraHelper: startPreview: 2022-09-17 11:40:41.379 9114-9142/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:40:41.446 9114-9142/com.herohan.uvcapp W/libEGL: EGLNativeWindowType 0x8c6ac008 disconnect failed 2022-09-17 11:40:41.446 9114-9142/com.herohan.uvcapp D/OpenGLRenderer: endAllActiveAnimators on 0x8d5f8b00 (RippleDrawable) with handle 0x8d759360 2022-09-17 11:40:41.480 9114-9139/com.herohan.uvcapp D/CameraConnectionService: CameraConnection#setPreviewSize: 2022-09-17 11:40:41.486 9114-9139/com.herohan.uvcapp D/CameraInternal: setPreviewSize:Size(1280x720@25,type:7) 2022-09-17 11:40:41.512 9114-9294/com.herohan.uvcapp I/OMXClient: IOmx service obtained 2022-09-17 11:40:41.520 9114-9297/com.herohan.uvcapp I/OMXClient: IOmx service obtained 2022-09-17 11:40:41.528 9114-9294/com.herohan.uvcapp I/OMXClient: IOmx service obtained 2022-09-17 11:40:41.536 9114-9294/com.herohan.uvcapp W/OMXUtils: do not know color format 0x7f000789 = 2130708361 2022-09-17 11:40:41.536 9114-9294/com.herohan.uvcapp I/ACodec: setupAVCEncoderParameters with [profile: Baseline] [level: Level31] 2022-09-17 11:40:41.537 9114-9294/com.herohan.uvcapp I/ACodec: [OMX.rk.video_encoder.avc] cannot encode HDR static metadata. Ignoring. 2022-09-17 11:40:41.537 9114-9294/com.herohan.uvcapp I/ACodec: setupVideoEncoder succeeded 2022-09-17 11:40:41.538 9114-9294/com.herohan.uvcapp W/OMXUtils: do not know color format 0x7f000789 = 2130708361 2022-09-17 11:40:41.540 9114-9294/com.herohan.uvcapp W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-09-17 11:40:41.545 9114-9297/com.herohan.uvcapp I/OMXClient: IOmx service obtained 2022-09-17 11:40:41.551 9114-9139/com.herohan.uvcapp E/IAudioFlinger: createRecord returned error -22 2022-09-17 11:40:41.551 9114-9139/com.herohan.uvcapp E/AudioRecord: AudioFlinger could not create record track, status: -22 2022-09-17 11:40:41.552 9114-9139/com.herohan.uvcapp E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22. 2022-09-17 11:40:41.554 9114-9139/com.herohan.uvcapp E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object. 2022-09-17 11:40:41.554 9114-9139/com.herohan.uvcapp E/VideoCapture: AudioRecord object cannot initialized correctly! 2022-09-17 11:40:41.554 9114-9139/com.herohan.uvcapp D/CameraConnectionService: CameraConnection#startPreview: 2022-09-17 11:40:41.554 9114-9139/com.herohan.uvcapp D/CameraInternal: startPreview: 2022-09-17 11:40:41.555 9114-9139/com.herohan.uvcapp D/CameraInternal: updateRendererSize: 2022-09-17 11:40:41.574 9114-9152/com.herohan.uvcapp D/EGLBase14: EGLContext created, client version 3 2022-09-17 11:40:41.577 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:40:41.578 9114-9305/com.herohan.uvcapp I/libUVCCamera: [9305UVCPreview.cpp:531:prepare_preview]:frameSize=(1280,720)@MJPEG 2022-09-17 11:40:41.578 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:40:41.584 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:40:41.887 9114-9307/com.herohan.uvcapp I/libUVCCamera: [9307*UVCPreview.cpp:280:callbackPixelFormatChanged]:PIXEL_FORMAT_RAW: 2022-09-17 11:40:44.525 9114-9294/com.herohan.uvcapp W/AMessage: failed to deliver message as target handler 11 is gone. 2022-09-17 11:40:44.542 9114-9297/com.herohan.uvcapp W/AMessage: failed to deliver message as target handler 14 is gone.
这完整的log 日志,先看看把,我用小米测试同样摄像头过1080延时几乎不见了。但更高分辨还是有,应该是解码能能力不够 😂
2022-09-17 11:36:50.556 9114-9114/? I/Zygote: seccomp disabled by setenforce 0 2022-09-17 11:36:50.563 9114-9114/? I/.herohan.uvcap: Late-enabling -Xcheck:jni 2022-09-17 11:36:51.412 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden field Landroid/os/Trace;->TRACE_TAG_APP:J (light greylist, reflection) 2022-09-17 11:36:51.412 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (light greylist, reflection) 2022-09-17 11:36:51.605 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden field Landroid/graphics/Insets;->left:I (light greylist, linking) 2022-09-17 11:36:51.605 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden field Landroid/graphics/Insets;->top:I (light greylist, linking) 2022-09-17 11:36:51.605 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden field Landroid/graphics/Insets;->right:I (light greylist, linking) 2022-09-17 11:36:51.605 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden field Landroid/graphics/Insets;->bottom:I (light greylist, linking) 2022-09-17 11:36:51.918 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (light greylist, reflection) 2022-09-17 11:36:51.920 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (light greylist, reflection) 2022-09-17 11:36:51.954 9114-9114/com.herohan.uvcapp V/MainActivity: clearCameraHelper: 2022-09-17 11:36:51.961 9114-9114/com.herohan.uvcapp D/CameraHelper: Constructor: 2022-09-17 11:36:51.962 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/app/ActivityThread;->currentActivityThread()Landroid/app/ActivityThread; (light greylist, reflection) 2022-09-17 11:36:51.962 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/app/ActivityThread;->getApplication()Landroid/app/Application; (light greylist, reflection) 2022-09-17 11:36:51.975 9114-9114/com.herohan.uvcapp V/USBMonitor: USBMonitor:Constructor 2022-09-17 11:36:51.978 9114-9114/com.herohan.uvcapp V/USBMonitor: USBMonitor:mUsbManager=android.hardware.usb.UsbManager@ce8acc2 2022-09-17 11:36:51.979 9114-9114/com.herohan.uvcapp D/CameraHelper: registerCallback: 2022-09-17 11:36:51.980 9114-9114/com.herohan.uvcapp D/CameraConnectionService: mUSBMonitor#register: 2022-09-17 11:36:51.985 9114-9114/com.herohan.uvcapp I/USBMonitor: register: 2022-09-17 11:36:51.989 9114-9114/com.herohan.uvcapp D/CameraHelper: setImageCaptureConfig: 2022-09-17 11:36:51.989 9114-9114/com.herohan.uvcapp D/CameraHelper: setVideoCaptureConfig: 2022-09-17 11:36:51.989 9114-9139/com.herohan.uvcapp D/CameraHelper: isCameraOpened: 2022-09-17 11:36:51.990 9114-9139/com.herohan.uvcapp D/CameraHelper: isCameraOpened: 2022-09-17 11:36:52.013 9114-9114/com.herohan.uvcapp D/OpenGLRenderer: Skia GL Pipeline 2022-09-17 11:36:52.112 9114-9142/com.herohan.uvcapp I/mali_so: [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 876; [Func] : base_context_deal_with_version_affairs_rk_ext; arm_release_ver of this mali_so is 'r18p0-01rel0', rk_so_ver is '10@0'. 2022-09-17 11:36:52.112 9114-9142/com.herohan.uvcapp D/mali_so: [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 881; [Func] : base_context_deal_with_version_affairs_rk_ext; current process is NOT sf, to bail out. 2022-09-17 11:36:52.125 9114-9142/com.herohan.uvcapp I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 2022-09-17 11:36:52.125 9114-9142/com.herohan.uvcapp I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 2022-09-17 11:36:52.126 9114-9142/com.herohan.uvcapp I/OpenGLRenderer: Initialized EGL, version 1.4 2022-09-17 11:36:52.126 9114-9142/com.herohan.uvcapp D/OpenGLRenderer: Swap behavior 2 2022-09-17 11:36:52.142 9114-9142/com.herohan.uvcapp D/mali_winsys: EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , egl_color_buffer_format *, EGLBoolean) returns 0x3000 2022-09-17 11:36:52.157 9114-9140/com.herohan.uvcapp D/USBMonitor: DeviceCheckRunnable onAttach:device=/dev/bus/usb/001/006 2022-09-17 11:36:52.157 9114-9140/com.herohan.uvcapp D/CameraConnectionService: OnDeviceConnectListener#onAttach: 2022-09-17 11:36:52.158 9114-9140/com.herohan.uvcapp D/USBMonitor: DeviceCheckRunnable onAttach:device=/dev/bus/usb/001/008 2022-09-17 11:36:52.158 9114-9140/com.herohan.uvcapp D/CameraConnectionService: OnDeviceConnectListener#onAttach: 2022-09-17 11:36:52.158 9114-9140/com.herohan.uvcapp D/USBMonitor: DeviceCheckRunnable onAttach:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.158 9114-9140/com.herohan.uvcapp D/CameraConnectionService: OnDeviceConnectListener#onAttach: 2022-09-17 11:36:52.283 9114-9142/com.herohan.uvcapp D/GRALLOC-ROCKCHIP: RK_GRAPHICS_VER=commit-id:4972d301b0 2022-09-17 11:36:52.297 9114-9142/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.300 9114-9142/com.herohan.uvcapp I/chatty: uid=10077(com.herohan.uvcapp) RenderThread identical 1 line 2022-09-17 11:36:52.301 9114-9142/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.312 9114-9114/com.herohan.uvcapp V/MainActivity: onAttach:device=/dev/bus/usb/001/006 2022-09-17 11:36:52.312 9114-9114/com.herohan.uvcapp D/CameraHelper: getDeviceList: 2022-09-17 11:36:52.318 9114-9114/com.herohan.uvcapp V/MainActivity: selectDevice:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.328 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/content/ContextWrapper;->getDisplay()Landroid/view/Display; (light greylist, linking) 2022-09-17 11:36:52.336 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/content/res/AssetManager;->addAssetPath(Ljava/lang/String;)I (light greylist, reflection) 2022-09-17 11:36:52.343 9114-9114/com.herohan.uvcapp D/CameraHelper: selectDevice:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.343 9114-9114/com.herohan.uvcapp V/MainActivity: onAttach:device=/dev/bus/usb/001/008 2022-09-17 11:36:52.343 9114-9139/com.herohan.uvcapp D/CameraConnectionService: CameraConnection#selectDevice:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.343 9114-9114/com.herohan.uvcapp D/CameraHelper: getDeviceList: 2022-09-17 11:36:52.344 9114-9139/com.herohan.uvcapp I/CameraConnectionService: request permission 2022-09-17 11:36:52.344 9114-9139/com.herohan.uvcapp V/USBMonitor: requestPermission:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.345 9114-9139/com.herohan.uvcapp V/USBMonitor: processOpenDevice:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.349 9114-9114/com.herohan.uvcapp V/MainActivity: onAttach:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.349 9114-9114/com.herohan.uvcapp D/CameraHelper: getDeviceList: 2022-09-17 11:36:52.352 9114-9139/com.herohan.uvcapp I/USBMonitor: UsbControlBlock:constructor 2022-09-17 11:36:52.353 9114-9139/com.herohan.uvcapp I/USBMonitor: UsbControlBlock#open: 2022-09-17 11:36:52.363 9114-9139/com.herohan.uvcapp D/UsbDeviceConnectionJNI: close 2022-09-17 11:36:52.365 9114-9139/com.herohan.uvcapp I/USBMonitor: name=/dev/bus/usb/001/007,desc=57,busnum=1,devnum=7,rawDesc=[B@2caa33b 2022-09-17 11:36:52.365 9114-9139/com.herohan.uvcapp I/CameraConnectionService: wait for getting permission 2022-09-17 11:36:52.365 9114-9140/com.herohan.uvcapp D/CameraConnectionService: OnDeviceConnectListener#onDeviceOpen: 2022-09-17 11:36:52.365 9114-9140/com.herohan.uvcapp D/CameraConnectionService: addCamera:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.369 9114-9140/com.herohan.uvcapp D/CameraInternal: Constructor: 2022-09-17 11:36:52.380 9114-9140/com.herohan.uvcapp D/EGLBase14: EGLContext created, client version 3 2022-09-17 11:36:52.384 9114-9140/com.herohan.uvcapp D/CameraConnectionService: number of existed camera=1 2022-09-17 11:36:52.384 9114-9139/com.herohan.uvcapp I/CameraConnectionService: check CameraInternal again 2022-09-17 11:36:52.384 9114-9139/com.herohan.uvcapp I/CameraConnectionService: success to get service:serviceId=/dev/bus/usb/001/007#1409#4992#0#0#7#null#RGB Camera#0#9.01# 2022-09-17 11:36:52.384 9114-9140/com.herohan.uvcapp D/CameraInternal: registerCallback: 2022-09-17 11:36:52.390 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.392 9114-9152/com.herohan.uvcapp I/chatty: uid=10077(com.herohan.uvcapp) Thread-2 identical 1 line 2022-09-17 11:36:52.400 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.403 9114-9152/com.herohan.uvcapp D/EGLBase14: EGLContext created, client version 3 2022-09-17 11:36:52.407 9114-9142/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.408 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.409 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.412 9114-9114/com.herohan.uvcapp V/MainActivity: onDeviceOpen:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.419 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.470 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden field Lsun/misc/Unsafe;->theUnsafe:Lsun/misc/Unsafe; (light greylist, reflection) 2022-09-17 11:36:52.480 9114-9114/com.herohan.uvcapp D/CameraHelper: openCamera: 2022-09-17 11:36:52.481 9114-9114/com.herohan.uvcapp D/CameraHelper: setButtonCallback:com.herohan.uvcapp.activity.MainActivity$MyCameraHelperCallback$1@5d1bf21 2022-09-17 11:36:52.481 9114-9139/com.herohan.uvcapp D/CameraConnectionService: CameraConnection#openCamera: 2022-09-17 11:36:52.481 9114-9139/com.herohan.uvcapp D/CameraInternal: openCamera: 2022-09-17 11:36:52.481 9114-9139/com.herohan.uvcapp D/CameraInternal: resetUVCCamera: 2022-09-17 11:36:52.481 9114-9139/com.herohan.uvcapp V/RendererHolder: removeSlaveSurfaceAll 2022-09-17 11:36:52.482 9114-9152/com.herohan.uvcapp V/RendererHolder: handleRemoveSurfaceAll: 2022-09-17 11:36:52.482 9114-9139/com.herohan.uvcapp D/CameraInternal: openUVCCamera: 2022-09-17 11:36:52.495 9114-9139/com.herohan.uvcapp I/USBMonitor: UsbControlBlock:constructor 2022-09-17 11:36:52.495 9114-9139/com.herohan.uvcapp I/USBMonitor: UsbControlBlock#open: 2022-09-17 11:36:52.501 9114-9139/com.herohan.uvcapp D/UsbDeviceConnectionJNI: close 2022-09-17 11:36:52.503 9114-9139/com.herohan.uvcapp I/USBMonitor: name=/dev/bus/usb/001/007,desc=69,busnum=1,devnum=7,rawDesc=[B@7109f46 2022-09-17 11:36:52.501 9114-9114/com.herohan.uvcapp I/CameraHelper: type=1400 audit(0.0:342): avc: denied { read } for name="usb" dev="tmpfs" ino=7825 scontext=u:r:untrusted_app:s0:c77,c256,c512,c768 tcontext=u:object_r:usb_device:s0 tclass=dir permissive=1 2022-09-17 11:36:52.512 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (light greylist, reflection) 2022-09-17 11:36:52.512 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (light greylist, reflection) 2022-09-17 11:36:52.513 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/os/Trace;->traceCounter(JLjava/lang/String;I)V (light greylist, reflection) 2022-09-17 11:36:52.543 9114-9139/com.herohan.uvcapp D/UVCCamera: setPreviewSize:0:Size(1920x1080@25,type:7) 2022-09-17 11:36:52.608 9114-9139/com.herohan.uvcapp I/CameraInternal: supportedSize:{"formats":[{"index":1,"subType":6,"defaultFrameIndex":1,"frameDescriptors":[{"width":640,"height":480,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":640,"height":360,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":352,"height":288,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":320,"height":240,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":800,"height":600,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":848,"height":480,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":1024,"height":768,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":1280,"height":720,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":1920,"height":1080,"subType":7,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]}]},{"index":2,"subType":4,"defaultFrameIndex":1,"frameDescriptors":[{"width":640,"height":480,"subType":5,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":640,"height":360,"subType":5,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":352,"height":288,"subType":5,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":320,"height":240,"subType":5,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":800,"height":600,"subType":5,"defaultFrameInterval":500000,"frameIntervalType":1,"defaultFps":20,"intervals":[{"index":0,"value":500000,"fps":20}]},{"width":848,"height":480,"subType":5,"defaultFrameInterval":400000,"frameIntervalType":1,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25}]},{"width":1024,"height":768,"subType":5,"defaultFrameInterval":1000000,"frameIntervalType":1,"defaultFps":10,"intervals":[{"index":0,"value":1000000,"fps":10}]},{"width":1280,"height":720,"subType":5,"defaultFrameInterval":2000000,"frameIntervalType":1,"defaultFps":5,"intervals":[{"index":0,"value":2000000,"fps":5}]},{"width":1920,"height":1080,"subType":5,"defaultFrameInterval":2000000,"frameIntervalType":1,"defaultFps":5,"intervals":[{"index":0,"value":2000000,"fps":5}]}]}]} 2022-09-17 11:36:52.609 9114-9139/com.herohan.uvcapp D/CameraInternal: setCameraPreviewConfig: 2022-09-17 11:36:52.609 9114-9139/com.herohan.uvcapp D/CameraInternal: rotateTo:0 2022-09-17 11:36:52.610 9114-9139/com.herohan.uvcapp D/CameraInternal: setMirrorMode:0 2022-09-17 11:36:52.644 9114-9159/com.herohan.uvcapp I/OMXClient: IOmx service obtained 2022-09-17 11:36:52.652 9114-9163/com.herohan.uvcapp I/OMXClient: IOmx service obtained 2022-09-17 11:36:52.658 9114-9159/com.herohan.uvcapp I/OMXClient: IOmx service obtained 2022-09-17 11:36:52.665 9114-9159/com.herohan.uvcapp W/OMXUtils: do not know color format 0x7f000789 = 2130708361 2022-09-17 11:36:52.666 9114-9159/com.herohan.uvcapp I/ACodec: setupAVCEncoderParameters with [profile: Baseline] [level: Level31] 2022-09-17 11:36:52.667 9114-9159/com.herohan.uvcapp I/ACodec: [OMX.rk.video_encoder.avc] cannot encode HDR static metadata. Ignoring. 2022-09-17 11:36:52.667 9114-9159/com.herohan.uvcapp I/ACodec: setupVideoEncoder succeeded 2022-09-17 11:36:52.667 9114-9159/com.herohan.uvcapp W/OMXUtils: do not know color format 0x7f000789 = 2130708361 2022-09-17 11:36:52.672 9114-9159/com.herohan.uvcapp W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-09-17 11:36:52.678 9114-9163/com.herohan.uvcapp I/OMXClient: IOmx service obtained 2022-09-17 11:36:52.688 9114-9139/com.herohan.uvcapp E/IAudioFlinger: createRecord returned error -22 2022-09-17 11:36:52.688 9114-9139/com.herohan.uvcapp E/AudioRecord: AudioFlinger could not create record track, status: -22 2022-09-17 11:36:52.688 9114-9139/com.herohan.uvcapp E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22. 2022-09-17 11:36:52.691 9114-9139/com.herohan.uvcapp E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object. 2022-09-17 11:36:52.691 9114-9139/com.herohan.uvcapp E/VideoCapture: AudioRecord object cannot initialized correctly! 2022-09-17 11:36:52.691 9114-9139/com.herohan.uvcapp D/CameraInternal: processOnCameraOpen: 2022-09-17 11:36:52.692 9114-9114/com.herohan.uvcapp V/MainActivity: onCameraOpen:device=/dev/bus/usb/001/007 2022-09-17 11:36:52.692 9114-9139/com.herohan.uvcapp D/CameraConnectionService: CameraConnection#setButtonCallback:callback=com.herohan.uvcapp.activity.MainActivity$MyCameraHelperCallback$1@5d1bf21 2022-09-17 11:36:52.692 9114-9114/com.herohan.uvcapp D/CameraHelper: startPreview: 2022-09-17 11:36:52.693 9114-9114/com.herohan.uvcapp D/CameraHelper: getPreviewSize: 2022-09-17 11:36:52.693 9114-9139/com.herohan.uvcapp D/CameraInternal: setButtonCallback:callback=com.herohan.uvcapp.activity.MainActivity$MyCameraHelperCallback$1@5d1bf21 2022-09-17 11:36:52.693 9114-9139/com.herohan.uvcapp D/CameraConnectionService: CameraConnection#startPreview: 2022-09-17 11:36:52.694 9114-9139/com.herohan.uvcapp D/CameraInternal: startPreview: 2022-09-17 11:36:52.696 9114-9139/com.herohan.uvcapp D/CameraInternal: updateRendererSize: 2022-09-17 11:36:52.703 9114-9152/com.herohan.uvcapp D/EGLBase14: EGLContext created, client version 3 2022-09-17 11:36:52.707 9114-9171/com.herohan.uvcapp I/libUVCCamera: [9171UVCPreview.cpp:531:prepare_preview]:frameSize=(1920,1080)@MJPEG 2022-09-17 11:36:52.709 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.710 9114-9152/com.herohan.uvcapp I/chatty: uid=10077(com.herohan.uvcapp) Thread-2 identical 1 line 2022-09-17 11:36:52.718 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:52.795 9114-9114/com.herohan.uvcapp D/CameraHelper: addSurface:surface=android.graphics.SurfaceTexture@6723aa3,isRecordable=false 2022-09-17 11:36:52.795 9114-9139/com.herohan.uvcapp D/CameraConnectionService: CameraConnection#addSurface:surface=android.graphics.SurfaceTexture@6723aa3 2022-09-17 11:36:52.796 9114-9139/com.herohan.uvcapp D/CameraInternal: addSurface:surface=android.graphics.SurfaceTexture@6723aa3 2022-09-17 11:36:52.796 9114-9139/com.herohan.uvcapp V/RendererHolder: addSlaveSurface:id=108149411,surface=android.graphics.SurfaceTexture@6723aa3 2022-09-17 11:36:52.796 9114-9152/com.herohan.uvcapp V/RendererHolder: handleAddSurface:id=108149411 2022-09-17 11:36:52.796 9114-9152/com.herohan.uvcapp V/RendererHolder: checkSurface 2022-09-17 11:36:52.798 9114-9152/com.herohan.uvcapp D/mali_winsys: EGLint new_window_surface(egl_winsys_display , void *, EGLSurface, EGLConfig, egl_winsys_surface , egl_color_buffer_format , EGLBoolean) returns 0x3000 2022-09-17 11:36:52.818 9114-9142/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:53.043 9114-9173/com.herohan.uvcapp I/libUVCCamera: [9173UVCPreview.cpp:280:callbackPixelFormatChanged]:PIXEL_FORMAT_RAW: 2022-09-17 11:36:53.097 9114-9172/com.herohan.uvcapp I/libUVCCamera: [9172UVCPreview.cpp:115:get_frame]:allocate new frame 2022-09-17 11:36:53.100 9114-9171/com.herohan.uvcapp I/libUVCCamera: [9171UVCPreview.cpp:115:get_frame]:allocate new frame 2022-09-17 11:36:53.135 9114-9172/com.herohan.uvcapp I/libUVCCamera: [9172UVCPreview.cpp:115:get_frame]:allocate new frame 2022-09-17 11:36:53.175 9114-9172/com.herohan.uvcapp I/chatty: uid=10077(com.herohan.uvcapp) preview_thread identical 1 line 2022-09-17 11:36:53.214 9114-9172/com.herohan.uvcapp I/libUVCCamera: [9172UVCPreview.cpp:115:get_frame]:allocate new frame 2022-09-17 11:36:53.281 9114-9142/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:36:53.294 9114-9172/com.herohan.uvcapp I/libUVCCamera: [9172UVCPreview.cpp:115:get_frame]:allocate new frame 2022-09-17 11:36:53.334 9114-9172/com.herohan.uvcapp I/libUVCCamera: [9172UVCPreview.cpp:115:get_frame]:allocate new frame 2022-09-17 11:36:55.655 9114-9159/com.herohan.uvcapp W/AMessage: failed to deliver message as target handler 1 is gone. 2022-09-17 11:36:55.674 9114-9163/com.herohan.uvcapp W/AMessage: failed to deliver message as target handler 4 is gone. 2022-09-17 11:40:35.721 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/widget/PopupWindow;->setEpicenterBounds(Landroid/graphics/Rect;)V (light greylist, linking) 2022-09-17 11:40:35.724 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/widget/PopupWindow;->setTouchModal(Z)V (light greylist, linking) 2022-09-17 11:40:35.725 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden method Landroid/widget/PopupWindow;->setClipToScreenEnabled(Z)V (light greylist, reflection) 2022-09-17 11:40:35.759 9114-9114/com.herohan.uvcapp W/.herohan.uvcap: Accessing hidden field Landroid/widget/AbsListView;->mIsChildViewEnabled:Z (light greylist, reflection) 2022-09-17 11:40:35.857 9114-9142/com.herohan.uvcapp D/mali_winsys: EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , egl_color_buffer_format , EGLBoolean) returns 0x3000 2022-09-17 11:40:36.115 9114-9142/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:40:36.151 9114-9142/com.herohan.uvcapp I/chatty: uid=10077(com.herohan.uvcapp) RenderThread identical 1 line 2022-09-17 11:40:36.333 9114-9142/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:40:37.296 9114-9114/com.herohan.uvcapp D/CameraHelper: getSupportedFormatList: 2022-09-17 11:40:37.297 9114-9114/com.herohan.uvcapp D/CameraHelper: getPreviewSize: 2022-09-17 11:40:38.004 9114-9142/com.herohan.uvcapp D/mali_winsys: EGLint new_window_surface(egl_winsys_display , void *, EGLSurface, EGLConfig, egl_winsys_surface *, egl_color_buffer_format , EGLBoolean) returns 0x3000 2022-09-17 11:40:38.122 9114-9142/com.herohan.uvcapp I/OpenGLRenderer: Davey! duration=785ms; Flags=1, IntendedVsync=11952396064834, Vsync=11952784953712, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=11952794886272, AnimationStart=11952794924481, PerformTraversalsStart=11952796464773, DrawStart=11953178329103, SyncQueued=11953178416894, SyncStart=11953179008103, IssueDrawCommandsStart=11953179107853, SwapBuffers=11953181269978, FrameCompleted=11953182574020, DequeueBufferDuration=288000, QueueBufferDuration=529000, 2022-09-17 11:40:38.157 9114-9142/com.herohan.uvcapp W/libEGL: EGLNativeWindowType 0x90ac3808 disconnect failed 2022-09-17 11:40:39.226 9114-9142/com.herohan.uvcapp D/mali_winsys: EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , egl_color_buffer_format , EGLBoolean) returns 0x3000 2022-09-17 11:40:41.083 9114-9142/com.herohan.uvcapp W/libEGL: EGLNativeWindowType 0x90ac3808 disconnect failed 2022-09-17 11:40:41.375 9114-9114/com.herohan.uvcapp D/CameraHelper: isRecording: 2022-09-17 11:40:41.375 9114-9114/com.herohan.uvcapp D/CameraHelper: stopPreview: 2022-09-17 11:40:41.376 9114-9139/com.herohan.uvcapp D/CameraConnectionService: CameraConnection#stopPreview: 2022-09-17 11:40:41.376 9114-9139/com.herohan.uvcapp D/CameraInternal: stopPreview: 2022-09-17 11:40:41.377 9114-9114/com.herohan.uvcapp D/CameraHelper: setPreviewSize:Size(1280x720@25,type:7) 2022-09-17 11:40:41.377 9114-9114/com.herohan.uvcapp D/CameraHelper: startPreview: 2022-09-17 11:40:41.379 9114-9142/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:40:41.446 9114-9142/com.herohan.uvcapp W/libEGL: EGLNativeWindowType 0x8c6ac008 disconnect failed 2022-09-17 11:40:41.446 9114-9142/com.herohan.uvcapp D/OpenGLRenderer: endAllActiveAnimators on 0x8d5f8b00 (RippleDrawable) with handle 0x8d759360 2022-09-17 11:40:41.480 9114-9139/com.herohan.uvcapp D/CameraConnectionService: CameraConnection#setPreviewSize: 2022-09-17 11:40:41.486 9114-9139/com.herohan.uvcapp D/CameraInternal: setPreviewSize:Size(1280x720@25,type:7) 2022-09-17 11:40:41.512 9114-9294/com.herohan.uvcapp I/OMXClient: IOmx service obtained 2022-09-17 11:40:41.520 9114-9297/com.herohan.uvcapp I/OMXClient: IOmx service obtained 2022-09-17 11:40:41.528 9114-9294/com.herohan.uvcapp I/OMXClient: IOmx service obtained 2022-09-17 11:40:41.536 9114-9294/com.herohan.uvcapp W/OMXUtils: do not know color format 0x7f000789 = 2130708361 2022-09-17 11:40:41.536 9114-9294/com.herohan.uvcapp I/ACodec: setupAVCEncoderParameters with [profile: Baseline] [level: Level31] 2022-09-17 11:40:41.537 9114-9294/com.herohan.uvcapp I/ACodec: [OMX.rk.video_encoder.avc] cannot encode HDR static metadata. Ignoring. 2022-09-17 11:40:41.537 9114-9294/com.herohan.uvcapp I/ACodec: setupVideoEncoder succeeded 2022-09-17 11:40:41.538 9114-9294/com.herohan.uvcapp W/OMXUtils: do not know color format 0x7f000789 = 2130708361 2022-09-17 11:40:41.540 9114-9294/com.herohan.uvcapp W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-09-17 11:40:41.545 9114-9297/com.herohan.uvcapp I/OMXClient: IOmx service obtained 2022-09-17 11:40:41.551 9114-9139/com.herohan.uvcapp E/IAudioFlinger: createRecord returned error -22 2022-09-17 11:40:41.551 9114-9139/com.herohan.uvcapp E/AudioRecord: AudioFlinger could not create record track, status: -22 2022-09-17 11:40:41.552 9114-9139/com.herohan.uvcapp E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22. 2022-09-17 11:40:41.554 9114-9139/com.herohan.uvcapp E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object. 2022-09-17 11:40:41.554 9114-9139/com.herohan.uvcapp E/VideoCapture: AudioRecord object cannot initialized correctly! 2022-09-17 11:40:41.554 9114-9139/com.herohan.uvcapp D/CameraConnectionService: CameraConnection#startPreview: 2022-09-17 11:40:41.554 9114-9139/com.herohan.uvcapp D/CameraInternal: startPreview: 2022-09-17 11:40:41.555 9114-9139/com.herohan.uvcapp D/CameraInternal: updateRendererSize: 2022-09-17 11:40:41.574 9114-9152/com.herohan.uvcapp D/EGLBase14: EGLContext created, client version 3 2022-09-17 11:40:41.577 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:40:41.578 9114-9305/com.herohan.uvcapp I/libUVCCamera: [9305UVCPreview.cpp:531:prepare_preview]:frameSize=(1280,720)@MJPEG 2022-09-17 11:40:41.578 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:40:41.584 9114-9152/com.herohan.uvcapp D/: set stream to NULL 2022-09-17 11:40:41.887 9114-9307/com.herohan.uvcapp I/libUVCCamera: [9307*UVCPreview.cpp:280:callbackPixelFormatChanged]:PIXEL_FORMAT_RAW: 2022-09-17 11:40:44.525 9114-9294/com.herohan.uvcapp W/AMessage: failed to deliver message as target handler 11 is gone. 2022-09-17 11:40:44.542 9114-9297/com.herohan.uvcapp W/AMessage: failed to deliver message as target handler 14 is gone.