Can just use avif instead, it holds an AV1 stream and acts like gifs/images do WRT looping — also very broad support (more than AV1 in WebM containers).
Demonstration:
Edit: switched to an example with simpler decode requirements.
I checked that app’s source code, and basically they’re doing their own avif decode call instead of relying on a browser/webview to handle it. So essentially they forgot/don’t know/don’t intend to implement animated avif. Looks like they also use the aom reference decoder instead of using something faster like dav1d.
(on Arctic on ios) the uploaded image displays as a static image for me. Even clicking on it and waiting, it doesn’t seem to animate :T
Edit: I checked again through the Voyager app, and it did indeed load, though it took around 45-60 seconds* for it to get through the entire animation before it started looping again, albeit at the same speed as the first playthrough.
I chalked it up to the outdated hardware, as you mentioned in your reply. Cheers! :)
Apple has limited support for AV1 streams (yes, even for software decode) unless on very recent hardware.
Here’s an AV1 stream inside a webm container for comparison, would be interesting to see if that works over the avif container on your stack.
Ah yeah, that would explain it - my phone is now pretty outdated (I’m on a 12) - I clicked on the image link in your response but it didn’t load for me, unfortunately.
I’m not sure if that’s a result of my outdated hardware or if I perhaps clicked on it before it had a chance to process your upload, but you seem much more knowledgeable than I, so I’m going to assume it’s my hardware. I appreciate the response and the second attempt, though! :)
It’s an intentional behavior by Apple. Basically they just don’t support AV1 videostreams unless the hardware you’re using has a hardware decoder (read: very new). They could support it using software decode (what browsers typically do for AV1 inside avif containers) but… for whatever reasons don’t.
Please stop making gifs at all. It’s a terrible format that creates massive files that look like shit.
Webm is supported almost everywhere now and manages better quality at higher framerates and smaller file sizes.
Problem is the medium people use to send GIFs to each other doesn’t support any alternatives
Couldn’t APNG be considered?
Counterpoint: GIFs loop by default in basically every app, WEBM doesn’t
Can just use avif instead, it holds an AV1 stream and acts like gifs/images do WRT looping — also very broad support (more than AV1 in WebM containers).
Demonstration:
Edit: switched to an example with simpler decode requirements.
Let me know when I can text one of these to someone
an Osman classic
Works great as a static image. Would probably be better if it actually played…
It’s unfortunately not that simple. The AVIF doesn’t load at Jerboa, for example :/
Boost for Lemmy is not a fan.
That’s caused by bad regex in the app, it’s getting confused about domains.
e: fixed by using an aliased domain.
Your demonstration is a sluggishly loading static image on my end, so I guess support isnt that widespread :P
(Im using the app “Summit”)
I checked that app’s source code, and basically they’re doing their own avif decode call instead of relying on a browser/webview to handle it. So essentially they forgot/don’t know/don’t intend to implement animated avif. Looks like they also use the aom reference decoder instead of using something faster like dav1d.
Static image, Eternity.
Static image, also Summit.
(on Arctic on ios) the uploaded image displays as a static image for me. Even clicking on it and waiting, it doesn’t seem to animate :T
Edit: I checked again through the Voyager app, and it did indeed load, though it took around 45-60 seconds* for it to get through the entire animation before it started looping again, albeit at the same speed as the first playthrough.
I chalked it up to the outdated hardware, as you mentioned in your reply. Cheers! :)
Apple has limited support for AV1 streams (yes, even for software decode) unless on very recent hardware. Here’s an AV1 stream inside a webm container for comparison, would be interesting to see if that works over the avif container on your stack.
This doesn’t work for me but the original one you posted does (Voyager, iPhone 14 pro)
Very interesting, thank you!
Random Android phone on Voyager; yes.
Ah yeah, that would explain it - my phone is now pretty outdated (I’m on a 12) - I clicked on the image link in your response but it didn’t load for me, unfortunately.
I’m not sure if that’s a result of my outdated hardware or if I perhaps clicked on it before it had a chance to process your upload, but you seem much more knowledgeable than I, so I’m going to assume it’s my hardware. I appreciate the response and the second attempt, though! :)
It’s an intentional behavior by Apple. Basically they just don’t support AV1 videostreams unless the hardware you’re using has a hardware decoder (read: very new). They could support it using software decode (what browsers typically do for AV1 inside avif containers) but… for whatever reasons don’t.
Haha, ye$, for rea$on$, I’m $ure… :D
I’m not sure demand for AV1 is enough to ship units
Probably either laziness or they want to avoid software decoding in general for performance reasons
For the record, this is static in my Lemmy app (Summit).
Fwiw it works on the desktop’s alexandrite ui and on the thunder app
on boost its a little slow but time quality.
better than most moving images in comments!
I thought the file size was part of the format specification, no?
Yes? I don’t really understand the question.
Anybody who has compared animated WebM vs animated JPEG XL?