Development · Web app

Mediabunny

Fast, dependency-free JavaScript media toolkit for browser-based video and audio processing

Visit mediabunny.dev ↗

Mediabunny is a lightweight TypeScript library for reading, writing, and converting video and audio files directly in the browser. It leverages modern browser APIs like WebCodecs for hardware-accelerated processing, offering a native web alternative to heavy WebAssembly ports of FFmpeg.

What it's for

  • Transcode and resize video or audio files directly on the client side without backend servers
  • Extract precise metadata, video frames, or audio samples from local or remote media files
  • Generate custom MP4 or WebM video recordings from HTML canvas or audio buffers

Features

  • Zero-dependency, tree-shakable TypeScript library
  • Hardware-accelerated encoding and decoding via the browser WebCodecs API
  • Conversion API for transmuxing, transcoding, resizing, rotating, and trimming
  • Selective reading to inspect file metadata or samples without loading whole files
  • Universal I/O supporting Blobs, URLs, Streams, and in-memory buffers
  • Bidirectional support for common containers (MP4, WebM, WAV) and modern codecs

Pricing

Open source. Free (MPL-2.0)

Details

Type
Web app
Category
Development
Topic
Media Processing
Open source
Yes
Platforms
Web, Code library
For
Web developers building video editors, media tools, screen recorders, and creative web applications
Alternative to
ffmpeg.wasm, mp4box.js
Tags
video, audio, webcodecs, transcoding, typescript, browser

Why it was saved

  • @JNYBGR, 31 August 2025: Browser-based media processing without server-side FFmpeg — useful for video/audio conversion in web apps.

Related

  • @remotion/webcodecs

    In-browser video and audio conversion library powered by the WebCodecs API.

  • Remotion Convert

    In-browser video and audio conversion running locally without uploads

  • webcodecs-scroll-sync

    Synchronize video playback to page scroll using the WebCodecs API

  • cartesia-js

    Official JavaScript and TypeScript client library for Cartesia's text-to-speech API

  • agent-browser

    Browser automation CLI and engine purpose-built for AI agents

  • Starter.diy

    Full-stack SaaS starter with Next.js 15, Convex, and Clerk Billing

Updated