pub struct EncoderBuilder {
pub codec_id: CodecId,
pub media_type: MediaType,
pub bit_rate: i64,
pub flags: CodecFlags,
pub time_base: Rational,
pub sample_rate: u32,
pub sample_format: SampleFormat,
pub channel_layout: ChannelLayout,
pub width: u32,
pub height: u32,
pub pixel_format: PixelFormat,
pub options: CodecOptions,
}Expand description
Builder for creating encoders.
Fields§
§codec_id: CodecId§media_type: MediaType§bit_rate: i64§flags: CodecFlags§time_base: Rational§sample_rate: u32§sample_format: SampleFormat§channel_layout: ChannelLayout§width: u32§height: u32§pixel_format: PixelFormat§options: CodecOptionsCodec-private options (string key-value pairs).
Implementations§
Auto Trait Implementations§
impl Freeze for EncoderBuilder
impl RefUnwindSafe for EncoderBuilder
impl Send for EncoderBuilder
impl Sync for EncoderBuilder
impl Unpin for EncoderBuilder
impl UnsafeUnpin for EncoderBuilder
impl UnwindSafe for EncoderBuilder
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