-
Notifications
You must be signed in to change notification settings - Fork 33
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
Handling 10-bit HEVC/VP9/AV1 videos? #21
Comments
there's no plane to use rga now, it has too many limits and changes all the time, so i would rather try the gpu(mali ddk supports those formats). |
Either way is fine for me. Could you add support for |
i'll try to do it next week, maybe try to add rga(using legacy api) as well. |
btw, could you provide some sample videos for verifying? |
https://kodi.wiki/view/Samples#4K_(UltraHD)_Formats I don't know how rockchip handles HDR on Linux. So playing it without tonemapping may result in pale colors. AFAIK Chromium is able to handle this via GPU on some platforms. There is no such concern for 10-bit SDR videos. |
Some self-hosted media servers and Youtube/Bilibili can query 10-bit video decode support via
HTMLMediaElement: canPlayType()
reported by the browser and play 10-bit/HDR directly in Chromium.If I understand correctly, the current
libv4l-rkmpp
code base only handles 8-bit video. For 10-bit 4:2:0 videos, the MPP decodedNV15
memory will be displayed asNV12
(corrupted image for sure) sinceNV15
is a compact version ofP010
, which is not supported by EGL and Mesa.IMO the
NV15
can be converted toP010
with RGA3 before importing into EGL to avoid loss of precision resulting in color banding, or fallback to usingNV12
to ensure compatibility.So, are there any plans to improve support for 10-bit video (HEVC Main10, VP9 Profile 2 and AV1 Main)? Thanks in advance.
The text was updated successfully, but these errors were encountered: