-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video is not playing and giving error in the logcat - Video codec error android.media.MediaCodec$CodecException: Error 0x80000000 #1280
Comments
Hello @mallikarjunpatelsh, Thank you for reporting your issue! I see that in your report that you don't hit this issue if you play with the ExoPlayer demo app. I would just like to confirm if that is true? |
No @microkatz . These videos are not playing at demo app too. |
If you could attach or email the full bug report then that would be helpful. If you're unable to share [bug reports (https://developer.android.com/studio/debug/bug-report) publicly, please send them to [email protected] with the subject However, based on the small log snippet, it appears to be a decoder specific issue. I believe that the c2.mtk.avc.decoder is a hardware decoder. What may help is to implement a workaround to use a software decoder instead. Your choice as far as whether to restrict when playing certain content or just not use the c2.mtk.avc.decoder at all. An app can implement a workaround to remove the c2.mtk.avc.decoder as follows (bottom-up): The app should override MediaCodecVideoRenderer.getDecoderInfos() roughly as follows:
The app can inject the custom renderer by overriding DefaultRenderersFactory.buildVideoRenderers() |
Hi, @microkatz , this same problem also happened to me. I've send the bugreport in email just in case OP will not send bugreport. I tried your suggestion, removal of the HW decoder fixed it. However SW renderer will increase load on the device. |
Version
Media3 main branch
More version details
No response
Devices that reproduce the issue
facing this on Realme Narzo and Opposite
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
No
Reproduction steps
On selecting the video to play, Video is opened and starts loading and loader is shown and after sometime the control is coming to onPlayerError()
Expected result
Video should play
Actual result
Video is not playing instead getting error in logical and the error is
Media
Not applicable
Bug Report
adb bugreport
to [email protected] after filing this issue.The text was updated successfully, but these errors were encountered: