execute method

Future<int?> execute(
  1. String command
)

Executes FFmpeg synchronously with command provided. This method returns when execution completes.

Returns zero on successful execution, 255 on user cancel and non-zero on error.

Implementation

Future<int?> execute(String command) async {
  return executeWithArguments(FlutterSoundFFmpeg.parseArguments(command));
}