News for hackers. Stuff that matters.
Re:GIFSane: GIF playback control using WASM and FFmpeg by DaleCurtis on Tuesday January 25, 2022 @10:42PM (#30081405)
Neat project! You could use WebCodec's ImageDecoder plus some custom controls to do this all in JavaScript without transcoding if you wanted. Otherwise you could use VideoEncoder and MSE for native video support.

https://developer.mozilla.org/en-US/docs/Web/API/WebCodecs_A... https://w3c.github.io/webcodecs/samples/ https://developer.mozilla.org/en-US/docs/Web/API/Media_Sourc...

Re:GIFSane: GIF playback control using WASM and FFmpeg by brunoluiz on Wednesday January 26, 2022 @05:06AM (#30083672)
That is interesting to be fair, I didn't know these APIs. Certainly something to have a look for either replacing WASM or for new projects.

I've considered using some JS libraries that are around for sometime (like https://github.com/buzzfeed/libgif-js), but the challenge of using WASM seemed more interesting in a hacking perspective let's say hehe.