mirror of
https://github.com/Tichau/FileConverter.git
synced 2026-11-22 02:21:51 +01:00
Define explicitly the flac compression level.
This commit is contained in:
1 parent
ee791bcc11
commit
c327eae1f6
2 files changed
+8
-6
No files matched your search
@@ -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";
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user