Class ISO14496_Box_TKHD

Description

The Track Header Box specifies the characteristics of a single track.

Exactly one Track Header Box is contained in a track.

In the absence of an edit list, the presentation of a track starts at the beginning of the overall presentation. An empty edit is used to offset the start time of a track.

Located in /ISO14496/Box/TKHD.php (line 57)

ISO14496_Box
   |
   --ISO14496_Box_Full
      |
      --ISO14496_Box_TKHD
Class Constant Summary
Method Summary
ISO14496_Box_TKHD __construct (Reader $reader, [ &$options = array()])
integer getCreationTime ()
integer getDuration ()
integer getHeight ()
integer getModificationTime ()
integer getTrackId ()
integer getWidth ()
Variables
Methods
Constructor __construct (line 95)

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

  • access: public
ISO14496_Box_TKHD __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.
getCreationTime (line 127)

Returns the creation time of this track in seconds since midnight, Jan. 1, 1904, in UTC time.

  • access: public
integer getCreationTime ()
getDuration (line 156)

Returns the duration of this track (in the timescale indicated in the

MVHD). The value of this field is equal to the sum of the durations of all of the track's edits. If there is no edit list, then the duration is the sum of the sample durations, converted into the timescale in the MVHD. If the duration of this track cannot be determined then duration is set to all 32-bit maxint.

  • access: public
integer getDuration ()
getHeight (line 176)

Returns the track's visual presentation height. This needs not be the same as the pixel height of the images; all images in the sequence are scaled to this height, before any overall transformation of the track represented by the matrix. The pixel height of the images is the default value.

  • access: public
integer getHeight ()
getModificationTime (line 135)

Returns the most recent time the track was modified in seconds since midnight, Jan. 1, 1904, in UTC time.

  • access: public
integer getModificationTime ()
getTrackId (line 144)

Returns a number that uniquely identifies this track over the entire life-time of this presentation. Track IDs are never re-used and cannot be zero.

  • access: public
integer getTrackId ()
getWidth (line 166)

Returns the track's visual presentation width. This needs not be the same as the pixel width of the images; all images in the sequence are scaled to this width, before any overall transformation of the track represented by the matrix. The pixel width of the images is the default value.

  • access: public
integer getWidth ()

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
TRACK_ENABLED = 1 (line 81)

Indicates that the track is enabled. A disabled track is treated as if it were not present.

TRACK_IN_MOVIE = 2 (line 84)

Indicates that the track is used in the presentation.

TRACK_IN_PREVIEW = 4 (line 87)

Indicates that the track is used when previewing the presentation.

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