4 ms·
Similar thing for h265: http://strukturag.github.io/libde265.js/ http://strukturag.github.io/libde265.js/ Code: https://github.com/strukturag/libde265.js https:
by farindk 7y ago
Similar thing for h265: http://strukturag.github.io/libde265.js/ http://strukturag.github.io/libde265.js/
Code: https://github.com/strukturag/libde265.js https://github.com/strukturag/libde265.js
Difference is that this is using emscripten to compile the native code to JS. That was 5 years ago. Today, we would use WASM, of course.
Runs surprisingly smooth, even though a native decoder is clearly superior. However, there are still nice uses, like adding support for HEIF to the browser:
https://strukturag.github.io/libheif/ https://strukturag.github.io/libheif/
Code:
https://github.com/strukturag/libheif https://github.com/strukturag/libheif
- K2L8M11N2 7y agoInteresting how the FPS keeps raising over time, possibly the browser progressively optimising code hotspots?