-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
JPEG to AVIF conversion outputs black image #264
Comments
I should mention that HEIF output works fine. The issue happens only with AVIF. |
What is 'latest version' ? v1.7.0, top of 'master' branch, top of 'develop' branch? I see nothing special about that file. It encodes well for me. |
I used 1.7.0 of libheif. I also used 2.0.0 version of libaom. |
I am ready to provide any information you need. |
This is my output file. |
What is the reason for the padding at bottom? It's not there in original image.
My image viewer is Chrome 85 Bata which has added support for AVIF images in desktop version. |
Images like this open perfectly fine in Chrome 85 Beta: https://github.com/link-u/avif-sample-images/blob/master/kimono.avif |
The padding issue is a bug / missing features (see #232). We're working on it. |
Do you mean if I output height is multiple of 8, it will be resolved? |
Okay, that is correct. I cropped image 800x800 and then converted it. It shows perfectly fine in Chrome 85. I will be waiting for the bug fix. |
Thanks, it is good to know that the padding is the reason for this behavior. |
This issue is still not resolved. Please check the image produced by master branch. |
Hm, when I encode that image (input size 713x476) with current libheif (436d1c4), master branch, the image shows correctly in Chroma 85 beta (Linux). Image attached. |
I have checked with 0c49d5b and it seems to be working perfectly fine. |
Thanks for testing again. Can we close the issue? |
Yes, let's close it. Just one more suggestion. Libaom 2.0 also seems slow so I would appreciate if you write a detailed description on how to work with rav1e. |
Since there are no rav1e packages yet, you have to compile rav1e inside the source tree (see the README). Then, you have to use cmake for compilation, I have not integrated rav1e into the automake scripts yet (#266). |
Readme states that there is third-party folder but I don't see any. |
@adityapatadia Good point :-) I've just checked in the missing file... |
I have tried converting this image with following command
https://demo.gumlet.io/sea.jpeg
heif-enc sea.jpeg -A -o sea.avif
It gives black image output. I have compiled latest version of libheif along with 2.0 version of libaom.
The text was updated successfully, but these errors were encountered: