public FFmpegCommandBuilder WithAudioCommands(IEnumerable <MediaStream> streams) { if (!streams.Any()) { return(this); } foreach (MediaStream audioStream in streams) { FFmpegAudioCommandBuilder builder = FFmpegAudioCommandBuilder.Initilize(audioStream, outputDirectory, outputBaseFilename, AdditionalAudioFlags); StreamAudioFile streamFile = builder .WithLanguage() .WithTitle() .WithCodec() .Build(); audioFiles.Add(streamFile); } return(this); }