public class VideoSampleEntry extends SampleEntry
| Constructor and Description |
|---|
VideoSampleEntry(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(MP4InputStream in)
Decodes the given input stream by reading this box and all of its
children (if any).
|
java.lang.String |
getCompressorName()
The compressor name, for informative purposes.
|
int |
getDepth()
The depth takes one of the following values
DEFAULT_DEPTH (0x18) – images are in colour with no alpha
|
int |
getFrameCount()
The frame count indicates how many frames of compressed video are stored
in each sample.
|
int |
getHeight()
The height is the maximum visual height of the stream described by this
sample description, in pixels.
|
double |
getHorizontalResolution()
The horizontal resolution of the image in pixels-per-inch, as a floating
point value.
|
double |
getVerticalResolution()
The vertical resolution of the image in pixels-per-inch, as a floating
point value.
|
int |
getWidth()
The width is the maximum visual width of the stream described by this
sample description, in pixels.
|
getDataReferenceIndexgetChild, getChildren, getChildren, getLeft, getName, getOffset, getParent, getSize, getType, hasChild, hasChildren, readChildren, readChildren, setParams, toStringpublic void decode(MP4InputStream in) throws java.io.IOException
BoxImpldecode in class SampleEntryin - an input streamjava.io.IOException - if an error occurs while readingpublic int getWidth()
public int getHeight()
public double getHorizontalResolution()
public double getVerticalResolution()
public int getFrameCount()
public java.lang.String getCompressorName()
public int getDepth()