pub struct FfmpegPolicy {
pub enabled: bool,
pub binary: String,
pub max_frames: usize,
pub max_output_bytes: usize,
pub timeout_secs: u64,
}Expand description
2026-09-25: Operator policy for subprocess decoding. The serve builds it from
the --video-* flags.
Fields§
§enabled: bool§binary: String2026-09-25: Binary to run. A bare name is resolved on PATH; an absolute path is used as given.
max_frames: usize§max_output_bytes: usize§timeout_secs: u64Trait Implementations§
Source§impl Clone for FfmpegPolicy
impl Clone for FfmpegPolicy
Source§fn clone(&self) -> FfmpegPolicy
fn clone(&self) -> FfmpegPolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FfmpegPolicy
impl Debug for FfmpegPolicy
Auto Trait Implementations§
impl Freeze for FfmpegPolicy
impl RefUnwindSafe for FfmpegPolicy
impl Send for FfmpegPolicy
impl Sync for FfmpegPolicy
impl Unpin for FfmpegPolicy
impl UnwindSafe for FfmpegPolicy
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