pub enum VideoCodecOptions {
H264(H264Options),
H265(H265Options),
Av1(Av1Options),
Av1Svt(SvtAv1Options),
Vp9(Vp9Options),
ProRes(ProResOptions),
Dnxhd(DnxhdOptions),
}Expand description
Per-codec encoding options.
The variant must match the codec passed to
VideoEncoderBuilder::video_codec(). A mismatch is silently ignored
(the options are not applied).
All variants are fully implemented.
Variants§
H264(H264Options)
H.264 (AVC) encoding options.
H265(H265Options)
H.265 (HEVC) encoding options.
Av1(Av1Options)
AV1 (libaom-av1) encoding options.
Av1Svt(SvtAv1Options)
AV1 (SVT-AV1 / libsvtav1) encoding options.
Vp9(Vp9Options)
VP9 encoding options (reserved for a future issue).
ProRes(ProResOptions)
Apple ProRes encoding options (reserved for a future issue).
Dnxhd(DnxhdOptions)
Avid DNxHD / DNxHR encoding options (reserved for a future issue).
Trait Implementations§
Source§impl Clone for VideoCodecOptions
impl Clone for VideoCodecOptions
Source§fn clone(&self) -> VideoCodecOptions
fn clone(&self) -> VideoCodecOptions
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 moreAuto Trait Implementations§
impl Freeze for VideoCodecOptions
impl RefUnwindSafe for VideoCodecOptions
impl Send for VideoCodecOptions
impl Sync for VideoCodecOptions
impl Unpin for VideoCodecOptions
impl UnsafeUnpin for VideoCodecOptions
impl UnwindSafe for VideoCodecOptions
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