[Media] I wrote a pure-Rust video codec that compiles to WASM, no FFI
![[Media] I wrote a pure-Rust video codec that compiles to WASM, no FFI](https://i.redd.it/98a6jipfqnog1.png)
Hi all, long time game engine nerd here. This time I wanted to give something back :) I needed video playback in a WASM game engine, every option required C FFI, so I wrote my own codec in pure Rust.
I'm actually pretty proud of this one. It beats MPEG-1 and MPEG-2 on quality, encodes faster than VP9, has a formally specified bitstream, and compiles to wasm32-unknown-unknown with zero native dependencies. All that in a
weekend-project-sized codebase.
Live demo: here
Code, Documentation and Benchmarks : here