Vanilagy/mediabunny
Pure TypeScript media toolkit for reading, writing, and converting video and audio files, directly in the browser. observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 99
- Release rhythm 87
- Longevity 52
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1
- age_days: 731
- days_rel: 7
- days_push: 7
- n_releases_24m: 162
Adoption not part of the score
7017 stars · 293 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Mediabunny is a pure TypeScript, zero-dependency library for reading, writing, and converting video and audio files (MP4, WebM, MP3, WAV, OGG, HLS) directly in the browser, built on the WebCodecs API. It provides lazy, frame-accurate reading, fine-grained muxing/demuxing control, and a high-level conversion API for transcoding, trimming, resizing, and more.
Use cases
- convert video files to mp4 or webm in the browser
- extract metadata like duration and resolution from a media file
- read individual video frames from an mp4 with frame-accurate timing
- trim or compress a video client-side without uploading to a server
- mux canvas recordings into a video file
- resize, crop, or rotate video in a web app
- resample or downmix audio tracks in the browser
- build a browser-based video editor
When to choose
- you need client-side media processing without a server or FFmpeg
- you want fine-grained control over muxing, demuxing, and track timing
- bundle size matters and you want tree-shakable, zero-dependency code
- you need to handle large files efficiently via lazy reading or streaming output
When to avoid
- you need server-side or native media processing outside the browser
- you require codecs or container formats not supported by WebCodecs
- you need a full-featured CLI like FFmpeg with its broad codec ecosystem
Facets
library · maturity active
video-processing audio-processing serialization media web-development browser cross-platform webcodecs muxing demuxing transcoding mp4 webm typescript zero-dependency tree-shakable ffmpeg-alternative video audio web-server nodejs
5 sources
- readme: https://github.com/Vanilagy/mediabunny · fetched 2026-08-28 · 3d9216cda1a3
- homepage: https://mediabunny.dev/ · fetched 2026-08-29 · df725eccc9df
- site_page: https://mediabunny.dev/guide/reading-media-files · fetched 2026-08-29 · a628c7653c7b
- site_page: https://mediabunny.dev/guide/writing-media-files · fetched 2026-08-29 · 28aab122e084
- site_page: https://mediabunny.dev/guide/converting-media-files · fetched 2026-08-29 · ad42565983d8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Vanilagy/mediabunny | main | 85 |
For agents
markdown · JSON · MCP: product_card(name="Vanilagy/mediabunny")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem