humble-video-noarch/src/main/java/io/humble/video/Demuxer.java
public int seek(int stream_index, long min_ts, long ts, long max_ts, int flags) throws java.lang.InterruptedException, java.io.IOException {
    return VideoJNI.Demuxer_seek(swigCPtr, this, stream_index, min_ts, ts, max_ts, flags);
  }
public int seek(int stream_index, long min_ts, long ts, long max_ts, int flags) throws java.lang.InterruptedException, java.io.IOException {
    return VideoJNI.Demuxer_seek(swigCPtr, this, stream_index, min_ts, ts, max_ts, flags);
  }
public int seek ( int stream_index , long min_ts , long ts , long max_ts , int flags ) throws java . lang . InterruptedException , java . io . IOException { return VideoJNI . Demuxer_seek ( swigCPtr , this , stream_index , min_ts , ts , max_ts , flags ) ; }
Seek to timestamp ts.<br>
<br>
Seeking will be done so that the point from which all active streams<br>
can be presented successfully will be closest to ts and within min/max_ts.<br>
Active streams are all streams that have Stream.getDiscardSetting &lt;<br>
Codec.DISCARD_ALL.<br>
<br>
If flags contain SeekFlags.SEEK_BYTE, then all timestamps are in bytes and<br>
are the file position (this may not be supported by all demuxers).<br>
If flags contain SeekFlags.SEEK_FRAME, then all timestamps are in frames<br>
in the stream with stream_index (this may not be supported by all demuxers).<br>
Otherwise all timestamps are in units of the stream selected by stream_index<br>
or if stream_index is -1, in (1/Global.DEFAULT_PTS_MICROSECONDS} units.<br>
If flags contain SeekFlags.SEEK_ANY, then non-keyframes are treated as<br>
keyframes (this may not be supported by all demuxers).<br>
<br>
@param stream_index index of the stream which is used as time base reference<br>
@param min_ts smallest acceptable timestamp<br>
@param ts target timestamp<br>
@param max_ts largest acceptable timestamp<br>
@param flags flags<br>
@return &gt;=0 on success, error code otherwise<br>
<br>
Note: This is part of the new seek API which is still under construction.<br>
Thus do not use this yet. It may change at any time, do not expect<br>
ABI compatibility yet!
Seek to timestamp ts . <br > <br > Seeking will be done so that the point from which all active streams<br > can be presented successfully will be closest to ts and within min / max_ts . <br > Active streams are all streams that have Stream . getDiscardSetting &lt ; <br > Codec . DISCARD_ALL . <br > <br > If flags contain SeekFlags . SEEK_BYTE then all timestamps are in bytes and<br > are the file position ( this may not be supported by all demuxers ) . <br > If flags contain SeekFlags . SEEK_FRAME then all timestamps are in frames<br > in the stream with stream_index ( this may not be supported by all demuxers ) . <br > Otherwise all timestamps are in units of the stream selected by stream_index<br > or if stream_index is - 1 in ( 1 / Global . DEFAULT_PTS_MICROSECONDS } units . <br > If flags contain SeekFlags . SEEK_ANY then non - keyframes are treated as<br > keyframes ( this may not be supported by all demuxers ) . <br > <br >