News for hackers. Stuff that matters.
Re:It's time to replace GIFs with AV1 video by lohszvu on Thursday May 09, 2019 @06:06PM (#19872916)
Gif was killed a long time ago by webm
Re:It's time to replace GIFs with AV1 video by King-Aaron on Thursday May 09, 2019 @11:48PM (#19874891)
webm killed nothing.
Re:It's time to replace GIFs with AV1 video by asdff on Thursday May 09, 2019 @07:19PM (#19873473)
Last I checked my iPhone can't do webm or webp
Re:It's time to replace GIFs with AV1 video by clouddrover on Thursday May 09, 2019 @08:47PM (#19874033)
You can support a variety of formats in Safari using WebAssembly builds of the decoders. WebAssembly for audio and image formats is more than fast enough. It's even fast enough for VP9 video.

WebP demo: https://webmproject.github.io/libwebp-demo/webp_wasm/index.h...

Theora\VP8\VP9\Opus\Vorbis demo: https://brionv.com/misc/ogv.js/demo/

ogv.js on GitHub: https://github.com/brion/ogv.js

Re:It's time to replace GIFs with AV1 video by Spivak on Thursday May 09, 2019 @11:38PM (#19874855)
Is it really worth it to ship a decoder to every user of your site rather than encode it once on your server?

Don't get me wrong, it's a super cool demo but anyone who does this is prod is a little nuts. The exception being a service that's write once read maybe like CCTV cameras.

Re:It's time to replace GIFs with AV1 video by clouddrover on Friday May 10, 2019 @12:00AM (#19874935)
You still encode the file once on the server. The decoder just happens to be implemented in WebAssembly.

Wikipedia uses ogv.js. If you've ever played audio or video on Wikipedia in Safari then you've used ogv.js.

Some Bach on Wikipedia in Safari: https://en.wikipedia.org/wiki/File:Chromatic_Fantasia_(Bach_...

Re:It's time to replace GIFs with AV1 video by d0ugie on Friday May 10, 2019 @01:18AM (#19875260)
It's all gravy, the javascript WebP decoders, until you convert your 20K high res photo site to WebP, then not realizing for a week, scratching your head about the bounce rate spiking, that you're crashing browsers left and right...