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
因为会影响帧率,我把mFFmpegFrameRecorder.record(frame2);的方法移到了子线程中。这样onPreviewFrame就恢复到30fps左右。但是在停止录制的时候,必崩溃。 2019-10-17 17:53:50.684 7553-7914/com.alleyes.app A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 7914 (RxNewThreadSche) 2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: Build fingerprint: 'HONOR/LLD-AL00/HWLLD-H:8.0.0/HONORLLD-AL00/189(C00):user/release-keys' 2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: Revision: '0' 2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: ABI: 'arm' 2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: pid: 7553, tid: 7914, name: RxNewThreadSche >>> com.alleyes.app <<< 2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: Cause: null pointer dereference 2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: r0 d05d7440 r1 b6f65600 r2 00000000 r3 00000000 2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: r4 d05d7440 r5 b558e0a4 r6 b82318c0 r7 80000000 2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: r8 d05d7440 r9 bade3a00 sl b82318c0 fp b6c3a108 2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: ip e7be0d60 sp b558e098 lr b6c12ccc pc b6c3a124 cpsr 600f0010 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: backtrace: 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #00 pc 0005d124 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #1 pc 00035cc8 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #2 pc 00036b60 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #3 pc 00088be8 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #4 pc 00035cc8 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #5 pc 00036b60 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #6 pc 00088be8 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #07 pc 00035cc8 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #08 pc 00036b60 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #09 pc 00088be8 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #10 pc 00035cc8 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #11 pc 00036b60 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #12 pc 00035cc8 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #13 pc 00036b60 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #14 pc 0003a7a4 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #15 pc 00035dec /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #16 pc 00035e7c /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #17 pc 00035e7c /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #18 pc 00035e7c /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #19 pc 00035e7c /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #20 pc 00035e7c /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so 2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #21 pc 00039f60 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so (av_buffersink_get_frame_flags+88) 2019-10-17 17:53:50.949 7951-7951/? A/DEBUG: #22 pc 00036ad0 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libjniavfilter.so (Java_org_bytedeco_javacpp_avfilter_av_1buffersink_1get_1frame+172) 2019-10-17 17:53:50.949 7951-7951/? A/DEBUG: #23 pc 003e4679 /system/lib/libart.so (art_quick_generic_jni_trampoline+40) 2019-10-17 17:53:50.949 7951-7951/? A/DEBUG: #24 pc 000bec21 /dev/ashmem/dalvik-jit-code-cache (deleted) (offset 0x1000)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
因为会影响帧率,我把mFFmpegFrameRecorder.record(frame2);的方法移到了子线程中。这样onPreviewFrame就恢复到30fps左右。但是在停止录制的时候,必崩溃。
2019-10-17 17:53:50.684 7553-7914/com.alleyes.app A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 7914 (RxNewThreadSche)
2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: Build fingerprint: 'HONOR/LLD-AL00/HWLLD-H:8.0.0/HONORLLD-AL00/189(C00):user/release-keys'
2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: Revision: '0'
2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: ABI: 'arm'
2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: pid: 7553, tid: 7914, name: RxNewThreadSche >>> com.alleyes.app <<<
2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: Cause: null pointer dereference
2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: r0 d05d7440 r1 b6f65600 r2 00000000 r3 00000000
2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: r4 d05d7440 r5 b558e0a4 r6 b82318c0 r7 80000000
2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: r8 d05d7440 r9 bade3a00 sl b82318c0 fp b6c3a108
2019-10-17 17:53:50.943 7951-7951/? A/DEBUG: ip e7be0d60 sp b558e098 lr b6c12ccc pc b6c3a124 cpsr 600f0010
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: backtrace:
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #00 pc 0005d124 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #1 pc 00035cc8 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #2 pc 00036b60 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #3 pc 00088be8 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #4 pc 00035cc8 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #5 pc 00036b60 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #6 pc 00088be8 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #07 pc 00035cc8 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #08 pc 00036b60 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #09 pc 00088be8 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #10 pc 00035cc8 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #11 pc 00036b60 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #12 pc 00035cc8 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #13 pc 00036b60 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #14 pc 0003a7a4 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #15 pc 00035dec /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #16 pc 00035e7c /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #17 pc 00035e7c /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #18 pc 00035e7c /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #19 pc 00035e7c /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #20 pc 00035e7c /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so
2019-10-17 17:53:50.948 7951-7951/? A/DEBUG: #21 pc 00039f60 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libavfilter.so (av_buffersink_get_frame_flags+88)
2019-10-17 17:53:50.949 7951-7951/? A/DEBUG: #22 pc 00036ad0 /data/app/com.alleyes.app-ERSWgldDfK_GBUS69G0OVw==/lib/arm/libjniavfilter.so (Java_org_bytedeco_javacpp_avfilter_av_1buffersink_1get_1frame+172)
2019-10-17 17:53:50.949 7951-7951/? A/DEBUG: #23 pc 003e4679 /system/lib/libart.so (art_quick_generic_jni_trampoline+40)
2019-10-17 17:53:50.949 7951-7951/? A/DEBUG: #24 pc 000bec21 /dev/ashmem/dalvik-jit-code-cache (deleted) (offset 0x1000)
The text was updated successfully, but these errors were encountered: