pub struct Config { /* private fields */ }Expand description
ffprobe configuration.
Use Config::new for constructing a new config.
Implementations§
Source§impl Config
impl Config
Sourcepub fn count_frames(self, count_frames: bool) -> Self
pub fn count_frames(self, count_frames: bool) -> Self
Enable the -count_frames setting.
Will fully decode the file and count the frames.
Frame count will be available in [Stream::nb_read_frames].
Sourcepub fn ffprobe_bin(self, ffprobe_bin: impl AsRef<Path>) -> Self
pub fn ffprobe_bin(self, ffprobe_bin: impl AsRef<Path>) -> Self
Specify which binary name (e.g. "ffprobe-6") or path (e.g. "/opt/bin/ffprobe") to use
for executing ffprobe.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more