We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
直接跑的你的项目演示代码
SetFrameCallbackActivity 获取预览回调数据相关功能在三星S 24 闪退,Android 14 设备。 小米手机Android 14 也一样闪退。
大佬有空看看
V onCameraOpen: 2025-01-21 17:32:56.354 1891-1891 CameraHelper com.herohan.uvcdemo D startPreview: com.herohan.uvcapp.CameraHelper@3165cef 2025-01-21 17:32:56.354 1891-1891 CameraHelper com.herohan.uvcdemo D getPreviewSize: 2025-01-21 17:32:56.354 1891-5111 CameraConnectionService com.herohan.uvcdemo D CameraConnection#startPreview: 2025-01-21 17:32:56.354 1891-1891 CameraHelper com.herohan.uvcdemo D addSurface:surface=Surface(name=null mNativeObject=-5476376632025682320)/@0x1aad2a3,isRecordable=false 2025-01-21 17:32:56.354 1891-5111 CameraInternal com.herohan.uvcdemo D startPreview: com.herohan.uvcapp.CameraInternal@b9b0a6 2025-01-21 17:32:56.354 1891-5111 CameraInternal com.herohan.uvcdemo D updateRendererSize: 2025-01-21 17:32:56.354 1891-1891 CameraHelper com.herohan.uvcdemo D setFrameCallback:3 2025-01-21 17:32:56.355 1891-5118 libc com.herohan.uvcdemo W Access denied finding property "vendor.display.enable_optimal_refresh_rate" 2025-01-21 17:32:56.355 1891-5118 libc com.herohan.uvcdemo W Access denied finding property "vendor.gpp.create_frc_extension" 2025-01-21 17:32:56.356 1891-5111 CameraConnectionService com.herohan.uvcdemo D CameraConnection#addSurface:surface=Surface(name=null mNativeObject=-5476376632025682320)/@0x1aad2a3 2025-01-21 17:32:56.356 1891-5111 CameraInternal com.herohan.uvcdemo D addSurface:surface=Surface(name=null mNativeObject=-5476376632025682320)/@0x1aad2a3 2025-01-21 17:32:56.356 1891-5111 RendererHolder com.herohan.uvcdemo V addSlaveSurface:id=27972259,surface=Surface(name=null mNativeObject=-5476376632025682320)/@0x1aad2a3 2025-01-21 17:32:56.357 1891-5118 EGLBase14 com.herohan.uvcdemo D EGLContext created, client version 3 2025-01-21 17:32:56.358 1891-5143 libUVCCamera com.herohan.uvcdemo I [5143UVCPreview.cpp:532:prepare_preview]:frameSize=(1920,1080)@Mjpeg 2025-01-21 17:32:56.359 1891-5118 RendererHolder com.herohan.uvcdemo V handleAddSurface:id=27972259 2025-01-21 17:32:56.359 1891-5118 RendererHolder com.herohan.uvcdemo V checkSurface 2025-01-21 17:32:56.360 1891-5111 CameraConnectionService com.herohan.uvcdemo D CameraConnection#setFrameCallback:pixelFormat=3 2025-01-21 17:32:56.360 1891-5111 CameraInternal com.herohan.uvcdemo D setFrameCallback:surface=com.herohan.uvcdemo.SetFrameCallbackActivity$2$$ExternalSyntheticLambda0@af1a839 2025-01-21 17:32:56.360 1891-5111 libUVCCamera com.herohan.uvcdemo I [5111UVCPreview.cpp:295:callbackPixelFormatChanged]:PIXEL_FORMAT_NV21: 2025-01-21 17:32:56.532 1891-5145 libUVCCamera com.herohan.uvcdemo I [5145UVCPreview.cpp:295:callbackPixelFormatChanged]:PIXEL_FORMAT_NV21: 2025-01-21 17:32:56.693 1891-5144 libUVCCamera com.herohan.uvcdemo I [5144UVCPreview.cpp:115:get_frame]:allocate new frame 2025-01-21 17:32:56.694 1891-5143 libUVCCamera com.herohan.uvcdemo I [5143UVCPreview.cpp:115:get_frame]:allocate new frame 2025-01-21 17:32:56.714 1891-5145 libc com.herohan.uvcdemo I handling signal: 11 2025-01-21 17:32:56.714 1891-5145 libc com.herohan.uvcdemo A Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xb400007920078520 in tid 5145 (Thread-8), pid 1891 (herohan.uvcdemo) 2025-01-21 17:32:56.714 1891-5145 libc com.herohan.uvcdemo I debuggerd_dispatch_pseudothread start. crashing tid: 5145 2025-01-21 17:32:56.727 1891-5145 libc com.herohan.uvcdemo I crash_dump pid: 5149 2025-01-21 17:32:56.727 1891-5144 libUVCCamera com.herohan.uvcdemo I [5144UVCPreview.cpp:115:get_frame]:allocate new frame 2025-01-21 17:32:56.728 1891-5143 libUVCCamera com.herohan.uvcdemo I [5143UVCPreview.cpp:115:get_frame]:allocate new frame 2025-01-21 17:32:56.729 1891-5118 BLASTBufferQueue com.herohan.uvcdemo E SurfaceView[com.herohan.uvcdemo/com.herohan.uvcdemo.SetFrameCallbackActivity]#2 rejecting buffer:active_size=432x243, requested_size=432x243 buffer{size=432x324 transform=0} 2025-01-21 17:32:56.778 1891-5143 libUVCCamera com.herohan.uvcdemo I [5143UVCPreview.cpp:115:get_frame]:allocate new frame 2025-01-21 17:32:56.922 5151-5151 DEBUG crash_dump64 A Cmdline: com.herohan.uvcdemo 2025-01-21 17:32:56.922 5151-5151 DEBUG crash_dump64 A pid: 1891, tid: 5145, name: Thread-8 >>> com.herohan.uvcdemo <<< 2025-01-21 17:32:56.922 5151-5151 DEBUG crash_dump64 A #00 pc 0000000000082148 /data/app/~~hxfx-23bFGVMTuCVyqx1gw==/com.herohan.uvcdemo-TWZNq2mKXhPEZc3cU1lXAQ==/lib/arm64/libyuv.so (MergeUVRow_NEON+28) (BuildId: 087242abda2f318d52e69c10b90d5bb97d4f71e2) 2025-01-21 17:32:56.922 5151-5151 DEBUG crash_dump64 A #1 pc 0000000000051e40 /data/app/~~hxfx-23bFGVMTuCVyqx1gw==/com.herohan.uvcdemo-TWZNq2mKXhPEZc3cU1lXAQ==/lib/arm64/libyuv.so (ABGRToNV21+464) (BuildId: 087242abda2f318d52e69c10b90d5bb97d4f71e2) 2025-01-21 17:32:56.922 5151-5151 DEBUG crash_dump64 A #2 pc 000000000001e6c4 /data/app/~~hxfx-23bFGVMTuCVyqx1gw==/com.herohan.uvcdemo-TWZNq2mKXhPEZc3cU1lXAQ==/lib/arm64/libUVCCamera.so (UVCPreview::do_capture_callback(_JNIEnv*, uvc_frame*)+92) (BuildId: b103902c20e6c2803fe7e9b012d7d3f0db999792) 2025-01-21 17:32:56.922 5151-5151 DEBUG crash_dump64 A #3 pc 000000000001e488 /data/app/~~hxfx-23bFGVMTuCVyqx1gw==/com.herohan.uvcdemo-TWZNq2mKXhPEZc3cU1lXAQ==/lib/arm64/libUVCCamera.so (UVCPreview::do_capture(_JNIEnv*)+128) (BuildId: b103902c20e6c2803fe7e9b012d7d3f0db999792) 2025-01-21 17:32:56.922 5151-5151 DEBUG crash_dump64 A #4 pc 000000000001df80 /data/app/~~hxfx-23bFGVMTuCVyqx1gw==/com.herohan.uvcdemo-TWZNq2mKXhPEZc3cU1lXAQ==/lib/arm64/libUVCCamera.so (UVCPreview::capture_thread_func(void*)+76) (BuildId: b103902c20e6c2803fe7e9b012d7d3f0db999792) ---------------------------- PROCESS ENDED (1891) for package com.herohan.uvcdemo ----------------------------
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
直接跑的你的项目演示代码
SetFrameCallbackActivity 获取预览回调数据相关功能在三星S 24 闪退,Android 14 设备。
小米手机Android 14 也一样闪退。
大佬有空看看
V onCameraOpen:
2025-01-21 17:32:56.354 1891-1891 CameraHelper com.herohan.uvcdemo D startPreview: com.herohan.uvcapp.CameraHelper@3165cef
2025-01-21 17:32:56.354 1891-1891 CameraHelper com.herohan.uvcdemo D getPreviewSize:
2025-01-21 17:32:56.354 1891-5111 CameraConnectionService com.herohan.uvcdemo D CameraConnection#startPreview:
2025-01-21 17:32:56.354 1891-1891 CameraHelper com.herohan.uvcdemo D addSurface:surface=Surface(name=null mNativeObject=-5476376632025682320)/@0x1aad2a3,isRecordable=false
2025-01-21 17:32:56.354 1891-5111 CameraInternal com.herohan.uvcdemo D startPreview: com.herohan.uvcapp.CameraInternal@b9b0a6
2025-01-21 17:32:56.354 1891-5111 CameraInternal com.herohan.uvcdemo D updateRendererSize:
2025-01-21 17:32:56.354 1891-1891 CameraHelper com.herohan.uvcdemo D setFrameCallback:3
2025-01-21 17:32:56.355 1891-5118 libc com.herohan.uvcdemo W Access denied finding property "vendor.display.enable_optimal_refresh_rate"
2025-01-21 17:32:56.355 1891-5118 libc com.herohan.uvcdemo W Access denied finding property "vendor.gpp.create_frc_extension"
2025-01-21 17:32:56.356 1891-5111 CameraConnectionService com.herohan.uvcdemo D CameraConnection#addSurface:surface=Surface(name=null mNativeObject=-5476376632025682320)/@0x1aad2a3
2025-01-21 17:32:56.356 1891-5111 CameraInternal com.herohan.uvcdemo D addSurface:surface=Surface(name=null mNativeObject=-5476376632025682320)/@0x1aad2a3
2025-01-21 17:32:56.356 1891-5111 RendererHolder com.herohan.uvcdemo V addSlaveSurface:id=27972259,surface=Surface(name=null mNativeObject=-5476376632025682320)/@0x1aad2a3
2025-01-21 17:32:56.357 1891-5118 EGLBase14 com.herohan.uvcdemo D EGLContext created, client version 3
2025-01-21 17:32:56.358 1891-5143 libUVCCamera com.herohan.uvcdemo I [5143UVCPreview.cpp:532:prepare_preview]:frameSize=(1920,1080)@Mjpeg
2025-01-21 17:32:56.359 1891-5118 RendererHolder com.herohan.uvcdemo V handleAddSurface:id=27972259
2025-01-21 17:32:56.359 1891-5118 RendererHolder com.herohan.uvcdemo V checkSurface
2025-01-21 17:32:56.360 1891-5111 CameraConnectionService com.herohan.uvcdemo D CameraConnection#setFrameCallback:pixelFormat=3
2025-01-21 17:32:56.360 1891-5111 CameraInternal com.herohan.uvcdemo D setFrameCallback:surface=com.herohan.uvcdemo.SetFrameCallbackActivity$2$$ExternalSyntheticLambda0@af1a839
2025-01-21 17:32:56.360 1891-5111 libUVCCamera com.herohan.uvcdemo I [5111UVCPreview.cpp:295:callbackPixelFormatChanged]:PIXEL_FORMAT_NV21:
2025-01-21 17:32:56.532 1891-5145 libUVCCamera com.herohan.uvcdemo I [5145UVCPreview.cpp:295:callbackPixelFormatChanged]:PIXEL_FORMAT_NV21:
2025-01-21 17:32:56.693 1891-5144 libUVCCamera com.herohan.uvcdemo I [5144UVCPreview.cpp:115:get_frame]:allocate new frame
2025-01-21 17:32:56.694 1891-5143 libUVCCamera com.herohan.uvcdemo I [5143UVCPreview.cpp:115:get_frame]:allocate new frame
2025-01-21 17:32:56.714 1891-5145 libc com.herohan.uvcdemo I handling signal: 11
2025-01-21 17:32:56.714 1891-5145 libc com.herohan.uvcdemo A Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xb400007920078520 in tid 5145 (Thread-8), pid 1891 (herohan.uvcdemo)
2025-01-21 17:32:56.714 1891-5145 libc com.herohan.uvcdemo I debuggerd_dispatch_pseudothread start. crashing tid: 5145
2025-01-21 17:32:56.727 1891-5145 libc com.herohan.uvcdemo I crash_dump pid: 5149
2025-01-21 17:32:56.727 1891-5144 libUVCCamera com.herohan.uvcdemo I [5144UVCPreview.cpp:115:get_frame]:allocate new frame
2025-01-21 17:32:56.728 1891-5143 libUVCCamera com.herohan.uvcdemo I [5143UVCPreview.cpp:115:get_frame]:allocate new frame
2025-01-21 17:32:56.729 1891-5118 BLASTBufferQueue com.herohan.uvcdemo E SurfaceView[com.herohan.uvcdemo/com.herohan.uvcdemo.SetFrameCallbackActivity]#2 rejecting buffer:active_size=432x243, requested_size=432x243 buffer{size=432x324 transform=0}
2025-01-21 17:32:56.778 1891-5143 libUVCCamera com.herohan.uvcdemo I [5143UVCPreview.cpp:115:get_frame]:allocate new frame
2025-01-21 17:32:56.922 5151-5151 DEBUG crash_dump64 A Cmdline: com.herohan.uvcdemo
2025-01-21 17:32:56.922 5151-5151 DEBUG crash_dump64 A pid: 1891, tid: 5145, name: Thread-8 >>> com.herohan.uvcdemo <<<
2025-01-21 17:32:56.922 5151-5151 DEBUG crash_dump64 A #00 pc 0000000000082148 /data/app/~~hxfx-23bFGVMTuCVyqx1gw==/com.herohan.uvcdemo-TWZNq2mKXhPEZc3cU1lXAQ==/lib/arm64/libyuv.so (MergeUVRow_NEON+28) (BuildId: 087242abda2f318d52e69c10b90d5bb97d4f71e2)
2025-01-21 17:32:56.922 5151-5151 DEBUG crash_dump64 A #1 pc 0000000000051e40 /data/app/~~hxfx-23bFGVMTuCVyqx1gw==/com.herohan.uvcdemo-TWZNq2mKXhPEZc3cU1lXAQ==/lib/arm64/libyuv.so (ABGRToNV21+464) (BuildId: 087242abda2f318d52e69c10b90d5bb97d4f71e2)
2025-01-21 17:32:56.922 5151-5151 DEBUG crash_dump64 A #2 pc 000000000001e6c4 /data/app/~~hxfx-23bFGVMTuCVyqx1gw==/com.herohan.uvcdemo-TWZNq2mKXhPEZc3cU1lXAQ==/lib/arm64/libUVCCamera.so (UVCPreview::do_capture_callback(_JNIEnv*, uvc_frame*)+92) (BuildId: b103902c20e6c2803fe7e9b012d7d3f0db999792)
2025-01-21 17:32:56.922 5151-5151 DEBUG crash_dump64 A #3 pc 000000000001e488 /data/app/~~hxfx-23bFGVMTuCVyqx1gw==/com.herohan.uvcdemo-TWZNq2mKXhPEZc3cU1lXAQ==/lib/arm64/libUVCCamera.so (UVCPreview::do_capture(_JNIEnv*)+128) (BuildId: b103902c20e6c2803fe7e9b012d7d3f0db999792)
2025-01-21 17:32:56.922 5151-5151 DEBUG crash_dump64 A #4 pc 000000000001df80 /data/app/~~hxfx-23bFGVMTuCVyqx1gw==/com.herohan.uvcdemo-TWZNq2mKXhPEZc3cU1lXAQ==/lib/arm64/libUVCCamera.so (UVCPreview::capture_thread_func(void*)+76) (BuildId: b103902c20e6c2803fe7e9b012d7d3f0db999792)
---------------------------- PROCESS ENDED (1891) for package com.herohan.uvcdemo ----------------------------
The text was updated successfully, but these errors were encountered: