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: u32
index of the current output frame
fps: f32
frames per second
q: f32
Quality factor (if applicable)
size_kb: u32
Current total size of the output in kilobytes
time: String
The raw time string in a format like 00:03:29.04
bitrate_kbps: f32
Bitrate in kilobits per second
speed: f32
Processing 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: String
The 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 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)