this post was submitted on 11 Jul 2026
185 points (97.9% liked)

Technology

86608 readers
3141 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] Ilumar@lemmy.zip 55 points 2 weeks ago* (last edited 2 weeks ago) (12 children)

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.

[–] darkevilmac@lemmy.zip 45 points 2 weeks ago (1 children)

Counterpoint: GIFs loop by default in basically every app, WEBM doesn't

[–] Glitchvid@lemmy.world 22 points 2 weeks ago* (last edited 2 weeks ago) (19 children)

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:

Image

Edit: switched to an example with simpler decode requirements.

[–] toothbrush@lemmy.blahaj.zone 21 points 2 weeks ago (3 children)

Your demonstration is a sluggishly loading static image on my end, so I guess support isnt that widespread :P

(Im using the app "Summit")

[–] Glitchvid@lemmy.world 10 points 2 weeks ago* (last edited 2 weeks ago)

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, also Summit.

[–] iturnedintoanewt@lemmy.world 5 points 2 weeks ago

Static image, Eternity.

[–] username@piefed.zip 8 points 2 weeks ago (1 children)

Boost for Lemmy is not a fan.

load more comments (1 replies)
[–] Creat@discuss.tchncs.de 7 points 2 weeks ago

Works great as a static image. Would probably be better if it actually played...

[–] yetAnotherUser@lemmy.ca 6 points 2 weeks ago

It's unfortunately not that simple. The AVIF doesn't load at Jerboa, for example :/

[–] ink@sh.itjust.works 4 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

(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! :)

[–] Glitchvid@lemmy.world 7 points 2 weeks ago* (last edited 2 weeks ago) (3 children)

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.

Image

[–] boonhet@sopuli.xyz 2 points 2 weeks ago (1 children)

This doesn't work for me but the original one you posted does (Voyager, iPhone 14 pro)

load more comments (1 replies)
[–] ink@sh.itjust.works 2 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

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! :)

[–] Glitchvid@lemmy.world 2 points 2 weeks ago (3 children)

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. They could support it using software decode (what browsers typically do for AV1 inside avif containers) but.... for whatever reasons don't.

load more comments (3 replies)
load more comments (1 replies)
[–] CybranM@feddit.nu 3 points 1 week ago

Your example image doesn't work in boost while the gif above does :/

load more comments (13 replies)
[–] brucethemoose@lemmy.world 12 points 1 week ago* (last edited 1 week ago) (4 children)

I’ve honestly given up on support of new formats.

Here we are, 2026, and brand new software like Lemmy:

  • Doesn’t support AVIF

  • Doesn’t support JXL

  • Doesn’t support WebP

  • Won’t upload short, small videos either.

Meanwhile:

  • Many clients won’t play animated WebP

  • Most clients won’t play APNG

  • Many won’t load AVIF

  • Basically only Apple/Safari will load JXL

  • VP8/VP9/AV1 support in video isn’t universal

What am I supposed to do?

I used to send support requests over this, but I’ve given up. We are going to be stuck with SDR JPEGs and blocky GIFs forever, especially since media format literacy seems to be decreasing.

load more comments (4 replies)
[–] victorz@lemmy.world 7 points 2 weeks ago (7 children)

Webm is supported almost everywhere now and manages better quality at higher framerates and smaller file sizes.

Anybody who has compared animated WebM vs animated JPEG XL?

load more comments (7 replies)
[–] Zarobi@quokk.au 5 points 1 week ago* (last edited 1 week ago)

I used to love optimising images in gif format. I would make like 4–30kb memes and animations for my friends in Photoshop CS2. It's actually extremely efficient and lightweight if you do it right… You have cool tools like transparency between frames and unbroken colour blocks don't take any additional storage space. There's nothing wrong with gif.

The problem is how people use them. We take a live action video file and shove it through an automated converter tool that doesn't give a shit about efficiency and will do a complete repaint between frames and use 256+ colour palette. Then you end up with an ugly dithered overcooked piece of shit 50mb 10 second animation. Gif was not designed for this…

[–] NauticalNoodle@lemmy.ml 5 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

"...massive files..."

I thought the file size was part of the format specification, no?

[–] Ilumar@lemmy.zip 2 points 2 weeks ago

Yes? I don't really understand the question.

[–] EncryptKeeper@lemmy.world 4 points 1 week ago (2 children)

Problem is the medium people use to send GIFs to each other doesn’t support any alternatives

load more comments (2 replies)
load more comments (6 replies)
[–] TropicalDingdong@lemmy.world 49 points 2 weeks ago (1 children)
[–] Noja@sopuli.xyz 16 points 2 weeks ago

the same file without visual quality loss could be a 156.79 KiB webp file, saving energy, internet, and storage costs

