public class MP4DemuxerTrack extends AbstractMP4DemuxerTrack
box, chunkOffsets, curFrame, duration, pts, sampleEntries, sampleToChunks, stcoInd, stscInd, sttsInd, sttsSubInd, timescale, timeToSamples| Constructor and Description |
|---|
MP4DemuxerTrack(MovieBox mov,
TrakBox trak,
SeekableByteChannel input) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFrameCount() |
MP4Packet |
getNextFrame(ByteBuffer storage) |
boolean |
gotoSyncFrame(long frameNo)
Goes to a a frame that's a sync frame (key frame) and is prior or at
frame frameNo.
|
MP4Packet |
nextFrame() |
protected void |
seekPointer(long frameNo) |
canSeek, convertPacket, getBox, getCurFrame, getDuration, getEdits, getFourcc, getMeta, getName, getNo, getSampleEntries, getTimescale, getType, gotoFrame, nextChunk, pts2Sample, readPacketData, seek, seekPts, shiftPtspublic MP4DemuxerTrack(MovieBox mov, TrakBox trak, SeekableByteChannel input)
public MP4Packet nextFrame() throws IOException
IOExceptionpublic MP4Packet getNextFrame(ByteBuffer storage) throws IOException
getNextFrame in class AbstractMP4DemuxerTrackIOExceptionpublic boolean gotoSyncFrame(long frameNo)
SeekableDemuxerTrackframeNo - Frame number, zero based, related to which a sync frame will
be selected.protected void seekPointer(long frameNo)
seekPointer in class AbstractMP4DemuxerTrackpublic long getFrameCount()
getFrameCount in class AbstractMP4DemuxerTrackCopyright © 2019. All rights reserved.