pub struct StrandCamMkvSource<R: Read + Seek> {
pub parsed: ParsedStrandCamMkv,
/* private fields */
}Expand description
An MKV file saved by Strand Camera.
Note that this is not a general purpose MKV file converter but is specific to MKV files which have been saved by Strand Camera.
Fields§
§parsed: ParsedStrandCamMkvImplementations§
Source§impl<R: Read + Seek> StrandCamMkvSource<R>
impl<R: Read + Seek> StrandCamMkvSource<R>
pub fn is_uncompressed(&self) -> bool
Trait Implementations§
Source§impl<R: Read + Seek> FrameDataSource for StrandCamMkvSource<R>
impl<R: Read + Seek> FrameDataSource for StrandCamMkvSource<R>
fn camera_name(&self) -> Option<&str>
fn gamma(&self) -> Option<f32>
Source§fn frame0_time(&self) -> Option<DateTime<FixedOffset>>
fn frame0_time(&self) -> Option<DateTime<FixedOffset>>
Get the timestamp of the first frame. Read more
Source§fn skip_n_frames(&mut self, n_frames: usize) -> Result<()>
fn skip_n_frames(&mut self, n_frames: usize) -> Result<()>
Set source to skip the first N frames. Read more
Source§fn estimate_luminance_range(&mut self) -> Result<(u16, u16)>
fn estimate_luminance_range(&mut self) -> Result<(u16, u16)>
Scan over the input images and estimate the luminance range Read more
Source§fn decode_order_iter<'a>(
&'a mut self,
) -> Box<dyn Iterator<Item = Result<FrameData>> + 'a>
fn decode_order_iter<'a>( &'a mut self, ) -> Box<dyn Iterator<Item = Result<FrameData>> + 'a>
Get an iterator over all frames in decode order (the order samples
are stored in the stream). Read more
Source§fn timestamp_source(&self) -> &str
fn timestamp_source(&self) -> &str
A string describing the source of the timestamp data
Source§fn has_timestamps(&self) -> bool
fn has_timestamps(&self) -> bool
Whether timestamps are available. Read more
Source§fn srt_truncation(&self) -> Option<SrtTruncation>
fn srt_truncation(&self) -> Option<SrtTruncation>
Set when an SRT-file timestamp source ran out of usable stanzas
before covering every frame in the container, in which case the
source was truncated to the last complete group of pictures a stanza
is available for every frame of.
None for sources not using an SRT
file, or when the SRT covered every frame.Auto Trait Implementations§
impl<R> Freeze for StrandCamMkvSource<R>where
R: Freeze,
impl<R> RefUnwindSafe for StrandCamMkvSource<R>where
R: RefUnwindSafe,
impl<R> Send for StrandCamMkvSource<R>where
R: Send,
impl<R> Sync for StrandCamMkvSource<R>where
R: Sync,
impl<R> Unpin for StrandCamMkvSource<R>where
R: Unpin,
impl<R> UnsafeUnpin for StrandCamMkvSource<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for StrandCamMkvSource<R>where
R: UnwindSafe,
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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