oa::video::VideoMuxerConfig

Configuration for one streaming MP4 muxer.

StRust public API

Declaration

pub struct VideoMuxerConfig { pub codec: VideoCodec, pub width: u32, pub height: u32, pub frame_rate: u32, pub time_base: VideoTimeBase, pub audio: Option<VideoMuxerAudioConfig>, }
Public Rust declaration.

Public Methods

fn clone(&self) -> VideoMuxerConfig
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &VideoMuxerConfig) -> bool

Associated Functions

pub fn new(codec: VideoCodec, width: u32, height: u32) -> Result<Self>

Public Data Members

codecVideoCodecfield
widthu32field
heightu32field
frame_rateu32field
time_baseVideoTimeBasefield
audioOption<VideoMuxerAudioConfig>field

Public Method Documentation

fn clone( &self ) -> VideoMuxerConfig
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &VideoMuxerConfig ) -> bool
No public source comment is attached to this declaration.
pub fn new( codec: VideoCodec, width: u32, height: u32 ) -> Result<Self>
No public source comment is attached to this declaration.