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

Incorrect profile/level info reported in MediaCodecInfo #10345

Closed
1 task
Lunkers opened this issue Jun 16, 2022 · 0 comments
Closed
1 task

Incorrect profile/level info reported in MediaCodecInfo #10345

Lunkers opened this issue Jun 16, 2022 · 0 comments
Assignees

Comments

@Lunkers
Copy link

Lunkers commented Jun 16, 2022

ExoPlayer Version

Older (unsupported)

Devices that reproduce the issue

Pixel 1 running Android 10, running 2.12.3

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Not tested

Reproduction steps

Attempt to play the manifest linked below in exoplayer.

Expected result

The media plays successfully, i.e chooses the AVC variant

Actual result

The renderer crashes with a MediaCodecVideoDecoderException when attempting to play the HEVC variant.
After some internal searching, we've found that the profileLevels array generated by MediaCodecUtil.getDecoderInfos() includes the constant HEVCProfileMain10, even though the device does not support 10 bit HEVC as confirmed in #3537.

This seems to be a bug in the support check.

Media

Try playing the manifest given by: https://api.svt.se/ditto/api/v1/web?manifestUrl=https%3A%2F%2Fed11.cdn.svt.se%2Fd0%2Fworld%2F20220413%2Fa1417373-c21b-4a20-a609-eaac779ba590%2Fdash-full.mpd&excludeCodecs=hvc&excludeCodecs=ac-3

Note: you may need a VPN set to Sweden to access the content.

Bug Report

@tonihei tonihei self-assigned this Jun 17, 2022
rohitjoins pushed a commit to androidx/media that referenced this issue Jul 7, 2022
This profile is declared as supported although it isn't.

Issue: google/ExoPlayer#10345
Issue: google/ExoPlayer#3537

#minor-release

PiperOrigin-RevId: 459205512
rohitjoins pushed a commit that referenced this issue Jul 7, 2022
This profile is declared as supported although it isn't.

Issue: #10345
Issue: #3537

#minor-release

PiperOrigin-RevId: 459205512
rohitjoins pushed a commit that referenced this issue Jul 15, 2022
This profile is declared as supported although it isn't.

Issue: #10345
Issue: #3537

#minor-release

PiperOrigin-RevId: 459205512
(cherry picked from commit bf88f28)
rohitjoins pushed a commit to androidx/media that referenced this issue Jul 15, 2022
This profile is declared as supported although it isn't.

Issue: google/ExoPlayer#10345
Issue: google/ExoPlayer#3537

#minor-release

PiperOrigin-RevId: 459205512
(cherry picked from commit 656eaf7)
@tonihei tonihei closed this as completed Jul 25, 2022
@google google locked and limited conversation to collaborators Sep 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants