public class PCMMP4MuxerTrack extends AbstractMP4MuxerTrack
_timescale, chunkDuration, chunkNo, curChunk, edits, finished, NO_TIMESCALE_SET, out, sampleEntries, samplesInChunks, samplesInLastChunk, tgtChunkDuration, tgtChunkDurationUnit, trackId, type
Constructor and Description |
---|
PCMMP4MuxerTrack(int trackId,
AudioFormat format) |
Modifier and Type | Method and Description |
---|---|
void |
addFrame(Packet outPacket) |
void |
addSamples(ByteBuffer buffer) |
protected Box |
finish(MovieHeaderBox mvhd) |
long |
getTrackTotalDuration() |
addDref, addSampleEntry, getDisplayDimensions, getEntries, getTimescale, getTrackId, getType, isAudio, isTimecode, isVideo, mediaHeader, putEdits, putName, setEdits, setName, setTgtChunkDuration, tapt
public PCMMP4MuxerTrack(int trackId, AudioFormat format)
public void addFrame(Packet outPacket) throws IOException
IOException
public void addSamples(ByteBuffer buffer) throws IOException
IOException
protected Box finish(MovieHeaderBox mvhd) throws IOException
finish
in class AbstractMP4MuxerTrack
IOException
public long getTrackTotalDuration()
getTrackTotalDuration
in class AbstractMP4MuxerTrack
Copyright © 2019. All rights reserved.