pub struct TrackInfo {
pub track_number: u32,
pub handler_type: [u8; 4],
pub has_jpeg_box: bool,
pub meta_format: Option<String>,
pub media_timescale: u32,
pub stco: Vec<u64>,
pub stsc: Vec<(u32, u32, u32)>,
pub stsz: Vec<u32>,
pub stts: Vec<(u32, u32)>,
}Expand description
Information about one timed-metadata track.
Fields§
§track_number: u321-based index of the trak atom in the file. ExifTool sets SET_GROUP1
to Track<n> while walking a track’s samples, so every tag those samples
produce reports that family-1 group whatever table it came from.
handler_type: [u8; 4]Handler type (e.g. b“vide“, b“soun“, b“meta“, b“text“, etc.)
has_jpeg_box: boolWhether the sample description holds a nested JPEG box, the marker
ExifTool uses to decide a video track carries a JpgFromRaw preview.
meta_format: Option<String>MetaFormat / OtherFormat from stsd (e.g. “gpmd”, “camm”, “mebx”, “tx3g”, etc.)
media_timescale: u32Media timescale from mdhd
stco: Vec<u64>Chunk offsets from stco/co64
stsc: Vec<(u32, u32, u32)>Sample-to-chunk entries: (first_chunk, samples_per_chunk, desc_index)
stsz: Vec<u32>Sample sizes from stsz
stts: Vec<(u32, u32)>Time-to-sample entries: pairs of (count, delta)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TrackInfo
impl RefUnwindSafe for TrackInfo
impl Send for TrackInfo
impl Sync for TrackInfo
impl Unpin for TrackInfo
impl UnsafeUnpin for TrackInfo
impl UnwindSafe for TrackInfo
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