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, taptpublic PCMMP4MuxerTrack(int trackId,
AudioFormat format)
public void addFrame(Packet outPacket) throws IOException
IOExceptionpublic void addSamples(ByteBuffer buffer) throws IOException
IOExceptionprotected Box finish(MovieHeaderBox mvhd) throws IOException
finish in class AbstractMP4MuxerTrackIOExceptionpublic long getTrackTotalDuration()
getTrackTotalDuration in class AbstractMP4MuxerTrackCopyright © 2019. All rights reserved.