Skip to main content

trak

Function trak 

Source
fn trak(
    track_id: u32,
    timescale: u32,
    handler: [u8; 4],
    media_header: Vec<u8>,
    sample_entry: &[u8],
    media: TrakMedia,
) -> Vec<u8> ⓘ
Expand description

One trak: tkhd (enabled, in_movie) with the display size or, for audio, the volume; mdhd at timescale; the handler; then the media header given and the sample table.