[–] anguo@piefed.ca 38 points 1 week ago (1 children)

Most people do this:

ffmpeg -i video.mp4 output.gif

...no, most people have never heard of ffmpeg and throw it in an online converter.

[–] Jason2357@lemmy.ca 11 points 1 week ago (2 children)

Which are probably just web front ends to the above?

[–] anguo@piefed.ca 8 points 1 week ago

Definitely, but then it's on whoever made the web tool. Still not "most people".

load more comments (1 replies)
[–] DupaCycki@lemmy.world 18 points 2 weeks ago (1 children)

Thanks. This is going straight to my 'cool info to never be used' pile.

[–] username@piefed.zip 2 points 2 weeks ago

My folder like that is just named ★

[–] perishthethought@piefed.social 17 points 2 weeks ago (3 children)

I just tested this with a 8-second, 35MB mp4 video.

The "don't do this" command made a crappy looking 316MB gif.

The suggested pair of commands, using the palette file, made a 57MB very nice looking gif.

Seems legit to me but I'm not, as you say, an expert.

[–] eager_eagle@lemmy.world 8 points 2 weeks ago

that's still massive, an animated webm will probably be more useful

[–] tal@lemmy.today 2 points 2 weeks ago* (last edited 2 weeks ago)

I mean, it's still going to have the pants beaten off it by WebM or AVIF for anything originating from a video camera.

GIF was just never intended to be a video format. I have a hard time thinking of something where it's really competitive. Maybe if you had a recorded lossless video of a small-palette video game, like, NES era or earlier, then GIF might be a solid choice. I'd still think that APNG or MNG would probably outperform it.

GIF animations really only got a boost because there was a period of time when it was all that browsers could display.

EDIT: Also, if one is using GIF...I dunno if ffmpeg does this by default, but most video formats have I-frames and then frames that depend on those. When seeking, a player will seek to the nearest prior I-frame and then decode from there.

I don't believe that GIF 89a has a formal concept of I-frames, because the format was never intended for real video. But it is possible to create frames in a GIF 89a animation with transparent areas that don't differ from the prior frame, and this achieves some of the efficiency benefits that a video format would get. I know that there have been GIF 89a conpressors that will do this. The downside is that it kills seekability, since after a seek in a player thst just starts drawing from the current frame, you'll see only some of an image until the next time that a pixel in a frame is non-transparent and gets redrawn. But for applications where you don't care about seekability, that may help mitigate some of GIF's limitations for animations.

In all honesty, though, the right answer for video is almost always "use a newer format than GIF".

load more comments (1 replies)
[–] chunes@lemmy.world 11 points 2 weeks ago

Don't get mad at people for using logical command line switches.

Get mad at ffmpeg for trash defaults.

[–] IronKrill@lemmy.ca 9 points 1 week ago (1 children)

As much as everyone likes to trash on it, this is part of what webp is for. Animated, loopable images at super small sizes that display on just about anything that runs a browser.

load more comments (1 replies)
[–] yetAnotherUser@lemmy.ca 7 points 2 weeks ago (1 children)

I wish the article had examples. It would be cool.

[–] WolfLink@sh.itjust.works 5 points 2 weeks ago (1 children)

There is this older tutorial from 2015 that goes into more detail and includes examples.

load more comments (1 replies)
[–] etherphon@piefed.social 7 points 2 weeks ago

ffmpeg <3 good info here, also give Gifsicle a look if you need help getting your gifs smaller

[–] kmartburrito@lemmy.world 6 points 2 weeks ago
[–] PerfectDark@lemmy.world 4 points 2 weeks ago
[–] magnue@lemmy.world 4 points 2 weeks ago

I always liked to use Photoshop with the 'save for web (legacy)' export. Gives you a handy preview of how big it will be and lots of options.

[–] d00ery@lemmy.world 3 points 2 weeks ago

Really interesting and useful read, thanks.

[–] tonytins@pawb.social 3 points 2 weeks ago (1 children)

A lot of that is mostly the fault of the technology. But we still like it anyway.

[–] VibeSurgeon@piefed.social 6 points 2 weeks ago (1 children)

Gif is indeed a shit format for the purpose.

Video codecs are downright magical and everything down to your average toaster packs a hardware decoder for h264, so this is the bare minimum we should actually be using for this use-case.

[–] too_high_for_this@lemmy.world 2 points 2 weeks ago

I know that's hyperbole, but I'll be cold in the ground before a "smart" toaster is allowed in this house.

[–] TigerAce@lemmy.dbzer0.com 3 points 2 weeks ago
[–] diabetic_porcupine@lemmy.world 2 points 2 weeks ago

Nobody: zzzzz

Me reading about 256 bit color conversion at 3 am: 🤔🥱🤓🤷💀🐩

load more comments
view more: next ›