pub struct FramePipelineConfig {
pub input: PathBuf,
pub output: PathBuf,
pub video_codec: Option<String>,
pub audio_codec: Option<String>,
pub video_ops: Vec<VideoFrameOp>,
pub audio_ops: Vec<AudioFrameOp>,
pub hdr_mode: HdrPassthroughMode,
pub source_hdr: Option<HdrMetadata>,
pub hw_accel: bool,
pub threads: u32,
}Expand description
Configuration for a frame-level transcode pipeline.
Fields§
§input: PathBufInput file path.
output: PathBufOutput file path.
video_codec: Option<String>Target video codec identifier (e.g. "av1", "vp9").
None means stream-copy for video.
audio_codec: Option<String>Target audio codec identifier.
None means stream-copy for audio.
video_ops: Vec<VideoFrameOp>Video filter operations applied before encoding.
audio_ops: Vec<AudioFrameOp>Audio filter operations applied before encoding.
hdr_mode: HdrPassthroughModeHDR metadata handling mode.
source_hdr: Option<HdrMetadata>Optional source HDR metadata (from the demuxed stream header).
hw_accel: boolEnable hardware acceleration (hint; may be silently ignored).
threads: u32Number of encoding threads (0 = auto).
Implementations§
Trait Implementations§
Source§impl Clone for FramePipelineConfig
impl Clone for FramePipelineConfig
Source§fn clone(&self) -> FramePipelineConfig
fn clone(&self) -> FramePipelineConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for FramePipelineConfig
impl RefUnwindSafe for FramePipelineConfig
impl Send for FramePipelineConfig
impl Sync for FramePipelineConfig
impl Unpin for FramePipelineConfig
impl UnsafeUnpin for FramePipelineConfig
impl UnwindSafe for FramePipelineConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more