Struct mp4parse::Track[][src]

pub struct Track {
Show 15 fields pub id: usize, pub track_type: TrackType, pub empty_duration: Option<MediaScaledTime>, pub media_time: Option<TrackScaledTime<u64>>, pub timescale: Option<TrackTimeScale<u64>>, pub duration: Option<TrackScaledTime<u64>>, pub track_id: Option<u32>, pub tkhd: Option<TrackHeaderBox>, pub stsd: Option<SampleDescriptionBox>, pub stts: Option<TimeToSampleBox>, pub stsc: Option<SampleToChunkBox>, pub stsz: Option<SampleSizeBox>, pub stco: Option<ChunkOffsetBox>, pub stss: Option<SyncSampleBox>, pub ctts: Option<CompositionOffsetBox>,
}

Fields

id: usizetrack_type: TrackTypeempty_duration: Option<MediaScaledTime>media_time: Option<TrackScaledTime<u64>>timescale: Option<TrackTimeScale<u64>>duration: Option<TrackScaledTime<u64>>track_id: Option<u32>tkhd: Option<TrackHeaderBox>stsd: Option<SampleDescriptionBox>stts: Option<TimeToSampleBox>stsc: Option<SampleToChunkBox>stsz: Option<SampleSizeBox>stco: Option<ChunkOffsetBox>stss: Option<SyncSampleBox>ctts: Option<CompositionOffsetBox>

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.