Samples within the media data are grouped into chunks. Chunks can be of different sizes, and the samples within a chunk can have different sizes.
The Sample To Chunk Box table can be used to find the chunk that contains a sample, its position, and the associated sample description.
The table is compactly coded. Each entry gives the index of the first chunk of a run of chunks with the same characteristics. By subtracting one entry here from the previous one, you can compute how many chunks are in this run. You can convert this to a sample count by multiplying by the appropriate samplesPerChunk.
Located in /ISO14496/Box/STSC.php (line 61)
ISO14496_Box | --ISO14496_Box_Full | --ISO14496_Box_STSC
Inherited from ISO14496_Box_Full
ISO14496_Box_Full::$_flags
ISO14496_Box_Full::$_version
Inherited from ISO14496_Box
ISO14496_Box::$_reader
Constructs the class with given parameters and reads box related data from the ISO Base Media file.
Returns an array of values. Each entry is an array containing the following keys.
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:28 +0300 by phpDocumentor 1.4.1