# Mediabunny

TypeScript library for reading, writing, and converting media files directly in the browser — like FFmpeg, but for the web. Zero dependencies, tree-shakable, and hardware-accelerated via the WebCodecs API.

**Type:** library
**Added:** 2026-05-25
**Author:** [Vanilagy](https://github.com/Vanilagy)
**Link:** https://mediabunny.dev/
**Topics:** Frontend, Dev Tools, Open Source
**Tags:** typescript, performance, cross-platform

---

Handles MP4, WebM, Matroska, MP3, WAV, and HLS containers across 25 codecs, with support for multiple video, audio, and subtitle tracks. Streams files of arbitrary size with microsecond-accurate precision, and uses a pipelined design for efficient hardware usage with automatic backpressure.

A modern alternative to server-side media pipelines — extract metadata, transcode, and mux/demux entirely client-side. Evolved from the author's earlier mp4-muxer and webm-muxer projects, with optional server-side processing through the @mediabunny/server extension.

---

## Links

- Directory entry: https://andrey-markin.com/directory/mediabunny
- All directory entries: https://andrey-markin.com/directory
- Contact: https://andrey-markin.com/#contact
