pub struct AacOptions {
pub profile: AacProfile,
pub vbr_quality: Option<u8>,
}Expand description
AAC per-codec options.
Fields§
§profile: AacProfileAAC encoding profile.
He and Hev2 typically require libfdk_aac (non-free). The built-in
FFmpeg aac encoder may not support them — the failure is logged as a
warning and encoding continues with the encoder’s default profile.
vbr_quality: Option<u8>VBR quality mode (1–5). Some(q) enables VBR; None uses CBR.
Only supported by libfdk_aac. The built-in aac encoder ignores this
option (logged as a warning). build() returns
EncodeError::InvalidOption if the
value is outside 1–5.
Trait Implementations§
Source§impl Clone for AacOptions
impl Clone for AacOptions
Source§fn clone(&self) -> AacOptions
fn clone(&self) -> AacOptions
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 AacOptions
impl Debug for AacOptions
Auto Trait Implementations§
impl Freeze for AacOptions
impl RefUnwindSafe for AacOptions
impl Send for AacOptions
impl Sync for AacOptions
impl Unpin for AacOptions
impl UnsafeUnpin for AacOptions
impl UnwindSafe for AacOptions
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