Firefly开源社区

RK3399 USB摄像头录像崩溃

27

积分

0

威望

0

贡献

技术小白

积分
27
发表于 2017-6-15 10:14:20     
用系统自带的软件和ANDROID官方DEMO都崩溃LOG如下,谁能给帮助一下。
06-15 02:06:35.078 29649-29828/com.example.android.camera2basic E/CameraUtils: getRotationTransform: Invalid HAL android.sensor.orientation value: 40
06-15 02:06:35.078 29649-29828/com.example.android.camera2basic E/Legacy-CameraDevice-JNI: LegacyCameraDevice_nativeSetSurfaceOrientation: Invalid rotation transform Function not implemented (-38)
06-15 02:06:35.080 29649-29828/com.example.android.camera2basic E/AndroidRuntime: FATAL EXCEPTION: RequestThread-0
                                                                                  Process: com.example.android.camera2basic, PID: 29649
                                                                                  java.lang.UnsupportedOperationException: Unknown error -38
                                                                                      at android.hardware.camera2.legacy.LegacyExceptionUtils.throwOnError(LegacyExceptionUtils.java:77)
                                                                                      at android.hardware.camera2.legacy.LegacyCameraDevice.setSurfaceOrientation(LegacyCameraDevice.java:761)
                                                                                      at android.hardware.camera2.legacy.RequestThreadManager.configureOutputs(RequestThreadManager.java:392)
                                                                                      at android.hardware.camera2.legacy.RequestThreadManager.-wrap0(RequestThreadManager.java)
                                                                                      at android.hardware.camera2.legacy.RequestThreadManager$5.handleMessage(RequestThreadManager.java:704)
                                                                                      at android.os.Handler.dispatchMessage(Handler.java:98)
                                                                                      at android.os.Looper.loop(Looper.java:154)
                                                                                      at android.os.HandlerThread.run(HandlerThread.java:61)

回复

使用道具 举报

2963

积分

12

威望

22

贡献

高级创客

Rank: 6Rank: 6

积分
2963
发表于 2017-6-15 10:21:38     
贴完整log有助于更准确地确认问题
回复

使用道具 举报

27

积分

0

威望

0

贡献

技术小白

积分
27
发表于 2017-6-15 10:37:40     
补充一下系统是ANDROID 7.1.1
06-15 02:06:26.155 29649-29649/? I/art: Late-enabling -Xcheck:jni
06-15 02:06:26.210 29649-29649/com.example.android.camera2basic W/System: ClassLoader referenced unknown path: /data/app/com.example.android.camera2basic-1/lib/arm64
06-15 02:06:26.324 29649-29676/com.example.android.camera2basic I/mali_so: [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 978; [Func] : base_context_deal_with_version_affairs_rk_ext;
                                                                           arm_release_ver of this mali_so is 'r14p0-01rel0', rk_so_ver is '4@0'.
06-15 02:06:26.324 29649-29676/com.example.android.camera2basic D/mali_so: [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 983; [Func] : base_context_deal_with_version_affairs_rk_ext;
                                                                           current process is NOT sf, to bail out.
06-15 02:06:26.326 29649-29676/com.example.android.camera2basic I/OpenGLRenderer: Initialized EGL, version 1.4
06-15 02:06:26.327 29649-29676/com.example.android.camera2basic D/OpenGLRenderer: Swap behavior 1
06-15 02:06:26.382 29649-29676/com.example.android.camera2basic D/mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000
06-15 02:06:34.751 29649-29649/com.example.android.camera2basic I/CameraManagerGlobal: Connecting to camera service
06-15 02:06:34.796 29649-29649/com.example.android.camera2basic I/CameraManager: Using legacy camera HAL.
06-15 02:06:35.049 29649-29808/com.example.android.camera2basic E/Camera-JNI: Unexpected camera orientation 40!
06-15 02:06:35.073 29649-29649/com.example.android.camera2basic I/Choreographer: Skipped 35 frames!  The application may be doing too much work on its main thread.
06-15 02:06:35.074 29649-29807/com.example.android.camera2basic I/CameraDeviceState: Legacy camera service transitioning to state CONFIGURING
06-15 02:06:35.075 29649-29828/com.example.android.camera2basic I/RequestThread-0: Configure outputs: 2 surfaces configured.
06-15 02:06:35.075 29649-29828/com.example.android.camera2basic D/Camera: app passed NULL surface
06-15 02:06:35.078 29649-29828/com.example.android.camera2basic E/CameraUtils: getRotationTransform: Invalid HAL android.sensor.orientation value: 40
06-15 02:06:35.078 29649-29828/com.example.android.camera2basic E/Legacy-CameraDevice-JNI: LegacyCameraDevice_nativeSetSurfaceOrientation: Invalid rotation transform Function not implemented (-38)
06-15 02:06:35.080 29649-29828/com.example.android.camera2basic E/AndroidRuntime: FATAL EXCEPTION: RequestThread-0
                                                                                  Process: com.example.android.camera2basic, PID: 29649
                                                                                  java.lang.UnsupportedOperationException: Unknown error -38
                                                                                      at android.hardware.camera2.legacy.LegacyExceptionUtils.throwOnError(LegacyExceptionUtils.java:77)
                                                                                      at android.hardware.camera2.legacy.LegacyCameraDevice.setSurfaceOrientation(LegacyCameraDevice.java:761)
                                                                                      at android.hardware.camera2.legacy.RequestThreadManager.configureOutputs(RequestThreadManager.java:392)
                                                                                      at android.hardware.camera2.legacy.RequestThreadManager.-wrap0(RequestThreadManager.java)
                                                                                      at android.hardware.camera2.legacy.RequestThreadManager$5.handleMessage(RequestThreadManager.java:704)
                                                                                      at android.os.Handler.dispatchMessage(Handler.java:98)
                                                                                      at android.os.Looper.loop(Looper.java:154)
                                                                                      at android.os.HandlerThread.run(HandlerThread.java:61)
06-15 02:06:35.101 29649-29828/com.example.android.camera2basic I/Process: Sending signal. PID: 29649 SIG: 9
回复

使用道具 举报

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

本版积分规则

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