Visualise audio

Sometimes you needs end user attention but it is hard with audio file. VisualiseAudio adds generated visualisation like in an old music players:

string output = Path.ChangeExtension(Path.GetTempFileName(), "mp4");

var conversion = await FFmpeg.Conversions.FromSnippet.VisualiseAudio(Resources.Mp4WithAudio, output, size, pixelFormat, mode, amplitudeScale, frequencyScale)
await conversion.Start();
Example of audio visualisation method result

VisualiseAudio(VideoSize.Hd1080, PixelFormat.yuv420p, VisualisationMode.line, AmplitudeScale.log, FrequencyScale.lin)

There are plenty of possible outputs. Screen above is only one of the options.