| Class | Description |
|---|---|
| MovieExtendsBox |
4cc = ""mvex""
aligned(8) class MovieExtendsBox extends Box('mvex'){
}
|
| MovieExtendsHeaderBox |
4cc = ""mehd""
aligned(8) class MovieExtendsHeaderBox extends FullBox('mehd', version, 0) {
if (version==1) {
unsigned int(64) fragment_duration;
} else { // version==0
unsigned int(32) fragment_duration;
}
}
|
| MovieFragmentBox |
4cc = ""moof""
aligned(8) class MovieFragmentBox extends Box(moof){
}
|
| MovieFragmentHeaderBox |
4cc = ""mfhd""
aligned(8) class MovieFragmentHeaderBox
extends FullBox('mfhd', 0, 0){
unsigned int(32) sequence_number;
}
|
| MovieFragmentRandomAccessBox |
4cc = ""mfra""
aligned(8) class MovieFragmentRandomAccessBox
extends Box('mfra')
{
}
|
| MovieFragmentRandomAccessOffsetBox |
4cc = ""mfro""
aligned(8) class MovieFragmentRandomAccessOffsetBox
extends FullBox('mfro', version, 0) {
unsigned int(32) size;
}
|
| SampleFlags |
bit(6) reserved=0;
unsigned int(2) sample_depends_on;
unsigned int(2) sample_is_depended_on;
unsigned int(2) sample_has_redundancy;
bit(3) sample_padding_value;
bit(1) sample_is_difference_sample;
// i.e. when 1 signals a non-key or non-sync sample
unsigned int(16) sample_degradation_priority;
|
| SegmentTypeBox |
4cc = ""styp""
This box identifies the specifications to which this file complies.
|
| TrackExtendsBox |
4cc = ""trex""
aligned(8) class TrackExtendsBox extends FullBox('trex', 0, 0){
unsigned int(32) track_ID;
unsigned int(32) default_sample_description_index;
unsigned int(32) default_sample_duration;
unsigned int(32) default_sample_size;
unsigned int(32) default_sample_flags
}
|
| TrackFragmentBaseMediaDecodeTimeBox |
4cc = ""tfdt""
|
| TrackFragmentBox |
4cc = ""traf""
aligned(8) class TrackFragmentBox extends Box('traf'){
}
|
| TrackFragmentHeaderBox |
4cc = ""tfhd""
aligned(8) class TrackFragmentHeaderBox
extends FullBox('tfhd', 0, tf_flags){
unsigned int(32) track_ID;
// all the following are optional fields
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
}
|
| TrackFragmentRandomAccessBox |
4cc = ""tfra""
aligned(8) class TrackFragmentRandomAccessBox extends FullBox('tfra', version, 0) {
unsigned int(32) track_ID;
const unsigned int(26) reserved = 0;
unsigned int(2) length_size_of_traf_num;
unsigned int(2) length_size_of_trun_num;
unsigned int(2) length_size_of_sample_num;
unsigned int(32) number_of_entry;
for(i=1; i <= number_of_entry; i++){
if(version==1){
unsigned int(64) time;
unsigned int(64) moof_offset;
}else{
unsigned int(32) time;
unsigned int(32) moof_offset;
}
unsigned int((length_size_of_traf_num+1) * 8) traf_number;
unsigned int((length_size_of_trun_num+1) * 8) trun_number;
unsigned int((length_size_of_sample_num+1) * 8) sample_number;
}
}
|
| TrackFragmentRandomAccessBox.Entry | |
| TrackRunBox |
4cc = ""trun""
aligned(8) class TrackRunBox
extends FullBox('trun', version, tr_flags) {
unsigned int(32) sample_count;
// the following are optional fields
signed int(32) data_offset;
unsigned int(32) first_sample_flags;
// all fields in the following array are optional
{
unsigned int(32) sample_duration;
unsigned int(32) sample_size;
unsigned int(32) sample_flags
if (version == 0)
{ unsigned int(32) sample_composition_time_offset; }
else
{ signed int(32) sample_composition_time_offset; }
}[ sample_count ]
}
|
| TrackRunBox.Entry |
Copyright © 2016. All rights reserved.