Skip to content
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

Feature request: animated AVIF #1226

Open
routehero opened this issue Nov 28, 2023 · 4 comments
Open

Feature request: animated AVIF #1226

routehero opened this issue Nov 28, 2023 · 4 comments

Comments

@routehero
Copy link

Animated WEBP is awesome!

It would also be awesome to have animated AVIF!

In specific, the automatic conversion of animated GIF to webp or avif.

@DarthSim
Copy link
Member

Hey @routehero!

It doesn't look like browsers have proper support for animated AVIFs nowadays. The only browser that properly plays AVIF animations is Safari. Chrome and Firefox seem to treat them like videos (which they honestly are) and play only a single loop.

@dbackeus
Copy link

dbackeus commented Feb 15, 2024

As of todays versions, both Chrome and Safari appear to be looping animated AVIF correctly, checked via the example on this site: https://codecalamity.com/animated-avif-is-finally-coming-to-firefox/

(note that it's no longer necessary to explicitly enable the animation support in Firefox as stated in the article)

@DarthSim
Copy link
Member

That's interesting. The samples from https://colinbendell.github.io/webperf/animated-gif-decode/avif.html are still played just once in Firefox and Chrome.

@dbackeus
Copy link

I believe it might be down to parameters used when encoding the image. Not my area of expertise but it's what I gather from eg. AOMediaCodec/libavif#1204

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants