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
AVIF tests fail and AVIF support #764
Comments
Hmm, did you build a codec? If not, that should be reported; maybe it's
Well, libavif is only one part of the stack; the other are the codecs. Anyway, documenting it as experimental doesn't appear to be bad (although AVIF support is supposed to ship with PHP 8.1.0, so users may use it nonetheless). |
it will be hard for 8.1, we require 0.8.2 which is not available in most
distros.
I am not too confident with it right now, I see how to build all codecs but
almost none of them are easily available. what are your thoughts about it?
…On Mon, Sep 13, 2021, 4:48 PM Christoph M. Becker ***@***.***> wrote:
libavif 0.9.2 (git clone and install, no plugin)
Hmm, did you build a codec? If not, that should be reported; maybe it's GD
Warning: AVIF image support has been disabled. But we should make sure
there are no mem leaks/crashes in that case. Maybe it's helpful to see how libavif
is build for PHP for Windows
<https://github.com/winlibs/libavif/blob/master/.github/workflows/build.ps1>
.
Also as of now, I would like to mark it experimental, until libavif itself
is not stable as well.
Well, libavif is only one part of the stack; the other are the codecs.
Anyway, documenting it as experimental doesn't appear to be bad (although
AVIF support is supposed to ship with PHP 8.1.0, so users may use it
nonetheless).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#764 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACE6KEHYWB4TNV2VOL6JXDUBXCFRANCNFSM5D5LTAHQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Yeah, AVIF is bleeding edge, but some downstream projects are eager to use it (cc @andypost). Im fine with marking the support as experimental for now. |
Maybe it needs better processing when no codecs are available? |
Maybe support of libheif could help to get it for more platforms |
Hi Andy,
I added this point to the libavif PR and ticket. I am not familiar with it
and I am not sure about heif qbd avif.
I think both avif (with plugins, including heif) and heif support will take
off.
However we have to be careful on a few things.
They are both not stable, while libavif seems to be more actively
maintained. Heif has a few issues like mem leaks.
Distributions can't break bc (abi and api) in the same release (ie 20.04).
We need to care about this while bumping the minimal version required for
all libs.
And the other points I mentioned in the avif ticket, like how to move
forward with them :)
…On Mon, Sep 13, 2021, 6:37 PM Andy Postnikov ***@***.***> wrote:
Maybe support of libheif could help to get it for more platforms
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#764 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACE6KDZU62EVA7MSNR7ZSLUBXPA3ANCNFSM5D5LTAHQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Fix #764 prevent crash in test code when AVIF encode/decode fails, fix leaks in tests
I am not sure what happened but the tests leak below failed, leak or crash.
Would it be possible to clean that up? I am happy to help but so far my comments about AVIF support, what is it supposed to support, etc have no answer. I installed it from source to be able to test, current required version is not available in most distribution. I think it would be great to have actual documentation about it and what was planed to be added. What do you think?
Also as of now, I would like to mark it experimental, until libavif itself is not stable as well. Thoughts?
Using:
libavif 0.9.2 (git clone and install, no plugin)
The text was updated successfully, but these errors were encountered: