-
Notifications
You must be signed in to change notification settings - Fork 169
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
AV1 media with 10 or 12 bit depth not playing in supposedly compatible hardware. #190
Comments
The linked Tears of Steal video is 8 bit. I confirm that decoding 10 or 12 bit videos don't work when using the bundled software decoder (Google's libgav1). However Android 10+ device can have (but do not have to) hardware decoder. If your device is Realme X2 Pro with Snapdragon 855+ then this is indeed weird. (My OnePlus 7 with Snapdragon 855 can play 10 bit AV1 just fine) |
Okay okay.
I am speculating it is somehow using the fallback sw decoder. Is there anyway I can get logs of some sort and give you so that you can look further into it? |
You can try this build which doesn't have the sw decoder: Just.Player.v0.64-without_av1_extension.apk |
God damn! |
Send me the output or a screenshot of the General tab from the app AIDA64 so I can blacklist it by the device model. |
Sure |
Ideally, the ExoPlayer detection should work and probably works on majority of devices. You could try replicating this issue in the ExoPlayer demo and reporting it directly to the developers but the inclusion of the AV1 extension requires few more steps and there's a chance that the issue will end up as "device bug". |
Okay |
This version include the said blacklisting: Just.Player.v0.64.apk |
Thank You for this! |
I can duplicate this issue with 10 bit AV1 samples from Netflix - 960x540 videos work while 1920x1080 videos use the sw fallback decoder (non functional with 10/12 bit depth). In my previous tests, I tried resolutions lower than full HD. I will try debugging that before reporting it to ExoPlayer. |
My phone with Snapdragon 855 reports support for AV1 only up to 1920x1072. This is probably also the reason why the playback is choppy (#191). Because of this, I won't use the blacklist and will keep updating the sw AV1 decoder in a hope that it will get better. |
Okay then let's see what the future holds |
Check the available AV1 decoder capabilities using Codec Info. Seems like the decoder is not HW accelerated, just like on any other Snapdragon SOCs (even 888 doesn't include AV1 decoding). Only the last generation of the top Exynos and Mediatek chips have HW AV1 decoders. The more I play with it the less I like how the fallback works so I'm going to ask ExoPlayer devs about that (ExoPlayer skips decoder because of a soft error while they try to use decoder which will fail with hard error). |
Just player / exoplayer is facing issues in rendering the playback of some AV1 media.
https://telegra.ph/file/5175f4a78077f082ab981.jpg
The above picture is the first picture my friend sent when I suggested the app.
I don't have access to the above media, so decided to try some other AV1 media I could find.
https://telegra.ph/file/d970bf9dfdacb795660cf.jpg
This is the first one that I found and faced almost the same error as my friend.
On clicking on details this is the output.
I thought av1 10bit is the issue of some sort.
Then I tried this which again is playing fine!
I'm pretty confused.
My device is RMX1931 running A11 which in my opinion has pretty much the ideal media playback hardware. So was hoping if you could look in to this.
Feel free to communicate over Telegram.
Nevertheless I gotta this media player is one of the best in the business.
Hoping to help in any way possible.
The text was updated successfully, but these errors were encountered: