This forum has been archived. All content is frozen. Please use KDE Discuss instead.

AVIF and Krita_Nightly_Windows_Dependency_Build

Tags: None
(comma "," separated)
DanielN
Registered Member
Posts
2
Karma
0
Hello,
Krita_Nightly_Windows_Build uses output of Krita_Nightly_Windows_Dependency_Build, but the dependency build prints following message:
Code: Select all
[2021-11-02T13:05:10.026Z] CMake Warning at ext_heif/CMakeLists.txt:125 (message):
[2021-11-02T13:05:10.026Z]   Meson Build system was not found, see https://mesonbuild.com
[2021-11-02T13:05:10.026Z]
[2021-11-02T13:05:10.026Z]
[2021-11-02T13:05:10.026Z] CMake Warning at ext_heif/CMakeLists.txt:131 (message):
[2021-11-02T13:05:10.026Z]   Rust compiler was not found, see https://www.rust-lang.org/
[2021-11-02T13:05:10.026Z]
[2021-11-02T13:05:10.026Z]
[2021-11-02T13:05:10.026Z] CMake Warning at ext_heif/CMakeLists.txt:133 (message):
[2021-11-02T13:05:10.026Z]   Disabling AVIF support.


As a result, Windows Krita is unable to open or save AVIF files yet.
meson is needed to build dav1d, AV1 decoder used by libheif,
rust is needed for rav1e, AV1 encoder used by libheif.

Is it possible to add missing tools to the build system so that AVIF support will be enabled?

I understand that on Windows it is not so trivial like on Linux. If it is too inconvenient, I suggest alternative solution:

When meson, ninja and rustc are not found, there is an alternative how to keep AVIF support enabled.

libheif can use another optional dependency called libaom https://aomedia.googlesource.com/aom/+/refs/tags/v3.2.0 https://storage.googleapis.com/aom-releases/libaom-3.2.0.tar.gz, it builds easily via available cmake and nasm (no extra tools are required), libaom provides both AV1 decoder and encoder.

So dav1d+rav1e could be default/preferred configuration, but when some build dependencies are missing, libaom can be built instead.
It would be better then having no AVIF support at all in Windows build.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell