The Bitstream·Vol.1·A Field Guide to MediabunnyGitHub

Everything you can buildwith media in the browser.

A complete media toolkit that runs entirely client-side. Convert, compress, record, edit, and stream — no server, no upload, and faster than ffmpeg.wasm. Here's everything it can do.

Fig. 01 — The moving image, on your device
Your DeviceRunning 00:00
Video
Audio
Subs
TrimResizeRotateStreamRecordRenderTransmux
Frames and sound, read and written — microsecond-accurate, nothing uploaded.
17 Live Demos·Nothing Uploaded·67× Faster Than ffmpeg.wasm·5KB Minified
Contents02

Seventeen things to try.

Each one runs live, in your browser, with the real code beside it.

Everyday — The Ones Everyone Has Needed05 →

01ConvertMP4 WEBM MP3Any file to any format. Drag, pick, download — nothing uploaded.
02CompressBITRATE SIZEComing soonShrink a video small enough for WhatsApp or email.
03InspectMETADATAComing soonDuration, codecs, bitrate, rotation, cover art — instantly, even on a 5 GB file.
04FramesTHUMBNAILSComing soonGenerate a contact sheet of thumbnails from any video.
05ExtractAUDIO MP3Coming soonRip the audio out of a video as MP3.
Better Than The Alternatives — The Competitive Moat05 →

06BenchmarkSPEED 67×Coming soonRace Mediabunny against ffmpeg.wasm, live. Watch the bars.
07BundleSIZEComing soonTree-shaking visualizer: from 5 KB to 70 KB on a slider.
08TransmuxNO RE-ENCODEComing soonRewrap MKV → MP4 losslessly and near-instantly — no re-encode.
09EditTRANSFORMComing soonTrim, resize, rotate, crop — a mini editor, all client-side.
10BatchPRIVACYComing soonConvert 20 files at once, download a zip. None uploaded.
Things A Browser Shouldn't Be Able To Do — The Jaw-Droppers07 →

11GeneratePROGRAMMATICComing soonRender frames from a canvas into a real, downloadable MP4.
12RecordREALTIMEComing soonWebcam, mic, or screen → a live MP4 stream as it records.
13HLSSTREAMINGComing soonRead and write HLS playlists — VOD and live — client-side.
14PlayerSEEKComing soonScrub a multi-GB file instantly, microsecond-accurate.
15WaveformANALYSISComing soonDecode audio, draw the wave, detect silence and loudness.
16AlphaVP9 ALPHAComing soonTransparent video (VP9 alpha) overlaid on a web page.
17ExtendADVANCEDComing soonCustom codecs + server-side parity (Node, Bun, Deno).

Every demo runs entirely in your browser. The real source sits beside each one — nothing is hidden behind a link.