Closed Hatrian closed 10 months ago
Do you have rav1e
installed?
I just installed it (I think?) and still have the same issue.
Same problem on Void Linux; I manually compiled libavif and enabled rav1e (-DAVIF_CODEC_RAV1E). Newer versions of libavif seem to require a third parameter for the functions avifImageYUVToRGB(p1, p2, AVIF_YUV_TO_RGB_DEFAULT) (and vice versa) in kdynamicwallpaperreader/writer.cpp, relinked and kdynamicwallpaperbuilder worked as intended.
EDIT: The changes only applied to a development version and are not necessary as of now (V0.11)
Newer versions of libavif seem to require a third parameter for the functions avifImageYUVToRGB(p1, p2, AVIF_YUV_TO_RGB_DEFAULT)
Huh what version is that? On my machine with libavif 0.11, I see no such third parameter in avifImageYUVToRGB or avifImageRGBToYUV
Huh what version is that?
Apologies, seems like I was using a development version then. There were some API changes which have since been reverted. So it should theoretically work fine without any changes when manually compiling.
Phew! @Hatrian did you use development version too?
dup of #114
I'm trying to use kdynamicwallpaperbuilder to make my own dynamic wallpaper but when I run the command it tells me "Failed to encode [my image path]: No codec available". I'm assuming it's because my linux install (KDE Neon) doesn't support avif out of the box, but I'm not sure how to find/install a codec that would make this work.