pub enum FfmpegEvent {
Show 15 variants
ParsedVersion(FfmpegVersion),
ParsedConfiguration(FfmpegConfiguration),
ParsedStreamMapping(String),
ParsedInput(FfmpegInput),
ParsedOutput(FfmpegOutput),
ParsedInputStream(Stream),
ParsedOutputStream(Stream),
ParsedDuration(FfmpegDuration),
Log(LogLevel, String),
LogEOF,
Error(String),
Progress(FfmpegProgress),
OutputFrame(OutputVideoFrame),
OutputChunk(Vec<u8>),
Done,
}
Expand description
Any event that occurs during the execution of an FFmpeg command, including log messages, parsed metadata, progress updates, and output.
Variants§
ParsedVersion(FfmpegVersion)
ParsedConfiguration(FfmpegConfiguration)
ParsedStreamMapping(String)
ParsedInput(FfmpegInput)
ParsedOutput(FfmpegOutput)
ParsedInputStream(Stream)
ParsedOutputStream(Stream)
ParsedDuration(FfmpegDuration)
Log(LogLevel, String)
LogEOF
Error(String)
An error that didn’t originate from the ffmpeg logs
Progress(FfmpegProgress)
OutputFrame(OutputVideoFrame)
OutputChunk(Vec<u8>)
A chunk of data that may not correspond to a complete frame. For example, it may contain encoded h264. These chunks will need to be handled manually, or piped directly to another FFmpeg instance.
Done
Trait Implementations§
Source§impl Clone for FfmpegEvent
impl Clone for FfmpegEvent
Source§fn clone(&self) -> FfmpegEvent
fn clone(&self) -> FfmpegEvent
Returns a copy 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 moreSource§impl Debug for FfmpegEvent
impl Debug for FfmpegEvent
Source§impl PartialEq for FfmpegEvent
impl PartialEq for FfmpegEvent
impl StructuralPartialEq for FfmpegEvent
Auto Trait Implementations§
impl Freeze for FfmpegEvent
impl RefUnwindSafe for FfmpegEvent
impl Send for FfmpegEvent
impl Sync for FfmpegEvent
impl Unpin for FfmpegEvent
impl UnwindSafe for FfmpegEvent
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