FfmpegLibrary

Configures and queries the underlying native library.

Properties

Link copied to clipboard

Returns the required amount of padding for input buffers in bytes, or C.LENGTH_UNSET if the underlying library is not available.

Link copied to clipboard

Returns whether the underlying library is available, loading it if necessary.

Link copied to clipboard

Functions

Link copied to clipboard
fun getCodecName(mimeType: String): String?

Returns the name of the FFmpeg decoder that could be used to decode the format, or null if it's unsupported.

Link copied to clipboard
fun supportsFormat(mimeType: String): Boolean

Returns whether the underlying library supports the specified MIME type.