public interface SeekableDemuxerTrack extends DemuxerTrack
| Modifier and Type | Method and Description |
|---|---|
long |
getCurFrame()
Gets an index of the frame that the next call to 'nextFrame' will return,
zero based.
|
boolean |
gotoFrame(long frameNo)
Goes to exactly frameNo.
|
boolean |
gotoSyncFrame(long frameNo)
Goes to a a frame that's a sync frame (key frame) and is prior or at
frame frameNo.
|
void |
seek(double second)
Seeks this container to the second provided so that the next call to
nextFrame will return a frame at that second.
|
getMeta, nextFrameboolean gotoFrame(long frameNo)
throws IOException
frameNo - Frame number, zero based, to go to.IOExceptionboolean gotoSyncFrame(long frameNo)
throws IOException
frameNo - Frame number, zero based, related to which a sync frame will
be selected.IOExceptionlong getCurFrame()
void seek(double second) throws IOException
second - A second to seek to.IOExceptionCopyright © 2019. All rights reserved.