Overview of ez-ffmpeg
mainez-ffmpeg
ez-ffmpeg provides a safe and ergonomic Rust interface for FFmpeg integration. It is designed to follow FFmpeg's original logic and parameter structures closely, making it easy to migrate CLI commands to Rust code.
Key Capabilities:
- Safe API: Exposes a safe public API while handling internal FFmpeg FFI with audited
unsafecode. - FFmpeg Parity: The transcoding pipeline is ported from FFmpeg's
fftools/ffmpegsources, maintaining the same stage semantics and function names. - Advanced Features: Supports custom Rust filters, GPU-accelerated filters (via
wgpu), an embedded RTMP server, and typed detection APIs (e.g., black, silence, scene, loudness, and crop detection). - Recipes: Includes one-shot recipes for common tasks like generating thumbnails, GIFs, and HLS, as well as an HDR-to-SDR tone-mapping cookbook.