Skip to main content

Crate rff

Crate rff 

Source
Expand description

rff — the Remade FFmpeg (Rust) engine facade.

This is the crate you depend on to use the project as a library. It pulls the layered crates together:

  • re-exports the core vocabulary (core, codec, [format]),
  • builds an Engine with every built-in codec and container registered,
  • exposes the high-level transcode, probe and targets APIs that the CLI and the HTTP server are both thin wrappers over.

“API first”: the CLI (ffmpeg/ffprobe) and the server expose this API. There is no logic in those front-ends that isn’t reachable programmatically.

Re-exports§

pub use rff_codec as codec;
pub use rff_core as core;
pub use rff_format as format;

Modules§

probe
Media inspection — the engine side of ffprobe.
targets
Conversion targets — “what can this file be turned into?”
transcode
Transcoding — the engine side of ffmpeg.

Structs§

Engine
A fully-wired engine: every built-in codec and container, ready to use.

Constants§

VERSION
The crate version, surfaced in the CLI/server banners.