3 ms·
So I guess, regarding a theoretical "everything in the browser" future, the swiss-army tools like VLC and ffmpeg would either have to pack their own performant
by ReactiveJelly 3y ago
So I guess, regarding a theoretical "everything in the browser" future, the swiss-army tools like VLC and ffmpeg would either have to pack their own performant codecs in wasm, or stay as desktop / CLI applications.
(Not that it would make any sense to implement ffmpeg on top of WebCodecs on top of ffmpeg. Just needed an example.)
I hope I have not completely missed the train by focusing on other areas outside of web.
- donatj 3y agoWASM ffmpeg already exists. It was GREAT before SPECTRE lead to massive restrictions in SharedArrayBuffer.
- ReactiveJelly 3y agoYeah, I figured. But last time I toyed with decoding audio in wasm, the speed was I think 5x worse. Not sure if it's cause SIMD was not implemented or what.
- thresh 3y agoVLC has a port to WebAssembly: https://code.videolan.org/jbk/vlc.js#vlcjs-vlc-for-wasmasmjs https://code.videolan.org/jbk/vlc.js#vlcjs-vlc-for-wasmasmjs (it's actually usable to some extent)