|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.impl.resource.video.Box
org.mobicents.media.server.impl.resource.video.FullBox
org.mobicents.media.server.impl.resource.video.MovieHeaderBox
public class MovieHeaderBox
This box defines overall information which is media-independent, and relevant to the entire presentation considered as a whole. Box Type: mvhd Container: Movie Box Mandatory: Yes Quantity: Exactly one
| Constructor Summary | |
|---|---|
MovieHeaderBox(long size,
java.lang.String type)
|
|
| Method Summary | |
|---|---|
java.util.Date |
getCreationTime()
Gets the creation time of this presentation. |
long |
getDuration()
Gets duration of this presentation. |
int[] |
getMatrix()
|
java.util.Date |
getModificationTime()
Gets the modification time of this presentation. |
int |
getNextTrackID()
Gets identifier of next track to use. |
double |
getRate()
Gets the preffered rate to play the presentation. |
int |
getTimeScale()
Gets the time scale of this presentation. |
double |
getVolume()
Gets the preffered volume to play the presentation. |
protected int |
load(java.io.DataInputStream fin)
Loads Box from stream. |
| Methods inherited from class org.mobicents.media.server.impl.resource.video.FullBox |
|---|
getFlags, getVersion, read64 |
| Methods inherited from class org.mobicents.media.server.impl.resource.video.Box |
|---|
getSize, getType, readLen, readText, readType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MovieHeaderBox(long size,
java.lang.String type)
| Method Detail |
|---|
public java.util.Date getCreationTime()
public java.util.Date getModificationTime()
public int getTimeScale()
public long getDuration()
public double getRate()
public double getVolume()
public int[] getMatrix()
public int getNextTrackID()
protected int load(java.io.DataInputStream fin)
throws java.io.IOException
Box
load in class FullBoxfin - the stream to load box from
java.io.IOException - if some I/O error occured.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||