pub struct Progress {
pub frame: i64,
pub fps: f64,
pub bitrate: f64,
pub speed: f64,
pub time: Duration,
}Expand description
Real-time encoding progress info parsed from FFmpeg.
Fields§
§frame: i64Number of frames encoded so far.
fps: f64Current encoding rate in frames per second.
bitrate: f64Current output bitrate in kbps.
speed: f64Encoding speed relative to real time (e.g. 2.5 means 2.5x).
time: DurationOutput timestamp reached so far.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Progress
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnsafeUnpin for Progress
impl UnwindSafe for Progress
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