cached_video_player_plus
cached_video_player_plus copied to clipboard
Video player had error androidx.media3.exoplayer.ExoPlaybackException
I/ExoPlayerImpl(30320): Init 696f254 [AndroidXMedia3/1.4.1] [HWELE, ELE-AL00, HUAWEI, 29] W/.smart.trainin(30320): Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (greylist, reflection, allowed) W/VideoCapabilities(30320): Unrecognized profile/level 0/0 for video/mpeg2 W/VideoCapabilities(30320): Unrecognized profile/level 0/2 for video/mpeg2 W/VideoCapabilities(30320): Unrecognized profile/level 0/3 for video/mpeg2 I/VideoCapabilities(30320): Unsupported profile 5 for video/mpeg2 I/chatty (30320): uid=10238(com.imstlife.smart.training) ExoPlayer:Playb identical 2 lines I/VideoCapabilities(30320): Unsupported profile 5 for video/mpeg2 W/VideoCapabilities(30320): Unrecognized profile/level 1/32 for video/mp4v-es W/VideoCapabilities(30320): Unrecognized profile/level 32768/2 for video/mp4v-es W/VideoCapabilities(30320): Unrecognized profile/level 32768/64 for video/mp4v-es I/OMXClient(30320): IOmx service obtained I/ACodec (30320): In onAllocateComponent create compenent, codec name: OMX.hisi.video.decoder.avc D/SurfaceUtils(30320): connecting to surface 0x76959cd010, reason connectToSurface I/MediaCodec(30320): [OMX.hisi.video.decoder.avc] setting surface generation to 31047681 D/SurfaceUtils(30320): disconnecting from surface 0x76959cd010, reason connectToSurface(reconnect) D/SurfaceUtils(30320): connecting to surface 0x76959cd010, reason connectToSurface(reconnect) E/ACodec (30320): [OMX.hisi.video.decoder.avc] setPortMode on output to DynamicANWBuffer failed w/ err -2147483648 I/ACodec (30320): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR) I/ACodec (30320): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR) I/ACodec (30320): [OMX.hisi.video.decoder.avc] using color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) and dataspace 0x104 I/ACodec (30320): onStart I/HwExtendedUtils(30320): Set to window composer mode as 2 I/ACodec (30320): gralloc usage: 0(OMX) => 0x2900(ACodec) D/SurfaceUtils(30320): disconnecting from surface 0x76959cd010, reason setNativeWindowSizeFormatAndUsage D/SurfaceUtils(30320): connecting to surface 0x76959cd010, reason setNativeWindowSizeFormatAndUsage D/SurfaceUtils(30320): set up nativeWindow 0x76959cd010 for 720x1280, color 0x30d, rotation 0, usage 0x2900 W/ACodec (30320): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 10 failed: -1010 W/ACodec (30320): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 9 failed: -1010 I/ACodec (30320): [OMX.hisi.video.decoder.avc] Allocating 8 buffers from a native window of size 1720320 on output port W/Gralloc3(30320): allocator 3.x is not supported I/ACodec (30320): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR) I/ACodec (30320): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR) I/ACodec (30320): [OMX.hisi.video.decoder.avc] using color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) and dataspace 0x104 I/ACodec (30320): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR) I/ACodec (30320): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR) I/ACodec (30320): [OMX.hisi.video.decoder.avc] using color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) and dataspace 0x104 I/ACodec (30320): [OMX.hisi.video.decoder.avc] Now handling output port settings change I/ACodec (30320): [OMX.hisi.video.decoder.avc] Output port now disabled. I/HwExtendedUtils(30320): Set to window composer mode as 2 I/ACodec (30320): gralloc usage: 0(OMX) => 0x2900(ACodec) D/SurfaceUtils(30320): disconnecting from surface 0x76959cd010, reason setNativeWindowSizeFormatAndUsage D/SurfaceUtils(30320): connecting to surface 0x76959cd010, reason setNativeWindowSizeFormatAndUsage D/SurfaceUtils(30320): set up nativeWindow 0x76959cd010 for 720x1280, color 0x30d, rotation 0, usage 0x2900 W/ACodec (30320): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 20 failed: -1010 W/ACodec (30320): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 19 failed: -1010 W/ACodec (30320): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 18 failed: -1010 W/ACodec (30320): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 17 failed: -1010 E/ACodec (30320): Failed to allocate output port buffers after port reconfiguration: (-1010) E/ACodec (30320): signalError(omxError 0x80001001, internalError -1010) E/ACodec (30320): Error occurred while disabling the output port E/MediaCodec(30320): Codec reported err 0xfffffc0e, actionCode 0, while in state 6 D/SurfaceUtils(30320): disconnecting from surface 0x76959cd010, reason disconnectFromSurface D/CCodec (30320): allocate(c2.android.aac.decoder) I/Codec2Client(30320): Available Codec2 services: "software" I/Codec2Client(30320): Creating a Codec2 client to service "software" I/Codec2Client(30320): Client to Codec2 service "software" created I/CCodec (30320): Created component [c2.android.aac.decoder] D/CCodecConfig(30320): read media type: audio/mp4a-latm D/ReflectedParamUpdater(30320): extent() != 1 for single value type: algo.buffers.max-count.values D/ReflectedParamUpdater(30320): extent() != 1 for single value type: output.subscribed-indices.values D/ReflectedParamUpdater(30320): extent() != 1 for single value type: input.buffers.allocator-ids.values D/ReflectedParamUpdater(30320): extent() != 1 for single value type: output.buffers.allocator-ids.values D/ReflectedParamUpdater(30320): extent() != 1 for single value type: algo.buffers.allocator-ids.values D/ReflectedParamUpdater(30320): extent() != 1 for single value type: output.buffers.pool-ids.values D/ReflectedParamUpdater(30320): extent() != 1 for single value type: algo.buffers.pool-ids.values I/CCodecConfig(30320): query failed after returning 16 values (BAD_INDEX) D/CCodecConfig(30320): c2 config is Dict { D/CCodecConfig(30320): c2::u32 coded.aac-packaging.value = 0 D/CCodecConfig(30320): c2::u32 coded.bitrate.value = 64000 D/CCodecConfig(30320): c2::u32 coded.pl.level = 0 D/CCodecConfig(30320): c2::u32 coded.pl.profile = 8192 D/CCodecConfig(30320): c2::float coding.drc.attenuation-factor.value = 1 D/CCodecConfig(30320): c2::float coding.drc.boost-factor.value = 1 D/CCodecConfig(30320): c2::i32 coding.drc.compression-mode.value = 3 D/CCodecConfig(30320): c2::i32 coding.drc.effect-type.value = 3 D/CCodecConfig(30320): c2::float coding.drc.encoded-level.value = 0.25 D/CCodecConfig(30320): c2::float coding.drc.reference-level.value = -16 D/CCodecConfig(30320): c2::u32 input.buffers.max-size.value = 8192 D/CCodecConfig(30320): c2::u32 input.delay.value = 0 D/CCodecConfig(30320): string input.media-type.value = "audio/mp4a-latm" D/CCodecConfig(30320): c2::u32 output.delay.value = 2 D/CCodecConfig(30320): string output.media-type.value = "audio/raw" D/CCodecConfig(30320): c2::u32 raw.channel-count.value = 1 D/CCodecConfig(30320): c2::u32 raw.sample-rate.value = 44100 D/CCodecConfig(30320): } D/CCodecConfig(30320): config failed => CORRUPTED D/CCodecConfig(30320): c2 config is Dict { D/CCodecConfig(30320): c2::u32 coded.aac-packaging.value = 0 D/CCodecConfig(30320): c2::u32 coded.bitrate.value = 64000 D/CCodecConfig(30320): c2::u32 coded.pl.level = 0 D/CCodecConfig(30320): c2::u32 coded.pl.profile = 8192 D/CCodecConfig(30320): c2::float coding.drc.attenuation-factor.value = 1 D/CCodecConfig(30320): c2::float coding.drc.boost-factor.value = 1 D/CCodecConfig(30320): c2::i32 coding.drc.compression-mode.value = 3 D/CCodecConfig(30320): c2::i32 coding.drc.effect-type.value = 3 D/CCodecConfig(30320): c2::float coding.drc.encoded-level.value = 0.25 D/CCodecConfig(30320): c2::float coding.drc.reference-level.value = -16 D/CCodecConfig(30320): c2::u32 input.buffers.max-size.value = 8192 D/CCodecConfig(30320): c2::u32 input.delay.value = 0 D/CCodecConfig(30320): string input.media-type.value = "audio/mp4a-latm" D/CCodecConfig(30320): c2::u32 output.delay.value = 2 D/CCodecConfig(30320): string output.media-type.value = "audio/raw" D/CCodecConfig(30320): c2::u32 raw.channel-count.value = 2 D/CCodecConfig(30320): c2::u32 raw.sample-rate.value = 44100 D/CCodecConfig(30320): } W/Codec2Client(30320): query -- param skipped: index = 1107298332. D/CCodec (30320): client requested max input size 578, which is smaller than what component recommended (8192); overriding with component recommendation. W/CCodec (30320): This behavior is subject to change. It is recommended that app developers double check whether the requested max input size is in reasonable range. D/CCodec (30320): setup formats input: AMessage(what = 0x00000000) = { D/CCodec (30320): int32_t channel-count = 2 D/CCodec (30320): int32_t level = 0 D/CCodec (30320): int32_t max-input-size = 8192 D/CCodec (30320): string mime = "audio/mp4a-latm" D/CCodec (30320): int32_t profile = 2 D/CCodec (30320): int32_t sample-rate = 44100 D/CCodec (30320): } and output: AMessage(what = 0x00000000) = { D/CCodec (30320): int32_t channel-count = 2 D/CCodec (30320): string mime = "audio/raw" D/CCodec (30320): int32_t sample-rate = 44100 D/CCodec (30320): } W/Codec2Client(30320): query -- param skipped: index = 1342179345. W/Codec2Client(30320): query -- param skipped: index = 2415921170. W/Codec2Client(30320): query -- param skipped: index = 1610614798. D/BufferPoolManager(30320): # of cleaned connections: 0 D/BufferPoolManager(30320): create new connection 130225144562368 D/CCodecBufferChannel(30320): [c2.android.aac.decoder#547] Created input block pool with allocatorID 16 => poolID 17 - OK (0) I/CCodecBufferChannel(30320): [c2.android.aac.decoder#547] Created output block pool with allocatorID 16 => poolID 358 - OK D/CCodecBufferChannel(30320): [c2.android.aac.decoder#547] Configured output block pool ids 358 => OK E/ion (30320): ioctl c0044901 failed with code -1: Not a typewriter D/BufferPoolManager(30320): client death recipient registered 130225144562369 D/BufferPoolManager(30320): register new connection 4640300566553 E/MediaCodecVideoRenderer(30320): Video codec error E/MediaCodecVideoRenderer(30320): java.lang.IllegalStateException E/MediaCodecVideoRenderer(30320): at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method) E/MediaCodecVideoRenderer(30320): at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:2789) E/MediaCodecVideoRenderer(30320): at androidx.media3.exoplayer.mediacodec.SynchronousMediaCodecAdapter.dequeueOutputBufferIndex(SynchronousMediaCodecAdapter.java:108) E/MediaCodecVideoRenderer(30320): at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.drainOutputBuffer(MediaCodecRenderer.java:1994) E/MediaCodecVideoRenderer(30320): at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:873) E/MediaCodecVideoRenderer(30320): at androidx.media3.exoplayer.video.MediaCodecVideoRenderer.render(MediaCodecVideoRenderer.java:1018) E/MediaCodecVideoRenderer(30320): at androidx.media3.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:1136) E/MediaCodecVideoRenderer(30320): at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:561) E/MediaCodecVideoRenderer(30320): at android.os.Handler.dispatchMessage(Handler.java:106) E/MediaCodecVideoRenderer(30320): at android.os.Looper.loop(Looper.java:219) E/MediaCodecVideoRenderer(30320): at android.os.HandlerThread.run(HandlerThread.java:67) E/ExoPlayerImplInternal(30320): Playback error E/ExoPlayerImplInternal(30320): androidx.media3.exoplayer.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/avc, avc1.640028, -1, null, [720, 1280, 29.998066, ColorInfo(Unset color space, Unset color range, Unset color transfer, false, 8bit Luma, 8bit Chroma)], [-1, -1]), format_supported=YES E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:640) E/ExoPlayerImplInternal(30320): at android.os.Handler.dispatchMessage(Handler.java:106) E/ExoPlayerImplInternal(30320): at android.os.Looper.loop(Looper.java:219) E/ExoPlayerImplInternal(30320): at android.os.HandlerThread.run(HandlerThread.java:67) E/ExoPlayerImplInternal(30320): Caused by: androidx.media3.exoplayer.video.MediaCodecVideoDecoderException: Decoder failed: OMX.hisi.video.decoder.avc E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.video.MediaCodecVideoRenderer.createDecoderException(MediaCodecVideoRenderer.java:1982) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:893) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.video.MediaCodecVideoRenderer.render(MediaCodecVideoRenderer.java:1018) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:1136) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:561) E/ExoPlayerImplInternal(30320): ... 3 more E/ExoPlayerImplInternal(30320): Caused by: java.lang.IllegalStateException E/ExoPlayerImplInternal(30320): at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method) E/ExoPlayerImplInternal(30320): at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:2789) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.mediacodec.SynchronousMediaCodecAdapter.dequeueOutputBufferIndex(SynchronousMediaCodecAdapter.java:108) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.drainOutputBuffer(MediaCodecRenderer.java:1994) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:873) E/ExoPlayerImplInternal(30320): ... 6 more E/ExoPlayerImplInternal(30320): Disable failed. E/ExoPlayerImplInternal(30320): java.lang.IllegalStateException E/ExoPlayerImplInternal(30320): at android.media.MediaCodec.native_flush(Native Method) E/ExoPlayerImplInternal(30320): at android.media.MediaCodec.flush(MediaCodec.java:2194) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.mediacodec.SynchronousMediaCodecAdapter.flush(SynchronousMediaCodecAdapter.java:168) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.flushCodec(MediaCodecRenderer.java:960) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.flushOrReleaseCodec(MediaCodecRenderer.java:953) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.onDisabled(MediaCodecRenderer.java:780) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.video.MediaCodecVideoRenderer.onDisabled(MediaCodecVideoRenderer.java:794) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.BaseRenderer.disable(BaseRenderer.java:220) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.ExoPlayerImplInternal.disableRenderer(ExoPlayerImplInternal.java:1846) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.ExoPlayerImplInternal.resetInternal(ExoPlayerImplInternal.java:1566) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.ExoPlayerImplInternal.stopInternal(ExoPlayerImplInternal.java:1523) E/ExoPlayerImplInternal(30320): at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:686) E/ExoPlayerImplInternal(30320): at android.os.Handler.dispatchMessage(Handler.java:106) E/ExoPlayerImplInternal(30320): at android.os.Looper.loop(Looper.java:219) E/ExoPlayerImplInternal(30320): at android.os.HandlerThread.run(HandlerThread.java:67) D/BufferPoolAccessor(30320): buffer invalidation added bp:0 1 D/BufferPoolAccessor(30320): buffer invalidation deleted bp:0