public class MP4MuxerTrack extends AbstractMP4MuxerTrack
_timescale, chunkDuration, chunkNo, curChunk, edits, finished, NO_TIMESCALE_SET, out, sampleEntries, samplesInChunks, samplesInLastChunk, tgtChunkDuration, tgtChunkDurationUnit, trackId, type| Constructor and Description |
|---|
MP4MuxerTrack(int trackId,
MP4TrackType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFrame(Packet pkt) |
void |
addFrameInternal(Packet pkt,
int entryNo) |
protected Box |
finish(MovieHeaderBox mvhd) |
TimecodeMP4MuxerTrack |
getTimecodeTrack() |
long |
getTrackTotalDuration() |
static long |
minLongOffset(List<CompositionOffsetsBox.LongEntry> offs) |
static int |
minOffset(List<CompositionOffsetsBox.Entry> offs) |
void |
setTimecode(TimecodeMP4MuxerTrack timecodeTrack) |
addDref, addSampleEntry, getDisplayDimensions, getEntries, getTimescale, getTrackId, getType, isAudio, isTimecode, isVideo, mediaHeader, putEdits, putName, setEdits, setName, setTgtChunkDuration, taptpublic MP4MuxerTrack(int trackId,
MP4TrackType type)
public void addFrame(Packet pkt) throws IOException
IOExceptionpublic void addFrameInternal(Packet pkt, int entryNo) throws IOException
IOExceptionprotected Box finish(MovieHeaderBox mvhd) throws IOException
finish in class AbstractMP4MuxerTrackIOExceptionpublic static long minLongOffset(List<CompositionOffsetsBox.LongEntry> offs)
public static int minOffset(List<CompositionOffsetsBox.Entry> offs)
public long getTrackTotalDuration()
getTrackTotalDuration in class AbstractMP4MuxerTrackpublic TimecodeMP4MuxerTrack getTimecodeTrack()
public void setTimecode(TimecodeMP4MuxerTrack timecodeTrack)
Copyright © 2019. All rights reserved.