org.jcodec.containers.mp4.muxer
Class FramesMP4MuxerTrack
java.lang.Object
org.jcodec.containers.mp4.muxer.AbstractMP4MuxerTrack
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
| Fields inherited from class org.jcodec.containers.mp4.muxer.AbstractMP4MuxerTrack |
chunkDuration, chunkNo, curChunk, edits, finished, sampleEntries, samplesInChunks, samplesInLastChunk, tgtChunkDuration, tgtChunkDurationUnit, timescale, trackId, type |
| 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 |
FramesMP4MuxerTrack
public FramesMP4MuxerTrack(SeekableByteChannel out,
int trackId,
TrackType type,
int timescale)
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.