pub struct ExportPipelineConfig {Show 15 fields
pub output_path: String,
pub video_codec: VideoCodec,
pub audio_codec: AudioCodec,
pub width: u32,
pub height: u32,
pub frame_rate: f32,
pub video_bitrate_kbps: u32,
pub audio_bitrate_kbps: u32,
pub audio_sample_rate: u32,
pub start_frame: u32,
pub end_frame: u32,
pub include_alpha: bool,
pub hdr_enabled: bool,
pub color_space: String,
pub lut_path: Option<String>,
}Fields§
§output_path: String§video_codec: VideoCodec§audio_codec: AudioCodec§width: u32§height: u32§frame_rate: f32§video_bitrate_kbps: u32§audio_bitrate_kbps: u32§audio_sample_rate: u32§start_frame: u32§end_frame: u32§include_alpha: bool§hdr_enabled: bool§color_space: String§lut_path: Option<String>Implementations§
Source§impl ExportPipelineConfig
impl ExportPipelineConfig
pub fn web_preview() -> Self
pub fn broadcast_master() -> Self
pub fn total_frames(&self, fps: f32) -> u32
pub fn estimated_file_size_mb(&self, duration_s: f32) -> f32
Trait Implementations§
Source§impl Clone for ExportPipelineConfig
impl Clone for ExportPipelineConfig
Auto Trait Implementations§
impl Freeze for ExportPipelineConfig
impl RefUnwindSafe for ExportPipelineConfig
impl Send for ExportPipelineConfig
impl Sync for ExportPipelineConfig
impl Unpin for ExportPipelineConfig
impl UnsafeUnpin for ExportPipelineConfig
impl UnwindSafe for ExportPipelineConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.