pub struct FfmpegProgress {
pub frame: u32,
pub fps: f32,
pub q: f32,
pub size_kb: u32,
pub time: String,
pub bitrate_kbps: f32,
pub speed: f32,
pub raw_log_message: String,
}Fields§
§frame: u32Index of the current output frame. Will be 0 for audio-only progress events.
fps: f32Frames per second. Will be 0 for audio-only progress events.
q: f32Quality factor (if applicable). Will be 0 for audio-only progress events.
size_kb: u32Current total size of the output in kilobytes
time: StringThe raw time string in a format like 00:03:29.04
bitrate_kbps: f32Bitrate in kilobits per second
speed: f32Processing speed as a ratio of the input duration
- 1x is realtime
- 2x means 2 seconds of input are processed in 1 second of wall clock time
raw_log_message: StringThe line that this progress was parsed from
Trait Implementations§
Source§impl Clone for FfmpegProgress
impl Clone for FfmpegProgress
Source§fn clone(&self) -> FfmpegProgress
fn clone(&self) -> FfmpegProgress
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 moreSource§impl Debug for FfmpegProgress
impl Debug for FfmpegProgress
Source§impl PartialEq for FfmpegProgress
impl PartialEq for FfmpegProgress
impl StructuralPartialEq for FfmpegProgress
Auto Trait Implementations§
impl Freeze for FfmpegProgress
impl RefUnwindSafe for FfmpegProgress
impl Send for FfmpegProgress
impl Sync for FfmpegProgress
impl Unpin for FfmpegProgress
impl UnwindSafe for FfmpegProgress
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