Struct symphonia_format_isomp4::IsoMp4Reader
source · pub struct IsoMp4Reader { /* private fields */ }
Expand description
ISO Base Media File Format (MP4, M4A, MOV, etc.) demultiplexer.
IsoMp4Reader
implements a demuxer for the ISO Base Media File Format.
Trait Implementations§
source§impl FormatReader for IsoMp4Reader
impl FormatReader for IsoMp4Reader
source§fn try_new(mss: MediaSourceStream, _options: &FormatOptions) -> Result<Self>
fn try_new(mss: MediaSourceStream, _options: &FormatOptions) -> Result<Self>
Attempt to instantiate a
FormatReader
using the provided FormatOptions
and
MediaSourceStream
. The reader will probe the container to verify format support, determine
the number of tracks, and read any initial metadata.source§fn seek(&mut self, _mode: SeekMode, to: SeekTo) -> Result<SeekedTo>
fn seek(&mut self, _mode: SeekMode, to: SeekTo) -> Result<SeekedTo>
Seek, as precisely as possible depending on the mode, to the
Time
or track TimeStamp
requested. Returns the requested and actual TimeStamps
seeked to, as well as the Track
. Read moresource§fn into_inner(self: Box<Self>) -> MediaSourceStream
fn into_inner(self: Box<Self>) -> MediaSourceStream
Destroys the
FormatReader
and returns the underlying media source streamsource§fn default_track(&self) -> Option<&Track>
fn default_track(&self) -> Option<&Track>
Gets the default track. If the
FormatReader
has a method of determining the default track,
this function should return it. Otherwise, the first track is returned. If no tracks are
present then None
is returned.source§impl QueryDescriptor for IsoMp4Reader
impl QueryDescriptor for IsoMp4Reader
Auto Trait Implementations§
impl !RefUnwindSafe for IsoMp4Reader
impl Send for IsoMp4Reader
impl Sync for IsoMp4Reader
impl Unpin for IsoMp4Reader
impl !UnwindSafe for IsoMp4Reader
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