rff-cli
The command-line front-ends of remade_ffmpeg_rs — a ground-up,
permissively-licensed Rust rebuild of FFmpeg. Installs rff and rffprobe,
which speak the FFmpeg flags you already know.
- Familiar flags —
-i,-c:v,-c:a,-b:v,-b:a,-q:a,-crf,-f,-y/-n,-map,-vf,-filter_complex,-frames:v,-codecs,-formats. - Pure Rust on the default path — no C, no FFI, no copyleft. Apache-2.0.
- Optional drop-in names —
--features drop-in-namesadditionally installs executables namedffmpegandffprobe. Off by default, because installing them shadows a real FFmpeg on yourPATHand that should be your explicit choice. --features httpsaddshttps://streaming input on a pure-Rust rustls stack.- A thin shell over the
rffengine — anything the CLI does is available as a library call.
Install
# List what this build supports — just like FFmpeg:
# Inspect a file:
# Encode audio with an in-house, pure-Rust encoder:
# Transcode video:
Want the drop-in ffmpeg/ffprobe names so existing scripts work unchanged?
Build prerequisite —
nasm. The default build enablesh264-asm(rusty_h264's hand-written SIMD kernels), which assembles withnasm. Install it (winget install NASM/brew install nasm/apt install nasm), or use--no-default-featuresfor the pure-Rust scalar H.264 path.
Trademark. This is an independent, clean-room reimplementation, not
affiliated with, endorsed by, or derived from the source code of the FFmpeg
project. "FFmpeg" is a trademark of Fabrice Bellard. The optional
ffmpeg/ffprobe executable names exist solely for command-line compatibility;
the product is remade_ffmpeg_rs.
Part of Remade With Rust
This crate is one layer of
remade_ffmpeg_rs — a
ground-up, permissively-licensed Rust rebuild of FFmpeg: a drop-in
ffmpeg/ffprobe CLI on pure-Rust codecs, with no copyleft. Most users want
the remade-ffmpeg engine facade or the
rff-cli binaries rather than this crate
directly.
Also check out our sister project
FFAI — media for an AI-first
world — and the rest of
github.com/remade-with-rust, including
the standalone codec crates
rusty_h264,
rusty_vp9,
rusty_mp3,
rusty_aac,
rusty-opus,
rusty_vorbis, and the
rusty-av1-toolkit forks.
About Mata Network
Mata Network builds sovereign, self-hostable infrastructure. Remade With Rust is our open-source home for the permissively-licensed building blocks that work depends on.
License
Apache-2.0. See the workspace LICENSE.