org.jcodec.containers.mp4.muxer
Class FramesMP4MuxerTrack

java.lang.Object
  extended by org.jcodec.containers.mp4.muxer.AbstractMP4MuxerTrack
      extended by org.jcodec.containers.mp4.muxer.FramesMP4MuxerTrack
Direct Known Subclasses:
TimecodeMP4MuxerTrack

public class FramesMP4MuxerTrack
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
FramesMP4MuxerTrack(SeekableByteChannel out, int trackId, TrackType type, int timescale)
           
 
Method Summary
 void addFrame(MP4Packet pkt)
           
 void addSampleEntries(SampleEntry[] sampleEntries)
           
protected  Box finish(MovieHeaderBox mvhd)
           
 TimecodeMP4MuxerTrack getTimecodeTrack()
           
 long getTrackTotalDuration()
           
 void setTimecode(TimecodeMP4MuxerTrack timecodeTrack)
           
 
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

FramesMP4MuxerTrack

public FramesMP4MuxerTrack(SeekableByteChannel out,
                           int trackId,
                           TrackType type,
                           int timescale)
Method Detail

addFrame

public void addFrame(MP4Packet pkt)
              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

addSampleEntries

public void addSampleEntries(SampleEntry[] sampleEntries)

getTimecodeTrack

public TimecodeMP4MuxerTrack getTimecodeTrack()

setTimecode

public void setTimecode(TimecodeMP4MuxerTrack timecodeTrack)


Copyright © 2013. All Rights Reserved.