ScreenRecorder
ScreenRecorder copied to clipboard
崩溃,错误信息如下
E: hongxu transact start E: hongxu transact end E: setParameter(1:google.h264.encoder, ??(0x7f000022)) ERROR: UnsupportedIndex(0x8000101a) E: getParameter(1:google.h264.encoder, ??(0x7f000040)) ERROR: UnsupportedIndex(0x8000101a) E: getParameter(1:google.h264.encoder, ??(0x7f200406)) ERROR: UnsupportedIndex(0x8000101a) E: Video frame size 1920x1080 must be a multiple of 16 Failed to initialized encoder params E: [OMX.google.h264.encoder] ERROR(0x80001001) signalError(omxError 0x80001001, internalError -2147483648) E: Codec reported err 0x80001001, actionCode 0, while in state 6 E: Justin. gLoadComplete = true..... E: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000008 *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'Meizu/meizu_mx5/mx5:5.1/LMY47I/1532418776:user/release-keys' Revision: '22355' pid: 2513, tid: 2734, name: MediaCodec_loop >>> com.berui.firsthouse:arProcess <<< r0 cde5fb94 r1 00000001 r2 00000000 r3 00000000 r4 cde5fbac r5 cde5fb94 r6 cde5fc20 r7 d0c03828 r8 cde5fc20 r9 00000000 sl 00000000 fp 00000016 ip f5ef4ac0 sp cde5fb60 lr f5ee9657 pc f5ee9656 cpsr dc379c90 backtrace: E: VideoEncoder ran into an error! android.media.MediaCodec$CodecException: Error 0x80001001 E: GraphicBufferSource queueBuffer: BufferQueue has been abandoned E: #00 pc 0000d656 /system/lib/libstagefright_foundation.so (android::AMessage::debugString(int) const+29) #01 pc 0000d869 /system/lib/libstagefright_foundation.so (android::AMessage::debugString(int) const+560) #02 pc 000c8afd /system/lib/libstagefright.so (android::MediaCodec::onMessageReceived(android::spandroid::AMessage const&)+3904) #03 pc 0000cd89 /system/lib/libstagefright_foundation.so (android::ALooperRoster::deliverMessage(android::spandroid::AMessage const&)+164) #04 pc 0000c6f1 /system/lib/libstagefright_foundation.so (android::ALooper::loop()+216) #05 pc 0001093f /system/lib/libutils.so (android::Thread::_threadLoop(void*)+110) #06 pc 00063475 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+72) #07 pc 000170a3 /system/lib/libc.so (__pthread_start(void*)+30) #08 pc 0001510f /system/lib/libc.so (__start_thread+6) A: * Assertion: should not be reached at mini.c:2215
这是魅族手机的错误,三星也会出现
OMX.google.h264.encoder 不支持这个分辨率,你可以自己改一下