|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcodec.containers.mp4.boxes.Box
org.jcodec.containers.mp4.boxes.FullBox
org.jcodec.containers.mp4.boxes.MediaHeaderBox
public class MediaHeaderBox
This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License A media header atom
| Field Summary |
|---|
| Fields inherited from class org.jcodec.containers.mp4.boxes.FullBox |
|---|
flags, version |
| Fields inherited from class org.jcodec.containers.mp4.boxes.Box |
|---|
header |
| Constructor Summary | |
|---|---|
MediaHeaderBox()
|
|
MediaHeaderBox(int timescale,
long duration,
int language,
long created,
long modified,
int quality)
|
|
| Method Summary | |
|---|---|
void |
doWrite(ByteBuffer out)
|
protected void |
dump(StringBuilder sb)
|
static String |
fourcc()
|
long |
getDuration()
|
int |
getTimescale()
|
void |
parse(ByteBuffer input)
|
void |
setDuration(long duration)
|
void |
setTimescale(int timescale)
|
| Methods inherited from class org.jcodec.containers.mp4.boxes.FullBox |
|---|
getFlags, getVersion, setFlags, setVersion |
| Methods inherited from class org.jcodec.containers.mp4.boxes.Box |
|---|
as, findAll, findAll, findFirst, findFirst, getFourcc, getHeader, toString, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MediaHeaderBox(int timescale,
long duration,
int language,
long created,
long modified,
int quality)
public MediaHeaderBox()
| Method Detail |
|---|
public static String fourcc()
public void parse(ByteBuffer input)
parse in class FullBoxpublic int getTimescale()
public long getDuration()
public void doWrite(ByteBuffer out)
doWrite in class FullBoxpublic void setDuration(long duration)
public void setTimescale(int timescale)
protected void dump(StringBuilder sb)
dump in class Box
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||