humble-video-noarch/src/main/java/io/humble/video/Demuxer.java
public void open(String url, DemuxerFormat format, boolean streamsCanBeAddedDynamically, boolean queryStreamMetaData, KeyValueBag options, KeyValueBag optionsNotSet) throws java.lang.InterruptedException, java.io.IOException {
    VideoJNI.Demuxer_open(swigCPtr, this, url, DemuxerFormat.getCPtr(format), format, streamsCanBeAddedDynamically, queryStreamMetaData, KeyValueBag.getCPtr(options), options, KeyValueBag.getCPtr(optionsNotSet), optionsNotSet);
  }
public void open(String url, DemuxerFormat format, boolean streamsCanBeAddedDynamically, boolean queryStreamMetaData, KeyValueBag options, KeyValueBag optionsNotSet) throws java.lang.InterruptedException, java.io.IOException {
    VideoJNI.Demuxer_open(swigCPtr, this, url, DemuxerFormat.getCPtr(format), format, streamsCanBeAddedDynamically, queryStreamMetaData, KeyValueBag.getCPtr(options), options, KeyValueBag.getCPtr(optionsNotSet), optionsNotSet);
  }
Open this container and make it ready for reading, optionally<br>
reading as far into the container as necessary to find all streams.<br>
<p>The caller must call #close() when done, but if not, the<br>
Demuxer will eventually close<br>
them later but warn to the logging system.<br>
<br>
@param url The resource to open; The format of this string is any<br>
url that FFMPEG supports (including additional protocols if added<br>
through the video.customio library).<br>
<br>
@param format A pointer to a InputFormat object specifying<br>
the format of this container, or null if you want us to guess.<br>
@param streamsCanBeAddedDynamically If true, open() will expect that new<br>
streams can be added at any time, even after the format header has been read.<br>
@param queryStreamMetaData If true, open() will call #queryStreamMetaData()<br>
on this container, which will potentially block until it has ready<br>
enough data to find all streams in a container.  If false, it will only<br>
block to read a minimal header for this container format.<br>
@param options If not null, a set of key-value pairs that will be set on the container immediately<br>
the format is determined.  Some options cannot be set on input formats until<br>
the system has had a chance to determine what the format is, so this<br>
is the only way to set InputFormat-specific options.<br>
@param optionsNotSet If not null, on return this KeyValueBag object will be cleared out, and<br>
replace with any key/value pairs that were in <code>options</code> but could not be set on this<br>
Demuxer.<br>
<br>
@return &gt;= 0 on success; &lt; 0 on error.