| Class | Description |
|---|---|
| AbstractMediaHeaderBox |
A common superclass for all MediaInformationHeaderBoxes.
|
| BitRateBox |
4cc = ""btrt""
class BitRateBox extends Box('btrt') {
unsigned int(32) bufferSizeDB;
// gives the size of the decoding buffer for
// the elementary stream in bytes.
|
| ChunkOffset64BitBox |
4cc = ""co64""
Abstract Chunk Offset Box
|
| ChunkOffsetBox |
Abstract Chunk Offset Box
|
| CompositionTimeToSample |
4cc = ""ctts""
aligned(8) class CompositionOffsetBox extends FullBox(‘ctts’, version = 0, 0) {
unsigned int(32) entry_count;
int i;
if (version==0) {
for (i=0; i < entry_count; i++) {
unsigned int(32) sample_count;
unsigned int(32) sample_offset;
}
}
else if (version == 1) {
for (i=0; i < entry_count; i++) {
unsigned int(32) sample_count;
signed int(32) sample_offset;
}
}
}
This box provides the offset between decoding time and composition time.
|
| CompositionTimeToSample.Entry | |
| CompositionToDecodeBox |
4cc = ""cslg""
The optional composition shift least greatest atom summarizes the calculated
minimum and maximum offsets between decode and composition time, as well as
the start and end times, for all samples.
|
| DataEntryUrlBox |
4cc = ""url ""
Only used within the DataReferenceBox.
|
| DataEntryUrnBox |
4cc = ""urn ""
Only used within the DataReferenceBox.
|
| DataInformationBox |
4cc = ""dinf""
Box Type: 'dinf'
The data information box contains objects that declare the location of the media information in a track. |
| DataReferenceBox |
4cc = ""dref""
The data reference object contains a table of data references (normally URLs) that declare the location(s) of
the media data used within the presentation.
|
| DegradationPriorityBox | |
| EditBox |
4cc = ""edts""
An Edit Box maps the presentation time-line to the media time-line as it is stored in the file.
|
| EditListBox | |
| EditListBox.Entry | |
| FileTypeBox |
4cc = ""ftyp""
This box identifies the specifications to which this file complies.
|
| FreeBox |
4cc = ""free""
A free box.
|
| FreeSpaceBox |
4cc = ""skip""
The contents of a free-space box are irrelevant and may be ignored, or the object deleted, without affecting the
presentation.
|
| HandlerBox |
4cc = ""hdlr""
This box within a Media Box declares the process by which the media-data in the track is presented,
and thus, the nature of the media in a track.
|
| HintMediaHeaderBox |
4cc = ""hmhd""
The hint media header contains general information, independent of the protocaol, for hint tracks.
|
| HintSampleEntry | |
| ItemDataBox |
4cc = ""idat""
|
| ItemLocationBox |
4cc = ""iloc""
aligned(8) class ItemLocationBox extends FullBox('iloc', version, 0) {
unsigned int(4) offset_size;
unsigned int(4) length_size;
unsigned int(4) base_offset_size;
if (version == 1)
unsigned int(4) index_size;
else
unsigned int(4) reserved;
unsigned int(16) item_count;
for (i=0; i<item_count; i++) {
unsigned int(16) item_ID;
if (version == 1) {
unsigned int(12) reserved = 0;
unsigned int(4) construction_method;
}
unsigned int(16) data_reference_index;
unsigned int(base_offset_size*8) base_offset;
unsigned int(16) extent_count;
for (j=0; j<extent_count; j++) {
if ((version == 1) && (index_size > 0)) {
unsigned int(index_size*8) extent_index;
}
unsigned int(offset_size*8) extent_offset;
unsigned int(length_size*8) extent_length;
}
}
}
|
| ItemProtectionBox |
4cc = ""ipro""
The Item Protection Box provides an array of item protection information, for use by the Item Information Box.
|
| MediaBox |
4cc = ""mdia""
The media declaration container contains all the objects that declare information about the media data within a
track.
|
| MediaDataBox |
4cc = ""mdat""
This box contains the media data.
|
| MediaHeaderBox |
4cc = ""mdhd""
This box defines overall information which is media-independent, and relevant to the entire presentation
considered as a whole.
|
| MediaInformationBox |
4cc = ""minf""
This box contains all the objects that declare characteristic information of the media in the track.
|
| MetaBox |
4cc = ""meta""
A common base structure to contain general metadata.
|
| MovieBox |
4cc = ""moov""
The metadata for a presentation is stored in the single Movie Box which occurs at the top-level of a file.
|
| 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 |
The Movie Fragment Random Access Box ('mfra') provides a table which may assist
readers in finding random access points in a file using movie fragments.It contains
a track fragment random access box for each track for which information is provided
(which may notbe all tracks).
|
| MovieFragmentRandomAccessOffsetBox |
4cc = ""mfro""
aligned(8) class MovieFragmentRandomAccessOffsetBox
extends FullBox('mfro', version, 0) {
unsigned int(32) size;
}
|
| MovieHeaderBox | |
| NullMediaHeaderBox |
4cc = ""nmhd""
Streams other than visual and audio (e.g., timed metadata streams) may use a
Null Media Header Box.
|
| OriginalFormatBox |
4cc = ""frma""
The Original Format Box contains the four-character-code of the original untransformed sample description.
|
| ProgressiveDownloadInformationBox |
4cc = ""pdin""
|
| ProgressiveDownloadInformationBox.Entry | |
| ProtectionSchemeInformationBox |
4cc = ""sinf""
The
ProtectionSchemeInformationBox contains all the information required both
to understand the encryption transform applied and its parameters, and also to find other
information such as the kind and location of the key management system. |
| SampleAuxiliaryInformationOffsetsBox |
4cc = ""saio""
|
| SampleAuxiliaryInformationSizesBox |
4cc = ""saiz""
|
| SampleDependencyTypeBox |
4cc = ""sdtp""
aligned(8) class SampleDependencyTypeBox extends FullBox('sdtp', version = 0, 0) {
for (i=0; i < sample_count; i++){
unsigned int(2) isLeading;
unsigned int(2) sample_depends_on;
unsigned int(2) sample_is_depended_on;
unsigned int(2) sample_has_redundancy;
}
}
|
| SampleDependencyTypeBox.Entry | |
| SampleDescriptionBox |
4cc = ""stsd""
The sample description table gives detailed information about the coding type used, and any initialization
information needed for that coding.
|
| 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;
|
| SampleSizeBox |
4cc = ""stsz""
This box containes the sample count and a table giving the size in bytes of each sample.
|
| SampleTableBox |
4cc = ""stbl""
The sample table contains all the time and data indexing of the media samples in a track.
|
| SampleToChunkBox |
4cc = ""stsc""
Samples within the media data are grouped into chunks.
|
| SampleToChunkBox.Entry | |
| SchemeInformationBox |
4cc = ""schi""
The Scheme Information Box is a container box that is only interpreted by the scheme beeing used.
|
| SchemeTypeBox |
4cc = ""schm""
The Scheme Type Box identifies the protection scheme.
|
| SegmentIndexBox |
4cc = ""sidx""
aligned(8) class SegmentIndexBox extends FullBox(‘sidx’, version, 0) {
unsigned int(32) reference_ID;
unsigned int(32) timescale;
if (version==0)
{
unsigned int(32) earliest_presentation_time;
unsigned int(32) first_offset;
}
else
{
unsigned int(64) earliest_presentation_time;
unsigned int(64) first_offset;
}
unsigned int(16) reserved = 0;
unsigned int(16) reference_count;
for(i=1; i <= reference_count; i++)
{
bit (1) reference_type;
unsigned int(31) referenced_size;
unsigned int(32) subsegment_duration;
bit(1) starts_with_SAP;
unsigned int(3) SAP_type;
unsigned int(28) SAP_delta_time;
}
}
|
| SegmentIndexBox.Entry | |
| SegmentTypeBox |
4cc = ""styp""
This box identifies the specifications to which this file complies.
|
| SoundMediaHeaderBox |
4cc = ""smhd""
|
| StaticChunkOffsetBox |
4cc = ""stco""
The chunk offset table gives the index of each chunk into the containing file.
|
| SubSampleInformationBox |
4cc = ""subs""
aligned(8) class SubSampleInformationBox extends FullBox('subs', version, 0) {
unsigned int(32) entry_count;
int i,j;
for (i=0; i < entry_count; i++) {
unsigned int(32) sample_delta;
unsigned int(16) subsample_count;
if (subsample_count > 0) {
for (j=0; j < subsample_count; j++) {
if(version == 1)
{
unsigned int(32) subsample_size;
}
else
{
unsigned int(16) subsample_size;
}
unsigned int(8) subsample_priority;
unsigned int(8) discardable;
unsigned int(32) reserved = 0;
}
}
}
}
|
| SubSampleInformationBox.SubSampleEntry | |
| SubSampleInformationBox.SubSampleEntry.SubsampleEntry | |
| SubtitleMediaHeaderBox |
4cc = ""sthd""
|
| SyncSampleBox |
4cc = ""stss""
This box provides a compact marking of the random access points withinthe stream.
|
| TimeToSampleBox |
4cc = ""stts""
This box contains a compact version of a table that allows indexing from decoding time to sample number.
|
| TimeToSampleBox.Entry | |
| TrackBox |
4cc = ""trak""
Tracks are used for two purposes: (a) to contain media data (media tracks) and (b) to contain packetization
information for streaming protocols (hint tracks).
|
| 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 |
Each entry contains the location and the presentation time of the random accessible sample.
|
| TrackFragmentRandomAccessBox.Entry | |
| TrackHeaderBox |
4cc = ""tkhd""
This box specifies the characteristics of a single track.
|
| TrackReferenceBox | |
| TrackReferenceTypeBox |
This box provides a reference from the containing track to another track in the presentation.
|
| 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 | |
| UserDataBox |
4cc = ""udta""
This box contains objects that declare user information about the containing box and its data (presentation or
track).
|
| VideoMediaHeaderBox |
4cc = ""vmhd""
The video media header contains general presentation information, independent of the coding, for video
media.
|
| XmlBox |
4cc = ""xml ""
|
Copyright © 2015. All rights reserved.