react-compress-video
v1.0.2
Published
A React library to compress videos using FFmpeg
Maintainers
Readme
React Compress Video 🎬
React Compress Video is a lightweight and powerful React library for compressing video files directly in the browser using FFmpeg.wasm.
It automatically adapts to the user’s environment, providing a smooth out-of-the-box experience with optional high-performance multi-threading.
🌟 Features
- Compress video files in the browser (no server needed)
- Auto fallback to single-thread mode (prevents runtime errors)
- Optional multi-threaded compression for faster performance
- Real-time progress callback
- Customizable compression (resolution, CRF, preset, etc.)
- Works with CRA, Vite, Next.js
- Compatible with React 18+
⚡ Installation
npm install react-compress-video