[][src]Struct hl_capture::encode::EncoderParameters

pub struct EncoderParameters {
    pub audio_bitrate: usize,
    pub video_bitrate: usize,
    pub crf: String,
    pub filename: String,
    pub muxer_settings: String,
    pub pixel_format: Pixel,
    pub preset: String,
    pub time_base: Rational,
    pub audio_encoder_settings: String,
    pub video_encoder_settings: String,
    pub vpx_threads: String,
    pub video_resolution: (u32, u32),
}

Parameters for encoding and muxing.

Fields

audio_bitrate: usizevideo_bitrate: usizecrf: Stringfilename: Stringmuxer_settings: Stringpixel_format: Pixelpreset: Stringtime_base: Rationalaudio_encoder_settings: Stringvideo_encoder_settings: Stringvpx_threads: Stringvideo_resolution: (u32, u32)

Auto Trait Implementations

impl Unpin for EncoderParameters

impl Sync for EncoderParameters

impl Send for EncoderParameters

impl RefUnwindSafe for EncoderParameters

impl UnwindSafe for EncoderParameters

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]