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, tapt
public MP4MuxerTrack(int trackId, MP4TrackType type)
public void addFrame(Packet pkt) throws IOException
IOException
public void addFrameInternal(Packet pkt, int entryNo) throws IOException
IOException
protected Box finish(MovieHeaderBox mvhd) throws IOException
finish
in class AbstractMP4MuxerTrack
IOException
public static long minLongOffset(List<CompositionOffsetsBox.LongEntry> offs)
public static int minOffset(List<CompositionOffsetsBox.Entry> offs)
public long getTrackTotalDuration()
getTrackTotalDuration
in class AbstractMP4MuxerTrack
public TimecodeMP4MuxerTrack getTimecodeTrack()
public void setTimecode(TimecodeMP4MuxerTrack timecodeTrack)
Copyright © 2019. All rights reserved.