pub struct VideoEncoderBuilder(/* private fields */);
Implementations§
Source§impl VideoEncoderBuilder
impl VideoEncoderBuilder
pub fn dimentions(self, width: i32, height: i32) -> Self
pub fn frame_rate(self, frame_rate: i32) -> Self
pub fn sample_aspect_ratio(self, sample_aspect_ratio: AVRational) -> Self
pub fn gop_size(self, gop_size: i32) -> Self
pub fn qmax(self, qmax: i32) -> Self
pub fn qmin(self, qmin: i32) -> Self
pub fn pixel_format(self, pixel_format: AVPixelFormat) -> Self
pub fn thread_count(self, thread_count: i32) -> Self
pub fn thread_type(self, thread_type: i32) -> Self
pub fn bitrate(self, bitrate: i64) -> Self
pub fn rc_min_rate(self, rc_min_rate: i64) -> Self
pub fn rc_max_rate(self, rc_max_rate: i64) -> Self
pub fn rc_buffer_size(self, rc_buffer_size: i32) -> Self
pub fn max_b_frames(self, max_b_frames: i32) -> Self
pub fn codec_specific_options(self, codec_specific_options: Dictionary) -> Self
pub fn flags(self, flags: i32) -> Self
pub fn flags2(self, flags2: i32) -> Self
pub fn build(self) -> VideoEncoderSettings
Trait Implementations§
Source§impl Clone for VideoEncoderBuilder
impl Clone for VideoEncoderBuilder
Source§fn clone(&self) -> VideoEncoderBuilder
fn clone(&self) -> VideoEncoderBuilder
Returns a copy 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 VideoEncoderBuilder
impl Debug for VideoEncoderBuilder
Source§impl Default for VideoEncoderBuilder
impl Default for VideoEncoderBuilder
Source§fn default() -> VideoEncoderBuilder
fn default() -> VideoEncoderBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VideoEncoderBuilder
impl RefUnwindSafe for VideoEncoderBuilder
impl Send for VideoEncoderBuilder
impl !Sync for VideoEncoderBuilder
impl Unpin for VideoEncoderBuilder
impl UnwindSafe for VideoEncoderBuilder
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