docs/doc/reference/com/google/android/exoplayer2/ext/ffmpeg/FfmpegLibrary.html
Package com.google.android.exoplayer2.ext.ffmpeg
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classFfmpegLibraryextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Configures and queries the underlying native library.
All Methods Static Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| static int | getInputBufferPaddingSize() |
Deprecated.
Returns the required amount of padding for input buffers in bytes, or C.LENGTH_UNSET if the underlying library is not available.
|
| static String | getVersion() |
Deprecated.
Returns the version of the underlying library if available, or null otherwise.
|
| static boolean | isAvailable() |
Deprecated.
Returns whether the underlying library is available, loading it if necessary.
|
| static void | setLibraries(String... libraries) |
Deprecated.
Override the names of the FFmpeg native libraries.
|
| static boolean | supportsFormat(String mimeType) |
Deprecated.
Returns whether the underlying library supports the specified MIME type. |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public static void setLibraries([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")... libraries)
Deprecated.
Override the names of the FFmpeg native libraries. If an application wishes to call this method, it must do so before calling any other method defined by this class, and before instantiating a FfmpegAudioRenderer instance.
Parameters:libraries - The names of the FFmpeg native libraries.
-
public static boolean isAvailable()
Deprecated.
Returns whether the underlying library is available, loading it if necessary.
-
@Nullable
public static[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")getVersion()
Deprecated.
Returns the version of the underlying library if available, or null otherwise.
-
public static int getInputBufferPaddingSize()
Deprecated.
Returns the required amount of padding for input buffers in bytes, or C.LENGTH_UNSET if the underlying library is not available.
-
public static boolean supportsFormat([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")mimeType)
Deprecated.
Returns whether the underlying library supports the specified MIME type.
Parameters:mimeType - The MIME type to check.