FFmpeg

expect object FFmpeg

Static facade for global FFmpeg state: version info, build flags and capability probing.

Use it to feature-detect the bound FFmpeg before opening a codec or a filter, because builds differ in what they contain. A system FFmpeg may or may not have libx264; KiteFFmpeg's vendored LGPL profile never does, and asking for it there throws FFmpegException from MediaSink.addVideoEncoder.

actual object FFmpeg

Static facade for global FFmpeg state: version info, build flags and capability probing.

Use it to feature-detect the bound FFmpeg before opening a codec or a filter, because builds differ in what they contain. A system FFmpeg may or may not have libx264; KiteFFmpeg's vendored LGPL profile never does, and asking for it there throws FFmpegException from MediaSink.addVideoEncoder.

actual object FFmpeg

Static facade for global FFmpeg state: version info, build flags and capability probing.

Use it to feature-detect the bound FFmpeg before opening a codec or a filter, because builds differ in what they contain. A system FFmpeg may or may not have libx264; KiteFFmpeg's vendored LGPL profile never does, and asking for it there throws FFmpegException from MediaSink.addVideoEncoder.

actual object FFmpeg

Static facade for global FFmpeg state: version info, build flags and capability probing.

Use it to feature-detect the bound FFmpeg before opening a codec or a filter, because builds differ in what they contain. A system FFmpeg may or may not have libx264; KiteFFmpeg's vendored LGPL profile never does, and asking for it there throws FFmpegException from MediaSink.addVideoEncoder.

actual object FFmpeg

The real web backend, over the generated binding.

Every member requires KiteFFmpegWeb.load to have completed. That is not a quirk of this object: the codec is a separate wasm module and there is nothing to ask before it is instantiated.

Properties

Link copied to clipboard

Comma-separated configure flags the bound FFmpeg was built with.

Comma-separated configure flags the bound FFmpeg was built with.

Comma-separated configure flags the bound FFmpeg was built with.

Comma-separated configure flags the bound FFmpeg was built with.

Comma-separated configure flags the bound FFmpeg was built with.

Link copied to clipboard

What FFmpeg this build expected and what it actually got.

What FFmpeg this build expected and what it actually got.

What FFmpeg this build expected and what it actually got.

What FFmpeg this build expected and what it actually got.

What FFmpeg this build expected and what it actually got.

Link copied to clipboard
expect val versions: Versions

Per-library version triplets, useful for compatibility checks.

actual val versions: Versions

Per-library version triplets, useful for compatibility checks.

actual val versions: Versions

Per-library version triplets, useful for compatibility checks.

actual val versions: Versions

Per-library version triplets, useful for compatibility checks.

actual val versions: Versions

Per-library version triplets, useful for compatibility checks.

Functions

Link copied to clipboard
expect fun hasDecoder(name: String): Boolean

Whether the bound FFmpeg has a given decoder compiled in.

actual fun hasDecoder(name: String): Boolean

Whether the bound FFmpeg has a given decoder compiled in.

actual fun hasDecoder(name: String): Boolean

Whether the bound FFmpeg has a given decoder compiled in.

actual fun hasDecoder(name: String): Boolean

Whether the bound FFmpeg has a given decoder compiled in.

actual fun hasDecoder(name: String): Boolean

Whether the bound FFmpeg has a given decoder compiled in.

Link copied to clipboard
expect fun hasEncoder(name: String): Boolean

Whether the bound FFmpeg has a given encoder compiled in. Pass an FFmpeg codec name.

actual fun hasEncoder(name: String): Boolean

Whether the bound FFmpeg has a given encoder compiled in. Pass an FFmpeg codec name.

actual fun hasEncoder(name: String): Boolean

Whether the bound FFmpeg has a given encoder compiled in. Pass an FFmpeg codec name.

actual fun hasEncoder(name: String): Boolean

Whether the bound FFmpeg has a given encoder compiled in. Pass an FFmpeg codec name.

actual fun hasEncoder(name: String): Boolean

Whether the bound FFmpeg has a given encoder compiled in. Pass an FFmpeg codec name.

Link copied to clipboard
expect fun hasFilter(name: String): Boolean

Whether the bound FFmpeg has a given filter compiled in.

actual fun hasFilter(name: String): Boolean

Whether the bound FFmpeg has a given filter compiled in.

actual fun hasFilter(name: String): Boolean

Whether the bound FFmpeg has a given filter compiled in.

actual fun hasFilter(name: String): Boolean

Whether the bound FFmpeg has a given filter compiled in.

actual fun hasFilter(name: String): Boolean

Whether the bound FFmpeg has a given filter compiled in.