Expand description
Discovery of the external ffmpeg/ffprobe binaries.
Search order (see docs/PRD/03-tech-stack.md):
- Explicit path from an env var (
DEEPSHRINK_FFMPEG/DEEPSHRINK_FFPROBE). - A binary in
PATH. - (later) a bundled binary next to the app — for the desktop layer.
If not found, FfmpegError::NotFound; the CLI maps this to exit code 3
with an install hint. ffprobe/progress parsing arrives in sessions 002/003.
Re-exports§
pub use probe::probe;pub use probe::Ffprobe;pub use run::run_pass;pub use vmaf::has_libvmaf;pub use vmaf::measure_vmaf;
Modules§
- probe
- Run
ffprobeand parse its JSON output. - progress
- Parse ffmpeg’s
-progress pipe:1key=value stream. - run
- Run a single ffmpeg pass, streaming progress and surfacing failures.
- vmaf
- VMAF quality measurement via ffmpeg’s
libvmaffilter.
Structs§
- Tools
- The located binaries.
Enums§
- Ffmpeg
Error - Errors from the ffmpeg layer.
Functions§
- locate
- Locate
ffmpegandffprobe. Returns the first missing tool as an error. - locate_
one - Locate a single tool: first via its env var, then in
PATH.