pub struct EncodePlan {
pub input: PathBuf,
pub output: PathBuf,
pub summary: String,
pub expected_bytes: Option<u64>,
pub target_bytes: Option<u64>,
pub target_vmaf: Option<f64>,
pub source_duration_sec: f64,
pub source_width: Option<u32>,
pub source_height: Option<u32>,
pub source_fps: Option<f64>,
pub spec: EncodeSpec,
}Expand description
The encode plan — the result of Engine::plan. Usable for --dry-run.
Fields§
§input: PathBuf§output: PathBuf§summary: StringHuman-readable description of the plan (codec, bitrates, passes).
expected_bytes: Option<u64>Expected final size in bytes, if predictable.
target_bytes: Option<u64>The hard size cap, if any (drives the post-encode correction retry).
target_vmaf: Option<f64>Target VMAF for a CRF search, if requested (quality mode only).
source_duration_sec: f64Source duration in seconds (for progress reporting).
source_width: Option<u32>Source resolution and frame rate — the reference for VMAF measurement.
source_height: Option<u32>§source_fps: Option<f64>§spec: EncodeSpecTrait Implementations§
Source§impl Clone for EncodePlan
impl Clone for EncodePlan
Source§fn clone(&self) -> EncodePlan
fn clone(&self) -> EncodePlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EncodePlan
impl Debug for EncodePlan
Source§impl PartialEq for EncodePlan
impl PartialEq for EncodePlan
impl StructuralPartialEq for EncodePlan
Auto Trait Implementations§
impl Freeze for EncodePlan
impl RefUnwindSafe for EncodePlan
impl Send for EncodePlan
impl Sync for EncodePlan
impl Unpin for EncodePlan
impl UnsafeUnpin for EncodePlan
impl UnwindSafe for EncodePlan
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