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

Kvazaar - 10 bit and 4:2:2 and 4:4:4 YUV sampling details #1384

Closed
PetrMinar opened this issue Nov 12, 2024 · 2 comments
Closed

Kvazaar - 10 bit and 4:2:2 and 4:4:4 YUV sampling details #1384

PetrMinar opened this issue Nov 12, 2024 · 2 comments

Comments

@PetrMinar
Copy link

Just a quick information that might be useful for anyone trying to use kvazaar encoder to write heif files:

  • 10 bit support is compile time option for the codec. Single binary cannot produce both 8bit and 10bit h265 bitstream.
  • kvazaar only supports 4:2:0 and 4:0:0 yuv samplings. When you try to configure and use the encoder to produce 4:2:2 / 4:4:4, it generates garbage. See link.

Hope this saves some time to anyone trying to make it run.

@farindk
Copy link
Contributor

farindk commented Nov 12, 2024

Thank you for the information. The above commit forces the colorspace to 4:2:0 when kvazaar is used.

@farindk
Copy link
Contributor

farindk commented Nov 19, 2024

libheif now checks whether the image bit depth matches the bit depth kvazaar was compiled for.

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

2 participants