Skip to content
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

yuv420p10 pixel format decoding failed #87

Closed
YanceyChiew opened this issue Apr 8, 2021 · 5 comments
Closed

yuv420p10 pixel format decoding failed #87

YanceyChiew opened this issue Apr 8, 2021 · 5 comments

Comments

@YanceyChiew
Copy link

When playing a movie in yuv420p10 pixel format, an exception is thrown:

Decoder Failed: OMX.qcom.video.decoder.avc

image

There is some more detailed information below:

image

@moneytoo
Copy link
Owner

moneytoo commented Apr 8, 2021

Can you share a sample of the video file?

@YanceyChiew
Copy link
Author

Can you share a sample of the video file?

10bit_decoding_failed_example.mp4

This file is mentioned in the screenshot. The same exception is thrown when I play other yuv420p10 pixel format videos.

@YanceyChiew
Copy link
Author

YanceyChiew commented Apr 8, 2021

In addition, the yuv420p10 pixel format source under hevc encoding can be decoded normally, and the above problems should only occur on with the AVC decoder.

@moneytoo
Copy link
Owner

moneytoo commented Apr 8, 2021

Unfortunately the vast majority of Android devices don't handle 10 bit AVC. Android's MediaPlayer won't play that so neither ExoPlayer as it uses only platform decoders (at least for AVC).

@bbCLeon
Copy link

bbCLeon commented Jun 6, 2024

Can someone explain the following error message thrown?

com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(2, null, null, video/avc, avc1.640029, -1, null, [1080, 2400, 24.186872], [-1, -1]), format_supported=NO_EXCEEDS_CAPABILITIES

detailed:

Decoder init failed: c2.qti.avc.decoder,
Format(2, null, null, video/avc, avc1.640029, -1, null, [1080, 2400, 24.186872], [-1, -1])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants