PipePipe icon indicating copy to clipboard operation
PipePipe copied to clipboard

[Bug] Decoder initialization failed

Open Nightquaker opened this issue 5 months ago • 1 comments

Checklist

  • [x] I make sure that the issue is NOT a duplicate of pinned issues
  • [x] I make sure I am using the LATEST version - check here
  • [x] I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
  • [x] I have attached the error report in the issue

Describe the bug

Exception

  • User Action: play stream
  • Request: Player error[type=ERROR_CODE_DECODING_FAILED] occurred while playing https://www.youtube.com/watch?v=g4x49SI3mv4
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: YouTube (Anonymous)
  • Version: 5.2.0-beta3
  • OS: Linux Redmi/sweet_global2/sweet:13/TKQ1.221114.001/V816.0.32.0.THGMIXM:user/release-keys 13 - 33
Crash log

androidx.media3.exoplayer.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(248, null, video/webm, video/x-vnd.on2.vp9, vp9, 2515429, en, [1920, 1080, 30.0, ColorInfo(BT709, Limited range, SDR SMPTE 170M, false, NA, NA)], [-1, -1]), format_supported=YES
	at androidx.media3.exoplayer.BaseRenderer.createRendererException(r8-map-id-6d6a63ee6e399a39af59c5c80e7f2419b33efe47cf908cb623e65e05ad79531f:50)
	at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.render(r8-map-id-6d6a63ee6e399a39af59c5c80e7f2419b33efe47cf908cb623e65e05ad79531f:251)
	at androidx.media3.exoplayer.video.MediaCodecVideoRenderer.render(r8-map-id-6d6a63ee6e399a39af59c5c80e7f2419b33efe47cf908cb623e65e05ad79531f:20)
	at androidx.media3.exoplayer.ExoPlayerImplInternal.doSomeWork(r8-map-id-6d6a63ee6e399a39af59c5c80e7f2419b33efe47cf908cb623e65e05ad79531f:133)
	at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(r8-map-id-6d6a63ee6e399a39af59c5c80e7f2419b33efe47cf908cb623e65e05ad79531f:386)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loopOnce(Looper.java:211)
	at android.os.Looper.loop(Looper.java:300)
	at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: androidx.media3.exoplayer.video.MediaCodecVideoDecoderException: Decoder failed: OMX.qcom.video.decoder.vp9
	at androidx.media3.exoplayer.video.MediaCodecVideoRenderer.createDecoderException(r8-map-id-6d6a63ee6e399a39af59c5c80e7f2419b33efe47cf908cb623e65e05ad79531f:5)
	at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.render(r8-map-id-6d6a63ee6e399a39af59c5c80e7f2419b33efe47cf908cb623e65e05ad79531f:234)
	... 7 more
Caused by: java.lang.IllegalStateException
	at android.media.MediaCodec.native_queueInputBuffer(Native Method)
	at android.media.MediaCodec.queueInputBuffer(MediaCodec.java:2672)
	at org.schabi.newpipe.views.FocusOverlayView$1.handleMessage$androidx$media3$exoplayer$mediacodec$AsynchronousMediaCodecBufferEnqueuer$1(r8-map-id-6d6a63ee6e399a39af59c5c80e7f2419b33efe47cf908cb623e65e05ad79531f:158)
	at org.schabi.newpipe.views.FocusOverlayView$1.handleMessage(r8-map-id-6d6a63ee6e399a39af59c5c80e7f2419b33efe47cf908cb623e65e05ad79531f:41)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	... 3 more


Version

5.2.0-beta3

Frequency

Rarely (10-30% of the time)

Device

Redmi Note 12 Pro 4G, Android 13.

Steps to reproduce the bug

No response

Additional context

No response

Nightquaker avatar Jun 20 '26 19:06 Nightquaker

Please see https://priveetee.github.io/Docs-PipePipe/issues/android.html#mediacodec-and-video-surface-failures

InfinityLoop1308 avatar Aug 03 '26 07:08 InfinityLoop1308