pub struct Mp4StreamStats {
pub video_samples: u32,
pub audio_frames: u32,
pub keyframes: u32,
pub media_bytes: u64,
pub video_duration_ticks: u64,
pub audio_duration_ticks: u64,
}Expand description
What an Mp4StreamWriter has written so far.
Fields§
§video_samples: u32Video samples written.
audio_frames: u32Audio frames written.
keyframes: u32Video samples marked as sync samples.
media_bytes: u64Bytes of sample data written (the mdat payload).
video_duration_ticks: u64Total video duration, in the video timescale.
audio_duration_ticks: u64Total audio duration, in samples.
Trait Implementations§
Source§impl Clone for Mp4StreamStats
impl Clone for Mp4StreamStats
impl Copy for Mp4StreamStats
Source§impl Debug for Mp4StreamStats
impl Debug for Mp4StreamStats
Source§impl Default for Mp4StreamStats
impl Default for Mp4StreamStats
impl Eq for Mp4StreamStats
Source§impl PartialEq for Mp4StreamStats
impl PartialEq for Mp4StreamStats
impl StructuralPartialEq for Mp4StreamStats
Auto Trait Implementations§
impl Forget for Mp4StreamStats
impl Freeze for Mp4StreamStats
impl Move for Mp4StreamStats
impl RefUnwindSafe for Mp4StreamStats
impl Send for Mp4StreamStats
impl Sync for Mp4StreamStats
impl Unpin for Mp4StreamStats
impl UnsafeUnpin for Mp4StreamStats
impl UnwindSafe for Mp4StreamStats
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> 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