public class MediaHeaderBox extends FullBox
Box.LeafBox
header, MAX_BOX_SIZE
Constructor and Description |
---|
MediaHeaderBox(Header atom) |
Modifier and Type | Method and Description |
---|---|
static MediaHeaderBox |
createMediaHeaderBox(int timescale,
long duration,
int language,
long created,
long modified,
int quality) |
void |
doWrite(ByteBuffer out) |
int |
estimateSize() |
static String |
fourcc() |
long |
getCreated() |
long |
getDuration() |
int |
getLanguage() |
long |
getModified() |
int |
getQuality() |
int |
getTimescale() |
void |
parse(ByteBuffer input) |
void |
setDuration(long duration) |
void |
setTimescale(int timescale) |
getFlags, getVersion, setFlags, setVersion
public MediaHeaderBox(Header atom)
public static String fourcc()
public static MediaHeaderBox createMediaHeaderBox(int timescale, long duration, int language, long created, long modified, int quality)
public int getTimescale()
public long getDuration()
public long getCreated()
public long getModified()
public int getLanguage()
public int getQuality()
public void setDuration(long duration)
public void setTimescale(int timescale)
public void parse(ByteBuffer input)
public void doWrite(ByteBuffer out)
public int estimateSize()
estimateSize
in class Box
Copyright © 2019. All rights reserved.