// frontend · born 2020-11 · vCR 2023-02
WebCodecs Stack:Hardware-accelerated decode + re-encode + zero-drop export in the browser
The core pipeline behind /frame-count. Video file → mp4box.js demux → WebCodecs hardware decode into VideoFrame → OffscreenCanvas crop → VideoEncoder hardware re-encode → mp4-muxer writes back to .mp4. VFR / exotic codecs fall back to ffmpeg.wasm.
⏵