Class ISO14496_Box_MDHD

Description

The Media Header Box declares overall information that is media-independent, and relevant to characteristics of the media in a track.

Located in /ISO14496/Box/MDHD.php (line 53)

ISO14496_Box
   |
   --ISO14496_Box_Full
      |
      --ISO14496_Box_MDHD
Method Summary
ISO14496_Box_MDHD __construct (Reader $reader, [ &$options = array()])
integer getCreationTime ()
integer getDuration ()
string getLanguage ()
integer getModificationTime ()
integer getTimescale ()
Variables
Methods
Constructor __construct (line 76)

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

  • access: public
ISO14496_Box_MDHD __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 102)

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

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

Returns the duration of this media (in the scale of the timescale).

  • access: public
integer getDuration ()
getLanguage (line 135)

Returns the three byte language code to describe the language of this media, according to ISO 639-2/T.

  • access: public
string getLanguage ()
getModificationTime (line 110)

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

  • access: public
integer getModificationTime ()
getTimescale (line 119)

Returns the time-scale for this media. This is the number of time units that pass in one second. For example, a time coordinate system that measures time in sixtieths of a second has a time scale of 60.

  • access: public
integer getTimescale ()

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()

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