pub struct SvtAv1Options {
pub preset: u8,
pub tile_rows: u8,
pub tile_cols: u8,
pub svtav1_params: Option<String>,
}Expand description
SVT-AV1 (libsvtav1) per-codec options.
Note: Requires an FFmpeg build with --enable-libsvtav1 (LGPL).
build() returns EncodeError::EncoderUnavailable
when libsvtav1 is absent from the FFmpeg build.
Fields§
§preset: u8Encoder preset: 0 = best quality / slowest, 13 = fastest / lowest quality.
tile_rows: u8Log2 number of tile rows (0–6).
tile_cols: u8Log2 number of tile columns (0–6).
svtav1_params: Option<String>Raw SVT-AV1 params string passed verbatim (e.g. "fast-decode=1:hdr=0").
None leaves the encoder default. Invalid values are logged as a warning
and skipped — build() never fails due to an unsupported parameter.
Trait Implementations§
Source§impl Clone for SvtAv1Options
impl Clone for SvtAv1Options
Source§fn clone(&self) -> SvtAv1Options
fn clone(&self) -> SvtAv1Options
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 SvtAv1Options
impl Debug for SvtAv1Options
Auto Trait Implementations§
impl Freeze for SvtAv1Options
impl RefUnwindSafe for SvtAv1Options
impl Send for SvtAv1Options
impl Sync for SvtAv1Options
impl Unpin for SvtAv1Options
impl UnsafeUnpin for SvtAv1Options
impl UnwindSafe for SvtAv1Options
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