org.jcodec.containers.mp4.muxer
Class PCMMP4MuxerTrack

java.lang.Object
  extended by org.jcodec.containers.mp4.muxer.AbstractMP4MuxerTrack
      extended by org.jcodec.containers.mp4.muxer.PCMMP4MuxerTrack

public class PCMMP4MuxerTrack
extends AbstractMP4MuxerTrack

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License

Author:
The JCodec project

Field Summary
 
Fields inherited from class org.jcodec.containers.mp4.muxer.AbstractMP4MuxerTrack
chunkDuration, chunkNo, curChunk, edits, finished, sampleEntries, samplesInChunks, samplesInLastChunk, tgtChunkDuration, tgtChunkDurationUnit, timescale, trackId, type
 
Constructor Summary
PCMMP4MuxerTrack(SeekableByteChannel out, int trackId, TrackType type, int timescale, int frameDuration, int frameSize, SampleEntry se)
           
 
Method Summary
 void addSamples(ByteBuffer buffer)
           
protected  Box finish(MovieHeaderBox mvhd)
           
 long getTrackTotalDuration()
           
 
Methods inherited from class org.jcodec.containers.mp4.muxer.AbstractMP4MuxerTrack
addDref, addSampleEntry, getDisplayDimensions, getEntries, getTimescale, isAudio, isTimecode, isVideo, mediaHeader, putEdits, putName, setEdits, setName, setTgtChunkDuration, tapt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PCMMP4MuxerTrack

public PCMMP4MuxerTrack(SeekableByteChannel out,
                        int trackId,
                        TrackType type,
                        int timescale,
                        int frameDuration,
                        int frameSize,
                        SampleEntry se)
Method Detail

addSamples

public void addSamples(ByteBuffer buffer)
                throws IOException
Throws:
IOException

finish

protected Box finish(MovieHeaderBox mvhd)
              throws IOException
Specified by:
finish in class AbstractMP4MuxerTrack
Throws:
IOException

getTrackTotalDuration

public long getTrackTotalDuration()
Specified by:
getTrackTotalDuration in class AbstractMP4MuxerTrack


Copyright © 2013. All Rights Reserved.