public class SampleSizeBox extends FullBox
This box contains the sample count and a table giving the size in bytes of each sample. This allows the media data itself to be unframed. The total number of samples in the media is always indicated in the sample count.
There are two variants of the sample size box. The first variant has a fixed size 32-bit field for representing the sample sizes; it permits defining a constant size for all samples in a track. The second variant permits smaller size fields, to save space when the sizes are varying but small. One of these boxes must be present; the first version is preferred for maximum compatibility
bytetoTypeMap| Constructor and Description |
|---|
SampleSizeBox(long size) |
| Modifier and Type | Method and Description |
|---|---|
long[] |
getEntrySize() |
long |
getSampleCount() |
long |
getSampleSize() |
protected int |
load(DataInputStream fin)
Loads Box from stream.
|
getFlags, getVersion, read64protected int load(DataInputStream fin) throws IOException
Boxload in class FullBoxfin - the stream to load box fromIOException - if some I/O error occured.public long getSampleSize()
public long getSampleCount()
public long[] getEntrySize()
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.