Maven module :un.storage : media-mpeg4 :
Class :
un.storage.media.mp4.boxes.impl.CompositionTimeToSampleBox
Extends/Implements :
un.storage.media.mp4.boxes.FullBox
Subclasses : -
Variables : -
Functions :
CompositionTimeToSampleBox,
decode,
getSampleCounts,
getSampleOffsets
public void
CompositionTimeToSampleBox ()
public void
decode (MP4InputStream in)
public long[]
getSampleCounts ()
public long[]
getSampleOffsets ()
Since decoding time must be less than the composition time, the offsets are
expressed as unsigned numbers such that
CT(n) = DT(n) + CTTS(n)
where CTTS(n) is the (uncompressed) table entry for sample n.
The composition time to sample table is optional and must only be present if
DT and CT differ for any samples.
Hint tracks do not use this box.
author Alexander Simm