public class TimecodeSampleEntry extends SampleEntry
Box.LeafBox
Modifier and Type | Field and Description |
---|---|
static int |
FLAG_24HOURMAX |
static int |
FLAG_COUNTER |
static int |
FLAG_DROPFRAME |
static int |
FLAG_NEGATIVETIMEOK |
drefInd
header, MAX_BOX_SIZE
Constructor and Description |
---|
TimecodeSampleEntry(Header header) |
Modifier and Type | Method and Description |
---|---|
static TimecodeSampleEntry |
createTimecodeSampleEntry(int flags,
int timescale,
int frameDuration,
int numFrames) |
protected void |
doWrite(ByteBuffer out) |
int |
getFlags() |
int |
getFrameDuration() |
byte |
getNumFrames() |
int |
getTimescale() |
boolean |
isDropFrame() |
void |
parse(ByteBuffer input) |
estimateSize, getDrefInd, parseExtensions, setDrefInd, setMediaType, writeExtensions
add, addFirst, cloneBox, doCloneBox, dump, dumpBoxes, findAll, findAllPath, findBox, findDeep, findDeepInner, findFirst, findFirstPath, getBoxes, parseChildBox, removeChildren, replace, replaceBox, setFactory
asBox, createLeafBox, getFourcc, getHeader, parseBox, path, terminatorAtom, toString, write
public static final int FLAG_DROPFRAME
public static final int FLAG_24HOURMAX
public static final int FLAG_NEGATIVETIMEOK
public static final int FLAG_COUNTER
public TimecodeSampleEntry(Header header)
public static TimecodeSampleEntry createTimecodeSampleEntry(int flags, int timescale, int frameDuration, int numFrames)
public void parse(ByteBuffer input)
parse
in class SampleEntry
protected void doWrite(ByteBuffer out)
doWrite
in class SampleEntry
public int getFlags()
public int getTimescale()
public int getFrameDuration()
public byte getNumFrames()
public boolean isDropFrame()
Copyright © 2019. All rights reserved.