Class ISO14496_Box_TRUN

Description

Within the Track Fragment Box, there are zero or more Track Fragment Run Boxes. If the durationIsEmpty flag is set, there are no track runs.

Located in /ISO14496/Box/TRUN.php (line 54)

ISO14496_Box
   |
   --ISO14496_Box_Full
      |
      --ISO14496_Box_TRUN
Class Constant Summary
Method Summary
ISO14496_Box_TRUN __construct (Reader $reader, [ &$options = array()])
integer getDataOffset ()
Array getSamples ()
Variables
Methods
Constructor __construct (line 103)

Constructs the class with given parameters and reads box related data from the ISO Base Media file.

  • access: public
ISO14496_Box_TRUN __construct (Reader $reader, [ &$options = array()])
  • Reader $reader: The reader object.
  • &$options

Redefinition of:
ISO14496_Box_Full::__construct()
Constructs the class with given parameters and reads box related data from the ISO Base Media file.
getDataOffset (line 135)

Returns the data offset.

  • access: public
integer getDataOffset ()
getSamples (line 145)

Returns the array of samples.

  • access: public
Array getSamples ()

Inherited Methods

Inherited From ISO14496_Box_Full

ISO14496_Box_Full::__construct()
ISO14496_Box_Full::getFlags()
ISO14496_Box_Full::getVersion()
ISO14496_Box_Full::hasFlag()
ISO14496_Box_Full::setFlags()
ISO14496_Box_Full::setVersion()
ISO14496_Box_Full::__toString()

Inherited From ISO14496_Box

ISO14496_Box::__construct()
ISO14496_Box::addBox()
ISO14496_Box::constructBoxes()
ISO14496_Box::getBoxes()
ISO14496_Box::getBoxesByIdentifier()
ISO14496_Box::getContainer()
ISO14496_Box::getOffset()
ISO14496_Box::getOption()
ISO14496_Box::getOptions()
ISO14496_Box::getParent()
ISO14496_Box::getSize()
ISO14496_Box::getType()
ISO14496_Box::hasBox()
ISO14496_Box::isContainer()
ISO14496_Box::setContainer()
ISO14496_Box::setOffset()
ISO14496_Box::setOption()
ISO14496_Box::setOptions()
ISO14496_Box::setParent()
ISO14496_Box::setSize()
ISO14496_Box::setType()
ISO14496_Box::__get()
ISO14496_Box::__isset()
ISO14496_Box::__set()
ISO14496_Box::__toString()
ISO14496_Box::__unset()
Class Constants
DATA_OFFSET = 0x1 (line 63)

Indicates the precense of the dataOffset field.

FIRST_SAMPLE_FLAGS = 0x4 (line 72)

Indicates the precense of the firstSampleFlags field; this over-rides the

default flags for the first sample only. This makes it possible to record a group of frames where the first is a key and the rest are difference frames, without supplying explicit flags for every sample. If this flag and field are used, sampleFlags field shall not be present.

SAMPLE_COMPOSITION_TIME_OFFSETS = 0x800 (line 95)

Indicates that each sample has a composition time offset (e.g. as used for I/P/B video in MPEG).

SAMPLE_DURATION = 0x100 (line 78)

Indicates that each sample has its own duration, otherwise the default is used.

SAMPLE_FLAGS = 0x400 (line 89)

Indicates that each sample has its own flags, otherwise the default is used.

SAMPLE_SIZE = 0x200 (line 83)

Indicates that each sample has its own size, otherwise the default is used.

Documentation generated on Fri, 05 Sep 2008 20:20:01 +0300 by phpDocumentor 1.4.1