Mediabunny is a pure TypeScript media toolkit for reading, writing, and converting video and audio files directly in the browser.
The tool solves the problem of performing media operations on the web without requiring server-side processing or external dependencies. It handles demuxing and muxing of formats including MP4, WebM, MP3, OGG, WAV, and HLS, leveraging the browser's WebCodecs API where available. Built entirely from scratch in TypeScript with zero dependencies, it prioritizes performance and tree-shakeability so applications only bundle the functionality they actually use.
Developers should choose this tool when building browser-based media applications that need to avoid server round-trips for encoding, decoding, or format conversion. It suits projects where keeping media processing on the client side reduces latency and server load. The README positions it conceptually as FFmpeg reimagined for the web, though it does not make direct feature-by-feature comparisons to other libraries.
The project maintains active engagement with its community through a Discord channel and accepts sponsorship. Documentation and examples are published alongside the core library to support adoption.