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, shiftPts
public MP4DemuxerTrack(MovieBox mov, TrakBox trak, SeekableByteChannel input)
public MP4Packet nextFrame() throws IOException
IOException
public MP4Packet getNextFrame(ByteBuffer storage) throws IOException
getNextFrame
in class AbstractMP4DemuxerTrack
IOException
public boolean gotoSyncFrame(long frameNo)
SeekableDemuxerTrack
frameNo
- Frame number, zero based, related to which a sync frame will
be selected.protected void seekPointer(long frameNo)
seekPointer
in class AbstractMP4DemuxerTrack
public long getFrameCount()
getFrameCount
in class AbstractMP4DemuxerTrack
Copyright © 2019. All rights reserved.