getFFmpegVersion static method

Future<String?> getFFmpegVersion()

Returns the version of FFmpeg bundled within "FFmpegKit" library.

Implementation

static Future<String?> getFFmpegVersion() async {
  try {
    await init();
    return _platform.ffmpegKitConfigGetFFmpegVersion();
  } on PlatformException catch (e, stack) {
    print("Plugin getFFmpegVersion error: ${e.message}");
    return Future.error("getFFmpegVersion failed.", stack);
  }
}