Class ISO14496_Box_CO64

Description

The Chunk Offset Box table gives the index of each chunk into the containing file. There are two variants, permitting the use of 32-bit or 64-bit offsets. The latter is useful when managing very large presentations.

At most one of these variants will occur in any single instance of a sample table.

Offsets are file offsets, not the offset into any box within the file (e.g. Media Data Box). This permits referring to media data in files without any box structure. It does also mean that care must be taken when constructing a self-contained ISO file with its metadata (Movie Box) at the front, as the size of the Movie Box will affect the chunk offsets to the media data.

This box variant contains 64-bit offsets.

Located in /ISO14496/Box/CO64.php (line 66)

ISO14496_Box
   |
   --ISO14496_Box_Full
      |
      --ISO14496_Box_CO64
Method Summary
ISO14496_Box_CO64 __construct (Reader $reader, [ &$options = array()])
void setChunkOffsetTable (Array $chunkOffsetTable)
string __toString ([ $data = ""])
Variables
Methods
Constructor __construct (line 77)

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

  • access: public
ISO14496_Box_CO64 __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.
getChunkOffsetTable (line 96)

Returns an array of values. Each entry has the entry number as its index and a 64 bit integer that gives the offset of the start of a chunk into its containing media file as its value.

  • access: public
Array getChunkOffsetTable ()
setChunkOffsetTable (line 105)

Sets an array of chunk offsets. Each entry must have the entry number as its index and a 64 bit integer that gives the offset of the start of a chunk into its containing media file as its value.

  • access: public
void setChunkOffsetTable (Array $chunkOffsetTable)
  • Array $chunkOffsetTable: The chunk offset array.
__toString (line 115)

Returns the box raw data.

  • access: public
string __toString ([ $data = ""])
  • $data

Redefinition of:
ISO14496_Box_Full::__toString()
Returns the box raw data.

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