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
gpu-next: Unwatchable framerate when software decoding HEVC 10-bit video #855
Comments
I can reproduce and the lack of performance is easy to explain: mpv is converting the 10-bit YUV to 32-bit floating point RGB using unoptimized code paths (because nobody ever does this):
The mystery here is why mpv and/or gpu-next might be picking that format. |
@soredake in mpv.conf : vf=format=fmt=yuv420 |
Btw I tracked this down last week or so and the gist of this issue is that libplacebo uses/prefers slightly different texture formats for uploading on GLES than vo_gpu and in the end that means it doesn't find a "better" format than (emulated) 32-bit float rgb |
this is actually a missing feature in gpu-next/libplacebo and now tracked as mpv-player/mpv#13706 |
Important information
Android version: 11 (One UI 3.1)
mpv-android version: 2023-11-30-release / 8033 (release)
Description
My tablet does not support hardware decoding HEVC 10-bit so only software decoding is available for this kind of videos, and frame rate with software decoding is unwatchable, I get 0.7-0.8 fps.
Log output
mpv-android-framerate.log
Additional information
File that I played to test https://www.larmoire.info/jellyfish/media/jellyfish-3-mbps-hd-hevc-10bit.mkv
Enabling "Low-quality video decoding" does not help. Both VLC and MX Player have okay or good frame rate with hevc 10-bit.
The text was updated successfully, but these errors were encountered: