Constructor and Description |
---|
MovieHeaderBox() |
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).
|
long |
getCreationTime()
The creation time is an integer that declares the creation time of the
presentation in seconds since midnight, Jan. 1, 1904, in UTC time.
|
long |
getDuration()
The duration is an integer that declares length of the presentation (in
the indicated timescale).
|
long |
getModificationTime()
The modification time is an integer that declares the most recent time
the presentation was modified in seconds since midnight, Jan. 1, 1904,
in UTC time.
|
long |
getNextTrackID()
The next-track-ID is a non-zero integer that indicates a value to use
for the track ID of the next track to be added to this presentation.
|
double |
getRate()
The rate is a floting point number that indicates the preferred rate
to play the presentation; 1.0 is normal forward playback
|
long |
getTimeScale()
The time-scale is an integer that specifies the time-scale for the entire
presentation; this is the number of time units that pass in one second.
|
double[] |
getTransformationMatrix()
Provides a transformation matrix for the video:
[A,B,U,C,D,V,X,Y,W]
A: width scale
B: width rotate
U: width angle
C: height rotate
D: height scale
V: height angle
X: position from left
Y: position from top
W: divider scale (restricted to 1.0)
The normal values for scale are 1.0 and for rotate 0.0.
|
double |
getVolume()
The volume is a floating point number that indicates the preferred
playback volume: 0.0 is mute, 1.0 is normal volume.
|
getChild, getChildren, getChildren, getLeft, getName, getOffset, getParent, getSize, getType, hasChild, hasChildren, readChildren, readChildren, setParams, toString
public void decode(MP4InputStream in) throws java.io.IOException
BoxImpl
public long getCreationTime()
public long getModificationTime()
public long getTimeScale()
public long getDuration()
public double getRate()
public double getVolume()
public double[] getTransformationMatrix()
public long getNextTrackID()