import "41.neocities.org/sofia/tfhd"
type Box struct { BoxHeader sofia.BoxHeader FullBoxHeader sofia.FullBoxHeader TrackId uint32 BaseDataOffset uint64 SampleDescriptionIndex uint32 DefaultSampleDuration uint32 DefaultSampleSize uint32 DefaultSampleFlags uint32 }
ISO/IEC 14496-12
aligned(8) class TrackFragmentHeaderBox extends FullBox( 'tfhd', 0, tf_flags ) { unsigned int(32) track_ID; // all the following are optional fields // their presence is indicated by bits in the tf_flags unsigned int(64) base_data_offset; unsigned int(32) sample_description_index; unsigned int(32) default_sample_duration; unsigned int(32) default_sample_size; unsigned int(32) default_sample_flags; }