pub struct VideoRecorderConfig {
pub output_path: String,
pub encode: VideoEncodeConfig,
pub color_space: VideoColorMatrix,
pub full_range: bool,
pub audio: Option<AudioEncodeProfile>,
}Fields§
§output_path: StringContainer output path.
encode: VideoEncodeConfigHardware encode profile: codec, extent, rate control, and GOP cadence.
color_space: VideoColorMatrixInput RGBA→NV12 conversion matrix. Unspecified selects BT.709.
full_range: boolUse full (PC) component range instead of limited (TV) range.
audio: Option<AudioEncodeProfile>Optional interleaved F32 audio track encoded to PCM-S16.
Trait Implementations§
Source§impl Clone for VideoRecorderConfig
impl Clone for VideoRecorderConfig
Source§impl Debug for VideoRecorderConfig
impl Debug for VideoRecorderConfig
Auto Trait Implementations§
impl Forget for VideoRecorderConfig
impl Freeze for VideoRecorderConfig
impl Move for VideoRecorderConfig
impl RefUnwindSafe for VideoRecorderConfig
impl Send for VideoRecorderConfigwhere
RawVecInner: Send,
impl Sync for VideoRecorderConfigwhere
RawVecInner: Sync,
impl Unpin for VideoRecorderConfig
impl UnsafeUnpin for VideoRecorderConfig
impl UnwindSafe for VideoRecorderConfigwhere
RawVecInner: UnwindSafe,
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