Class ISO14496_Box_MVHD

Description

The Movie Header Box defines overall information which is media-independent, and relevant to the entire presentation considered as a whole.

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

ISO14496_Box
   |
   --ISO14496_Box_Full
      |
      --ISO14496_Box_MVHD
Method Summary
ISO14496_Box_MVHD __construct (Reader $reader, [ &$options = array()])
integer getCreationTime ()
integer getDuration ()
integer getModificationTime ()
integer getNextTrackId ()
integer getRate ()
integer getTimescale ()
integer getVolume ()
Variables
Methods
Constructor __construct (line 83)

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

  • access: public
ISO14496_Box_MVHD __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 113)

Returns the creation time of the presentation. The value is in seconds since midnight, Jan. 1, 1904, in UTC time.

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

Returns the length of the presentation in the indicated timescale. This property is derived from the presentation's tracks: the value of this field corresponds to the duration of the longest track in the presentation.

  • access: public
integer getDuration ()
getModificationTime (line 121)

Returns the most recent time the presentation was modified. The value is in seconds since midnight, Jan. 1, 1904, in UTC time.

  • access: public
integer getModificationTime ()
getNextTrackId (line 165)

Returns a value to use for the track ID of the next track to be added to

this presentation. Zero is not a valid track ID value. The value is larger than the largest track-ID in use. If this value is equal to or larger than 32-bit maxint, and a new media track is to be added, then a search must be made in the file for a unused track identifier.

  • access: public
integer getNextTrackId ()
getRate (line 147)

Returns the preferred rate to play the presentation. 1.0 is normal forward playback.

  • access: public
integer getRate ()
getTimescale (line 130)

Returns the time-scale for the entire presentation. 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 ()
getVolume (line 154)

Returns the preferred playback volume. 1.0 is full volume.

  • access: public
integer getVolume ()

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:09 +0300 by phpDocumentor 1.4.1