Companion
Functions
Open a local file or URL.
Open over caller-supplied bytes (M1, the custom AVIO bridge): FFmpeg demuxes whatever io reads, with no path and no FFmpeg protocol involved. The returned source OWNS io and closes it when it closes. Pre-open options behave exactly like the path overload's. Blocking, like every open here: call it off the UI thread, and expect io's own read latency to shape the open time.
Open with pre-open options (KD-4): pairs applied between allocation and open, the only moment probesize, fflags and format forcing can act. Keys FFmpeg does not consume are reported through unusedOpenOptions, never silently dropped.
Open a local file or URL.
Open over caller-supplied bytes (M1, the custom AVIO bridge): FFmpeg demuxes whatever io reads, with no path and no FFmpeg protocol involved. The returned source OWNS io and closes it when it closes. Pre-open options behave exactly like the path overload's. Blocking, like every open here: call it off the UI thread, and expect io's own read latency to shape the open time.
Open with pre-open options (KD-4): pairs applied between allocation and open, the only moment probesize, fflags and format forcing can act. Keys FFmpeg does not consume are reported through unusedOpenOptions, never silently dropped.
Open a local file or URL.
Open over caller-supplied bytes (M1, the custom AVIO bridge): FFmpeg demuxes whatever io reads, with no path and no FFmpeg protocol involved. The returned source OWNS io and closes it when it closes. Pre-open options behave exactly like the path overload's. Blocking, like every open here: call it off the UI thread, and expect io's own read latency to shape the open time.
Open with pre-open options (KD-4): pairs applied between allocation and open, the only moment probesize, fflags and format forcing can act. Keys FFmpeg does not consume are reported through unusedOpenOptions, never silently dropped.
Open a local file or URL.
Open over caller-supplied bytes (M1, the custom AVIO bridge): FFmpeg demuxes whatever io reads, with no path and no FFmpeg protocol involved. The returned source OWNS io and closes it when it closes. Pre-open options behave exactly like the path overload's. Blocking, like every open here: call it off the UI thread, and expect io's own read latency to shape the open time.
Open with pre-open options (KD-4): pairs applied between allocation and open, the only moment probesize, fflags and format forcing can act. Keys FFmpeg does not consume are reported through unusedOpenOptions, never silently dropped.
Open a local file or URL.
Open over caller-supplied bytes (M1, the custom AVIO bridge): FFmpeg demuxes whatever io reads, with no path and no FFmpeg protocol involved. The returned source OWNS io and closes it when it closes. Pre-open options behave exactly like the path overload's. Blocking, like every open here: call it off the UI thread, and expect io's own read latency to shape the open time.
Open with pre-open options (KD-4): pairs applied between allocation and open, the only moment probesize, fflags and format forcing can act. Keys FFmpeg does not consume are reported through unusedOpenOptions, never silently dropped.