runSync method

Future<File?> runSync(
  1. FFMpegCommand command, {
  2. dynamic statisticsCallback(
    1. Statistics statistics
    )?,
})

Implementation

Future<File?> runSync(
  FFMpegCommand command, {
  Function(Statistics statistics)? statisticsCallback,
}) async {
  if (Platform.isWindows || Platform.isLinux) {
    return _runSyncOnWindows(
      command,
      statisticsCallback: statisticsCallback,
    );
  } else {
    return _runSyncOnNonWindows(
      command,
      statisticsCallback: statisticsCallback,
    );
  }
}