diff --git a/Application/FileConverter/Application.xaml.cs b/Application/FileConverter/Application.xaml.cs index 09030db..2012e57 100644 --- a/Application/FileConverter/Application.xaml.cs +++ b/Application/FileConverter/Application.xaml.cs @@ -125,11 +125,11 @@ namespace FileConverter System.Array.Resize(ref args, 2); args[1] = "--settings"; - //System.Array.Resize(ref args, 5); - //args[1] = "--conversion-preset"; - //args[2] = "To Png"; - //args[3] = "--verbose"; - //args[4] = @"D:\Test\ApplicationIcon.ico"; + System.Array.Resize(ref args, 5); + args[1] = "--conversion-preset"; + args[2] = "To Flac"; + args[3] = "--verbose"; + args[4] = @"D:\Test\02 - Corn on the Cob.mp3"; //System.Array.Resize(ref args, 6); //args[1] = "--conversion-preset"; diff --git a/Application/FileConverter/ConversionJobs/ConversionJob_FFMPEG.cs b/Application/FileConverter/ConversionJobs/ConversionJob_FFMPEG.cs index 61938e2..bd1d615 100644 --- a/Application/FileConverter/ConversionJobs/ConversionJob_FFMPEG.cs +++ b/Application/FileConverter/ConversionJobs/ConversionJob_FFMPEG.cs @@ -69,7 +69,9 @@ namespace FileConverter.ConversionJobs case OutputType.Flac: { - arguments = string.Format("-n -stats -i \"{0}\" \"{1}\"", this.InputFilePath, this.OutputFilePath); + // http://taer-naguur.blogspot.fr/2013/11/flac-audio-encoding-with-ffmpeg.html + string encoderArgs = string.Format("-compression_level 12"); + arguments = string.Format("-n -stats -i \"{0}\" {2} \"{1}\"", this.InputFilePath, this.OutputFilePath, encoderArgs); } break;