-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
crash in rav1e.dll #9869
Comments
Note that the popped-up error tells about an "unhandled exception" (cf. this message) so I was wondering if it could be related to the issue from last week: #9771 In other words, maybe just rebuilding whatever broken package (rav1e, libheif?…) now that you have a working gcc could fix it (I'm not sure I got what was the exact problem back a week ago though… Now every unhandled exception looks like it could be related! 😆)? |
Let's close here in MSYS2. Problem should be addressed in libheif (maybe next version) and in GIMP I implemented workaround to select AOM encoder. If some other project experience this crash too, libheif package can be rebuilt with |
This issues affects GIMP when saving some (not all) images in AVIF format.
https://gitlab.gnome.org/GNOME/gimp/-/issues/7397
GIMP uses
libheif
which prefer to userav1e
encoder to compress data with AV1 codec.The problem could be reproduced also without GIMP, by using
heif-enc.exe
frommingw64/mingw-w64-x86_64-libheif
package.testfile.zip
Similar command in my Linux doesn't crash (I have rav1e 0.4.1 + libheif 1.12.0).
I suspect the root of the problem could be somewhere in mingw64/mingw-w64-x86_64-rav1e package. Maybe rebuild with help?
On the other hand, saving AVIF via libavif (which can also optionally use rav1e), works. I tried following command:
avifenc.exe -j 4 -c rav1e -y 420 --min 25 --max 55 --maxalpha 30 -o output2.avif Avichan8bit.png
If it is not possible to resolve the problem quickly, there is possible temporary workaround to build libheif without rav1e (
-DWITH_RAV1E=OFF
). libheif will use alternative AV encoder libaom and the heif-enc.exe command will work without crashing.The text was updated successfully, but these errors were encountered: