Re:QOI – The “Quite OK Image Format” for fast, lossless imag...
by ReactiveJelly on Thursday December 23, 2021 @03:49PM
(#29666293)
It's always gonna be chicken-and-egg for this, and browsers won't spend the time sandboxing and supporting a codec until it's already popular.
So this will probably see a JS / Webasm shim, and if that proves popular, Blink and Gecko will consider it.
The day might come soon when browsers just greenlight a webasm interface for codecs. "We'll put packets in through this function, and take frames out through this function, like ffmpeg. Other than that, you're running in a sandbox with X MB of RAM, Y seconds of CPU per frame, and no I/O. Anything you can accomplish within that, with user opt-in, is valid."
So this will probably see a JS / Webasm shim, and if that proves popular, Blink and Gecko will consider it.
The day might come soon when browsers just greenlight a webasm interface for codecs. "We'll put packets in through this function, and take frames out through this function, like ffmpeg. Other than that, you're running in a sandbox with X MB of RAM, Y seconds of CPU per frame, and no I/O. Anything you can accomplish within that, with user opt-in, is valid."