executeWithArguments static method

Future<FFmpegSession> executeWithArguments(
  1. List<String> commandArguments
)

Synchronously executes FFmpeg with arguments provided.

Implementation

static Future<FFmpegSession> executeWithArguments(
    List<String> commandArguments) async {
  final session =
      await FFmpegSession.create(commandArguments, null, null, null, null);

  await FFmpegKitConfig.ffmpegExecute(session);

  return session;
}