Open mostafaashraf92 opened 1 year ago
And here are more logs 06-14 01:01:06.183 814 880 I SprdVideoDecoderOMXComponent: getExtensionIndex, name: OMX.google.android.index.AndroidNativeBufferConsumerUsage 06-14 01:01:06.183 814 880 I SprdVideoDecoderOMXComponent: getExtensionIndex, name: OMX.google.android.index.getAndroidNativeBufferUsage 06-14 01:01:06.183 814 880 I SPRDAVCDecoder: internalGetParameter, OMX_IndexGetAndroidNativeBufferUsage 0x33 06-14 01:01:06.183 14447 25666 D SurfaceUtils: disconnecting from surface 0xb400007afbe59010, reason setNativeWindowSizeFormatAndUsage 06-14 01:01:06.183 14447 25666 E Surface : freeAllBuffers: 3 buffers were freed while being dequeued! 06-14 01:01:06.183 14447 25666 E BufferQueueProducer: SurfaceView[com.dott.android/com.dott.android.MainActivity]@0#53(BLAST Consumer)53 disconnect: not connected (req=3) 06-14 01:01:06.183 14447 25666 E SurfaceUtils: Failed to disconnect from surface 0xb400007afbe59010, err -19 06-14 01:01:06.183 14447 25666 E SurfaceUtils: nativeWindowDisconnect failed: No such device (19) 06-14 01:01:06.183 14447 25666 E ACodec : Failed to allocate output port buffers after port reconfiguration: (-19) 06-14 01:01:06.184 14447 25666 E ACodec : signalError(omxError 0x80001001, internalError -19) 06-14 01:01:06.184 14447 25666 E ACodec : Error occurred while disabling the output port 06-14 01:01:06.184 14447 25665 E MediaCodec: Codec reported err 0xffffffed/NO_INIT, actionCode 0, while in state 0/UNINITIALIZED 06-14 01:01:06.184 14447 25644 E ExoPlayerImplInternal: Playback error 06-14 01:01:06.184 14447 25644 E ExoPlayerImplInternal: com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(18, null, null, video/avc, avc1.64001E, 1340651, null, [768, 432, 24.0], [-1, -1]), format_supported=YES 06-14 01:01:06.184 14447 25644 E ExoPlayerImplInternal: at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:571) 06-14 01:01:06.184 14447 25644 E ExoPlayerImplInternal: at android.os.Handler.dispatchMessage(Handler.java:102) 06-14 01:01:06.184 14447 25644 E ExoPlayerImplInternal: at android.os.Looper.loopOnce(Looper.java:226) 06-14 01:01:06.184 14447 25644 E ExoPlayerImplInternal: at android.os.Looper.loop(Looper.java:313) 06-14 01:01:06.184 14447 25644 E ExoPlayerImplInternal: at android.os.HandlerThread.run(HandlerThread.java:67) 06-14 01:01:06.184 14447 25644 E ExoPlayerImplInternal: Caused by: com.google.android.exoplayer2.video.MediaCodecVideoDecoderException: Decoder failed: OMX.sprd.h264.decoder 06-14 01:01:06.184 14447 25644 E ExoPlayerImplInternal: at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.createDecoderException(MediaCodecVideoRenderer.java:1629) 06-14 01:01:06.184 14447 25644 E ExoPlayerImplInternal: at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:813) 06-14 01:01:06.184 14447 25644 E ExoPlayerImplInternal: at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:994) 06-14 01:01:06.184 14447 25644 E ExoPlayerImplInternal: at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:495) 06-14 01:01:06.184 14447 25644 E ExoPlayerImplInternal: ... 4 more 06-14 01:01:06.184 14447 25644 E ExoPlayerImplInternal: Caused by: android.media.MediaCodec$CodecException: Error 0xffffff92 06-14 01:01:06.188 688 731 I gralloc4: unregister: id=27c0000400c, handle:0xb4000071ad2f8300, vaddr=0x7188a3a000 06-14 01:01:06.188 14447 25644 E ExoPlayerImplInternal: Disable failed. 06-14 01:01:06.188 14447 25644 E ExoPlayerImplInternal: java.lang.IllegalStateException 06-14 01:01:06.188 14447 25644 E ExoPlayerImplInternal: at android.media.MediaCodec.native_flush(Native Method) 06-14 01:01:06.188 14447 25644 E ExoPlayerImplInternal: at android.media.MediaCodec.flush(MediaCodec.java:2388) 06-14 01:01:06.188 14447 25644 E ExoPlayerImplInternal: at com.google.android.exoplayer2.mediacodec.AsynchronousMediaCodecAdapter.flush(AsynchronousMediaCodecAdapter.java:228) 06-14 01:01:06.188 14447 25644 E ExoPlayerImplInternal: at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.flushCodec(MediaCodecRenderer.java:877) 06-14 01:01:06.188 14447 25644 E ExoPlayerImplInternal: at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.flushOrReleaseCodec(MediaCodecRenderer.java:870) 06-14 01:01:06.188 14447 25644 E ExoPlayerImplInternal: at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.onDisabled(MediaCodecRenderer.java:710) 06-14 01:01:06.188 14447 25644 E ExoPlayerImplInternal: at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.onDisabled(MediaCodecVideoRenderer.java:60
Please provide complete information as requested in the issue template. The issue template can be found here. If you're unable to share bug reports or test content publicly, please send them to dev.exoplayer@gmail.com using a subject in the format "Issue #1234", where "#1234" should be replaced with your issue number. Please also update this issue to indicate you’ve done this.
Looks like a codec problem on a device. We'd need content and a bug report to make this actionable I think. Even then, it will probably be difficult to repro unless you give us some repro steps. It looks like this happens on disable
, is this always the case? What was working happening on the device before this occured?
06-14 01:01:06.188 14447 25644 E ExoPlayerImplInternal: Disable failed.
getting similar error on Xiaomi POCO F1
com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/avc, avc1.640034, -1, null, [2160, 4096, 25.0], [-1, -1]), format_supported=YES
Also getting similar error. I wrote a Flutter App for Android and iOS. Error occurs to more than 96% on Android 10 video_player: 2.8.1
ExoPlaybackException MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/avc, avc1.4D4029, -1, null, [1080, 1920, 25.0], [-1, -1]), format_supported=YES Wxc PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/avc, avc1.4D4029, -1, null, [1080, 1920, 25.0], [-1, -1]), format_supported=YES, null, null)
Did somebody solve this problem cause i have this too(
I have this error on Android 10 [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/avc, avc1.4D4029, -1, null, [1920, 1080, 25.0], [-1, -1]), format_supported=YES, null, null)
any updates, I'm facing same issue
We have the exact same issue.
same here
Bug
I am trying to play HLS content and it plays as expected, but sometimes i get this error and playback continues though. HLS MediaCodecVideoRenderer error, index=0, format=Format(18, null, null, video/avc, avc1.64001E, 1340651, null, [768, 432, 24.0], [-1, -1]), format_supported=YES.
Here is the logs for the playback error
Exoplayer version 2.18.2 . Knowing that i verified that i release the exoplayer instance as expected by the end of every playback session. And no retained instance. Knowing that this issue happens in the middle of playback as well