small change to ffmpeg params

This commit is contained in:
Kwoth 2017-02-10 14:46:48 +01:00
parent 494cf9447e
commit 145109cd72

View File

@ -56,7 +56,7 @@ namespace NadekoBot.Modules.Music.Classes
p = Process.Start(new ProcessStartInfo p = Process.Start(new ProcessStartInfo
{ {
FileName = "ffmpeg", FileName = "ffmpeg",
Arguments = $"-ss {SkipTo} -i {SongInfo.Uri} -f s16le -ar 48000 -ac 2 pipe:1 -loglevel quiet", Arguments = $"-ss {SkipTo} -i {SongInfo.Uri} -f s16le -ar 48000 -vn -ac 2 pipe:1 -loglevel quiet",
UseShellExecute = false, UseShellExecute = false,
RedirectStandardOutput = true, RedirectStandardOutput = true,
RedirectStandardError = false, RedirectStandardError = false,