4K 正确的log:

01-04 16:49:58.843 13877-14610/tv.danmaku.ijk.media.example I/IjkMediaCodecInfo: Main Profile Level 52 (2,65536)

01-04 16:49:58.845 13877-14610/tv.danmaku.ijk.media.example I/IjkMediaCodecInfo: Baseline Profile Level 52 (1,65536)

01-04 16:49:58.846 13877-14610/tv.danmaku.ijk.media.example D/IJKMEDIA: SDL_AMediaCodecJava_createByCodecName

01-04 16:49:58.871 13877-14610/tv.danmaku.ijk.media.example D/IJKMEDIA: SDL_AMediaCodecJava_init

01-04 16:49:58.871 13877-14610/tv.danmaku.ijk.media.example D/IJKMEDIA: SDL_AMediaCodec_increaseReference(): ref=1

01-04 16:49:58.871 13877-14610/tv.danmaku.ijk.media.example D/IJKMEDIA: SDL_AMediaCodecJava_configure_surface

01-04 16:49:58.872 13877-14619/tv.danmaku.ijk.media.example I/MediaCodec: [OMX.qcom.video.decoder.hevc] setting surface generation to 14210060

01-04 16:49:58.894 13877-14610/tv.danmaku.ijk.media.example D/IJKMEDIA: SDL_AMediaCodecJava_start

01-04 16:49:58.910 13877-14610/tv.danmaku.ijk.media.example D/IJKMEDIA: SDL_AMediaCodec_increaseReference(): ref=2

01-04 16:49:58.910 13877-14610/tv.danmaku.ijk.media.example I/IJKMEDIA: VideoCodec: MediaCodec, OMX.qcom.video.decoder.hevc

01-04 16:49:59.022 13877-14624/tv.danmaku.ijk.media.example I/IJKMEDIA: SDL_AMediaCodecJava_dequeueOutputBuffer: INFO_OUTPUT_BUFFERS_CHANGED

01-04 16:49:59.053 13877-14624/tv.danmaku.ijk.media.example I/IJKMEDIA: SDL_AMediaCodecJava_dequeueOutputBuffer: INFO_OUTPUT_FORMAT_CHANGED

01-04 16:49:59.054 13877-14624/tv.danmaku.ijk.media.example D/IJKMEDIA: SDL_VoutAMediaCodec_CreateOverlay(w=4096, h=2304, fmt=_AMC vout=0xccb5bb20)

01-04 16:49:59.081 13877-14624/tv.danmaku.ijk.media.example D/IJKMEDIA: SDL_VoutAMediaCodec_CreateOverlay(w=4096, h=2304, fmt=_AMC vout=0xccb5bb20)

01-04 16:49:59.110 13877-14624/tv.danmaku.ijk.media.example D/IJKMEDIA: SDL_VoutAMediaCodec_CreateOverlay(w=4096, h=2304, fmt=_AMC vout=0xccb5bb20)

5K error log:

01-04 16:45:44.909 22340-22363/? D/J4A: J4ALoader: OK: 'android.media.MediaCodec$BufferInfo' loaded

01-04 16:45:44.909 22340-22363/? D/J4A: J4ALoader: OK: 'android.media.MediaCodec' loaded

01-04 16:45:56.555 22340-22469/? I/IjkMediaCodecInfo: Unknown Profile Level 52 (4096,65536)

01-04 16:45:56.556 22340-22469/? I/IjkMediaCodecInfo: Baseline Profile Level 52 (1,65536)

01-04 16:45:56.556 22340-22469/? D/IJKMEDIA: SDL_AMediaCodecJava_createByCodecName

01-04 16:45:56.610 22340-22469/? D/IJKMEDIA: SDL_AMediaCodecJava_init

01-04 16:45:56.610 22340-22469/? D/IJKMEDIA: SDL_AMediaCodec_increaseReference(): ref=1

01-04 16:45:56.610 22340-22469/? D/IJKMEDIA: SDL_AMediaCodecJava_configure_surface

01-04 16:45:56.612 22340-22484/? I/MediaCodec: [OMX.qcom.video.decoder.hevc] setting surface generation to 22876161

01-04 16:45:56.621 22340-22484/? E/MediaCodec: Codec reported err 0xfffffff4, actionCode 0, while in state 3

01-04 16:45:56.621 22340-22469/? E/MediaCodec: configure failed with err 0xfffffff4, resetting...

01-04 16:45:56.652 22340-22469/? W/System.err: android.media.MediaCodec$CodecException: Error 0xfffffff4

01-04 16:45:56.654 22340-22469/? W/System.err: at android.media.MediaCodec.native_configure(Native Method)

01-04 16:45:56.654 22340-22469/? W/System.err: at android.media.MediaCodec.configure(MediaCodec.java:1884)

01-04 16:45:56.654 22340-22469/? D/IJKMEDIA: SDL_AMediaCodec_decreaseReference(): ref=0

01-04 16:45:56.654 22340-22469/? I/IJKMEDIA: SDL_AMediaCodecJava_delete

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