Struct ffmpeg_sidecar::event::AVStream
source · pub struct AVStream {
pub stream_type: String,
pub format: String,
pub pix_fmt: String,
pub width: u32,
pub height: u32,
pub fps: f32,
pub parent_index: usize,
pub raw_log_message: String,
}Fields§
§stream_type: StringTypically video or audio, but might be something else like data or subtitle.
format: StringCorresponds to stream -f parameter, e.g. rawvideo, h264, or mpegts
pix_fmt: StringCorresponds to stream -pix_fmt parameter, e.g. rgb24
width: u32Width in pixels
height: u32Height in pixels
fps: f32Framerate in frames per second
parent_index: usizeThe index of the input or output that this stream belongs to
raw_log_message: StringThe stderr line that this stream was parsed from
Trait Implementations§
source§impl PartialEq for AVStream
impl PartialEq for AVStream
impl StructuralPartialEq for AVStream
Auto Trait Implementations§
impl RefUnwindSafe for AVStream
impl Send for AVStream
impl Sync for AVStream
impl Unpin for AVStream
impl UnwindSafe for AVStream
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