Expand description
Utilities for locating FFmpeg binaries on the system
Functionsยง
- ffmpeg_
path - Returns the default path of the FFmpeg executable, to be used as the
argument to
Command::new
. It should first attempt to locate an FFmpeg binary adjacent to the Rust executable. If that fails, it should invokeffmpeg
expecting it to be in the system path. If that fails, an informative error message should be printed (not when this function is called, but when the command is actually run). - sidecar_
dir - By default, downloads all temporary files to the same directory as the Rust executable.
- sidecar_
path - The (expected) path to an FFmpeg binary adjacent to the Rust binary.