Replies: 2 comments 1 reply
-
I don't think that it would be possible to write a plugin to uses the Microsoft HEVC Extension. I am not sure through which API this would be accessible. If you have any information about that, let me know. |
Beta Was this translation helpful? Give feedback.
-
The extension hooks into the WIC (Windows Imaging Component) infrastructure as a plugin, so it wouldn't be hugely difficult to implement, I think. There's even a code sample for a basic AVIF encode at https://learn.microsoft.com/en-us/windows/win32/wic/heif-codec . The main options are basically quality, colorspace, and color profile, not a whole lot of fanciness, lol. I'm not sure if 10-bit encoding is supported at all via the extension, I'll have to test that out, but WIC itself has all the colorspaces you could want. (Mapping them might be a pain, not sure.) The exception is I don't know and can't find whether HDR parameters can be directly set via WIC. You might have to drop down to Media Foundation for that, which is dramatically more complex and messier. |
Beta Was this translation helpful? Give feedback.
-
I want to say that I have already bought Microsoft's HEIF/HEVC Extension. Is it possible to use the Windows HEIF/HEVC codec for encoding?
Also, if possible, can I use the built-in Windows JPEG codec as well? Currently, I'm facing an issue with the JPEG library, as I don't know how to add openjpeg to the libheif codec.
Beta Was this translation helpful? Give feedback.
All reactions