executeAsync static method

Future<FFprobeSession> executeAsync(
  1. String command, [
  2. FFprobeSessionCompleteCallback? completeCallback = null,
  3. LogCallback? logCallback = null
])

Starts an asynchronous FFprobe execution for the given command. Space character is used to split the command into arguments. You can use single or double quote characters to specify arguments inside your command.

Note that this method returns immediately and does not wait the execution to complete. You must use an FFprobeSessionCompleteCallback if you want to be notified about the result.

Implementation

static Future<FFprobeSession> executeAsync(String command,
        [FFprobeSessionCompleteCallback? completeCallback = null,
        LogCallback? logCallback = null]) async =>
    FFprobeKit.executeWithArgumentsAsync(
        FFmpegKitConfig.parseArguments(command),
        completeCallback,
        logCallback);