runSync method
Future<File?>
runSync(
- FFMpegCommand command, {
- dynamic statisticsCallback(
- 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,
);
}
}