News for hackers. Stuff that matters.
Re:Serve Videos Instead of GIFs by jjcm on Saturday May 16, 2020 @10:25PM (#23208961)
I think there's a chance this can happen when AV1 starts to gain adoption. Webp had a chance - you can have well encoded, looping video in a .webp container that operates exactly like an image. The issue was lack of adoption - it never took hold due to Apple not adopting it in their ecosystem. AV1 has support from every major player in tech, and .avif images support gif functionality just fine.

Until that happens though, I just don't see .gifs ever losing traction. I still need to upload gifs to slack if I want autoplaying/looping behavior without user interaction, I still need to embed .gifs in my confluence pages, and when documenting user interactions in github readmes gifs are still king.

FWIW I've made a small user script for encoding gifs in a two pass approach (as most gif encoders I've seen do a pretty shit job). If anyone wants it here's the script: http://files.jjcm.org/gif.sh

(to use, just type `./gif.sh -s=SIZE -f=FPS input.mp4 output.gif`)

Re:Serve Videos Instead of GIFs by whywhywhywhy on Sunday May 17, 2020 @08:21AM (#23211454)
>The issue was lack of adoption - it never took hold due to Apple not adopting it in their ecosystem

It's not just Apple, webp files can't even be opened by Photoshop. You're basically making proprietary Chrome image files if you actually use that format.

Re:Serve Videos Instead of GIFs by ryukafalz on Sunday May 17, 2020 @01:17PM (#23213432)
Ehh... Firefox can open them just fine, as can GIMP, as can (apparently) my OS's image thumbnailer. (Though oddly enough not my OS's image viewer.) Support isn't universal, but it's certainly not a proprietary Chrome format.
Re:Serve Videos Instead of GIFs by whywhywhywhy on Monday May 18, 2020 @11:21AM (#23223445)
Almost every computing app in the world supports JPG,PNG and GIF. Together we could only name 3 apps that can open webp and only one of those is an editor.

Shaking my head as to why this format has any support at all.

Re:Serve Videos Instead of GIFs by Grue3 on Tuesday May 19, 2020 @09:41AM (#23234765)
GIMP is supported on every practically usable operating system and can edit animated webp just as well as gifs.
Re:Serve Videos Instead of GIFs by whywhywhywhy on Tuesday May 19, 2020 @10:41AM (#23235364)
Doesn't matter how many platforms it's on it's still one app.

Until webp works everywhere then the web shouldn't be polluted with this proprietary Google Chrome image format.

Re:Serve Videos Instead of GIFs by FalconSensei on Tuesday May 19, 2020 @09:55AM (#23234882)
But most people use photoshop already
Re:Serve Videos Instead of GIFs by Grue3 on Wednesday May 20, 2020 @08:17AM (#23245952)
Most people? Given how much it costs? I doubt it, or Adobe would be the company with the highest valuation in the world.
Re:Serve Videos Instead of GIFs by eitland on Sunday May 17, 2020 @01:01PM (#23213298)
Why is this?
Re:Serve Videos Instead of GIFs by IshKebab on Sunday May 17, 2020 @03:54AM (#23210459)
Yes I think the fact that GitHub doesn't support videos at all shows how far away a gif-free world is.
Re:Serve Videos Instead of GIFs by londons_explore on Sunday May 17, 2020 @07:25AM (#23211230)
AV1 (AVIF) is going to hit the same lack of adoption. Apple is already steaming ahead with HEIF files, while Google is stalling implementing them, and vice versa.
Re:Serve Videos Instead of GIFs by fomine3 on Sunday May 17, 2020 @08:47PM (#23217013)
It looks like WebP Animation only supports I-frame like GIF Animation. I-frame only video should not be efficient so not suitable for video, looks better to just use VP9. (maybe good for icons)
Re:Serve Videos Instead of GIFs by egfx on Tuesday May 19, 2020 @10:25AM (#23235190)
> I-frame like GIF Animation

What does that mean?

Re:Serve Videos Instead of GIFs by egfx on Tuesday May 19, 2020 @10:26AM (#23235211)
Actually webp is widely adopted but you may not know it. For example giphy.com encodes to webp but they’re renamed to .gif files.
Re:Serve Videos Instead of GIFs by blihp on Sunday May 17, 2020 @11:43AM (#23212722)
I suspect any future attempt/format may have a similar problem. Has anything changed re: Apple preferring to stick with MPEG LA endorsed formats?
Re:Serve Videos Instead of GIFs by garaetjjte on Sunday May 17, 2020 @02:37PM (#23214143)
>AV1

I often trip on that, was similarity with AVI accidental or intentional..?