ĐứcVanilagy/mediabunny
Pure TypeScript media toolkit for reading, writing, and converting video and audio files, directly in the browser.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tuần
#1 Repository Của Tuần
#1 Repository Của Tuần
🎬 Browser-native media toolkit like FFmpeg
Read, write, and convert audio/video straight from JS/TS with no FFmpeg binary.
Mediabunny is a pure TypeScript library for reading, writing, and converting media like MP4, WebM, MP3, HLS directly in the browser. Built from scratch with zero dependencies, it aims to be a complete toolkit for high-performance media operations on the web and also runs in Node, Bun, and Deno via @mediabunny/server.
✨ Highlights
- Wide format support: Read and write MP4, MOV, WebM, MKV, HLS, WAVE, MP3, Ogg, ADTS, FLAC, MPEG-TS.
- Built-in encoding & decoding: Supports 25+ video, audio, and subtitle codecs, hardware-accelerated using the WebCodecs API.
- High precision: Fine-grained, microsecond-accurate reading and writing operations.
- Conversion API: Transmux, transcode, resize, rotate, crop, resample, trim, and more from one API.
- Streaming I/O: Handle files of any size with memory-efficient streaming.
- Cross-platform: Works in modern browsers and in Node, Bun, Deno with
@mediabunny/server. - Tree-shakable & zero deps: As small as 5 kB gzipped, only bundle what you use.
💡 Why it matters
Mediabunny brings low-level media muxing, demuxing, encoding, and decoding to the web without pulling FFmpeg or native binaries. By leaning on WebCodecs and streaming I/O, it keeps memory use tight while staying microsecond-precise. Its zero-dependency, tree-shakable design makes it fit for client-side apps that need to process media without server roundtrips.
#Media #WebCodecs #TypeScript #OpenSource #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
Pure Rust multimedia format demuxing, tag reading, and audio decoding library
Audio and video metadata parser and editor for Node.js and browsers. Read, write, and edit tags, artwork, and metadata. Extract technical format details and duration from files and streams.
Describe binary structures with full TypeScript support. Encode and decode into pure JavaScript objects.
利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.