public class PCMMP4DemuxerTrack extends AbstractMP4DemuxerTrack
Modifier and Type | Field and Description |
---|---|
protected int |
totalFrames |
box, chunkOffsets, curFrame, duration, pts, sampleEntries, sampleToChunks, stcoInd, stscInd, sttsInd, sttsSubInd, timescale, timeToSamples
Constructor and Description |
---|
PCMMP4DemuxerTrack(MovieBox movie,
TrakBox trak,
SeekableByteChannel input) |
Modifier and Type | Method and Description |
---|---|
long |
getFrameCount() |
int |
getFrameSize() |
DemuxerTrackMeta |
getMeta() |
MP4Packet |
getNextFrame(ByteBuffer buffer) |
boolean |
gotoSyncFrame(long frameNo)
Goes to a a frame that's a sync frame (key frame) and is prior or at
frame frameNo.
|
Packet |
nextFrame() |
protected void |
seekPointer(long frameNo) |
canSeek, convertPacket, getBox, getCurFrame, getDuration, getEdits, getFourcc, getName, getNo, getSampleEntries, getTimescale, getType, gotoFrame, nextChunk, pts2Sample, readPacketData, seek, seekPts, shiftPts
public PCMMP4DemuxerTrack(MovieBox movie, TrakBox trak, SeekableByteChannel input)
public Packet nextFrame() throws IOException
IOException
public MP4Packet getNextFrame(ByteBuffer buffer) 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.public int getFrameSize()
protected void seekPointer(long frameNo)
seekPointer
in class AbstractMP4DemuxerTrack
public long getFrameCount()
getFrameCount
in class AbstractMP4DemuxerTrack
public DemuxerTrackMeta getMeta()
getMeta
in interface DemuxerTrack
getMeta
in class AbstractMP4DemuxerTrack
Copyright © 2019. All rights reserved.