pub struct H265Options {
pub profile: H265Profile,
pub tier: H265Tier,
pub level: Option<u32>,
pub preset: Option<String>,
pub x265_params: Option<String>,
}Expand description
H.265 (HEVC) per-codec options.
Fields§
§profile: H265ProfileEncoding profile.
tier: H265TierEncoding tier.
level: Option<u32>Encoding level as an integer (e.g. 31 = 3.1, 51 = 5.1).
None leaves the encoder default.
preset: Option<String>libx265 encoding speed/quality preset (e.g. "ultrafast", "medium", "slow").
None leaves the encoder default. Invalid or unsupported values are logged as a
warning and skipped — build() never fails due to an unsupported preset.
Hardware HEVC encoders (hevc_nvenc, etc.) ignore this option.
x265_params: Option<String>Raw x265-params string passed verbatim to libx265 (e.g. "ctu=32:ref=4").
Note: H.265 encoding requires an FFmpeg build with --enable-libx265.
An invalid parameter string is logged as a warning and skipped. It never causes
build() to return an error.
Trait Implementations§
Source§impl Clone for H265Options
impl Clone for H265Options
Source§fn clone(&self) -> H265Options
fn clone(&self) -> H265Options
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 H265Options
impl Debug for H265Options
Auto Trait Implementations§
impl Freeze for H265Options
impl RefUnwindSafe for H265Options
impl Send for H265Options
impl Sync for H265Options
impl Unpin for H265Options
impl UnsafeUnpin for H265Options
impl UnwindSafe for H265Options
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