解码错误:BaseDecoder: [VIDEO] Receive frame error result: Unknown error -11
maoqitian opened this issue · 0 comments
错误日志如下:貌似是解析每一帧错误
2020-12-22 17:08:21.023 21293-21416/com.mao.ffmpegplayer I/EglCore: EGL version: 1.4
2020-12-22 17:08:21.025 21293-21416/com.mao.ffmpegplayer I/EglCore: EGL init success
2020-12-22 17:08:21.025 21293-21416/com.mao.ffmpegplayer I/OpenGLRender: Loop Render FRESH_SURFACE
2020-12-22 17:08:21.026 21293-21416/com.mao.ffmpegplayer D/OpenGLRender: View Port width: 1080, height: 600
2020-12-22 17:08:21.028 21293-21416/com.mao.ffmpegplayer D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
2020-12-22 17:08:21.051 21293-21417/com.mao.ffmpegplayer I/FFMediaPlayer: Decoder init success
2020-12-22 17:08:21.052 21293-21417/com.mao.ffmpegplayer I/AudioDecoder: sample rate: 48000, channel: 2, format: 8, frame_size: 1024, layout: 3
2020-12-22 17:08:21.052 21293-21380/com.mao.ffmpegplayer D/OpenGLRenderer: HWUI Binary is enabled
2020-12-22 17:08:21.052 21293-21415/com.mao.ffmpegplayer I/FFMediaPlayer: Decoder init success
2020-12-22 17:08:21.052 21293-21415/com.mao.ffmpegplayer I/VideoDecoder: dst 640, 272
2020-12-22 17:08:21.055 21293-21415/com.mao.ffmpegplayer I/BaseDecoder: [VIDEO] Start loop decode
2020-12-22 17:08:21.057 21293-21417/com.mao.ffmpegplayer E/AudioEffect: set(): AudioFlinger could not create effect, status: -1
2020-12-22 17:08:21.058 21293-21415/com.mao.ffmpegplayer I/BaseDecoder: [VIDEO] Receive frame error result: Unknown error -11
2020-12-22 17:08:21.058 21293-21417/com.mao.ffmpegplayer E/libOpenSLES: Effect initCheck() returned -19
2020-12-22 17:08:21.058 21293-21417/com.mao.ffmpegplayer E/libOpenSLES: EnvironmentalReverb effect initialization failed
2020-12-22 17:08:21.058 21293-21417/com.mao.ffmpegplayer W/libOpenSLES: Leaving EnvironmentalReverb::SetEnvironmentalReverbProperties (SL_RESULT_CONTROL_LOST)
2020-12-22 17:08:21.059 21293-21417/com.mao.ffmpegplayer I/libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
2020-12-22 17:08:21.060 21293-21415/com.mao.ffmpegplayer I/BaseDecoder: [VIDEO] Receive frame error result: Unknown error -11
2020-12-22 17:08:21.064 21293-21417/com.mao.ffmpegplayer D/AudioTrack: OFFLOAD 0,mNotificationFrames 0,mStreamType =3,mOriginalSampleRate 44100,mAfSampleRate 48000,mTransfer 1
2020-12-22 17:08:21.064 21293-21417/com.mao.ffmpegplayer D/AudioTrack: Client defaulted notificationFrames to 590 for frameCount 1772
2020-12-22 17:08:21.066 21293-21417/com.mao.ffmpegplayer I/OpenSLRender: OpenSL ES init success
2020-12-22 17:08:21.066 21293-21417/com.mao.ffmpegplayer I/BaseDecoder: [AUDIO] Start loop decode
2020-12-22 17:08:21.067 21293-21417/com.mao.ffmpegplayer I/BaseDecoder: [AUDIO] Receive frame error result: Unknown error -11
2020-12-22 17:08:21.075 21293-21419/com.mao.ffmpegplayer I/OpenSLRender: openSL render start playing