getLastFFmpegCommandOutput method
Get the log code output by executeFFmpegWithArguments().
We use here our own ffmpeg "getLastCommandOutput" procedure instead of the one provided by the flutter_ffmpeg plugin, so that the developers not interested by ffmpeg can use Flutter Sound without the flutter_ffmpeg plugin and without any complain from the link-editor.
Returns log output of last executed command. Please note that disabling redirection using
This method does not support executing multiple concurrent commands. If you execute multiple commands at the same time, this method will return output from all executions.
disableRedirection()
method also disables this functionality.
Implementation
Future<String?> getLastFFmpegCommandOutput() async {
await isFFmpegAvailable();
return _flutterFFmpegConfig!.getLastCommandOutput();
}