pub struct TrackInfo {
pub track_number: u32,
pub handler_type: [u8; 4],
pub has_jpeg_box: bool,
pub meta_format: Option<String>,
pub meta_type: 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.)
meta_type: Option<String>The application/... string a mett sample description carries
(QuickTime.pm:7769-7774). It says which table the samples hold.
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)