title: Process not taking arguments
body: <p>I am trying to run ffmpeg.exe as a process and give it some arguments. The process actually runs I can see the ffmpeg window opens but then nothing happens. I also tried using <code>@ffmpeg</code> in the args but no luck. So I guess the arguments are not passing to it. I have manually run the ffmpeg.exe from cmd and used those args and it worked perfectly. Here is the code,  </p>
  
  <pre><code>public void ConvertVideo()
  {
      var dir = Directory.GetParent(Directory.GetCurrentDirectory()).Parent.FullName + "\\FFMpeg";
      var ffmpeg = dir + "\\ffmpeg.exe";
      var args = "ffmpeg -i 20180906194502.mp4 -ar 44100 -ac 2 -c:a aac -strict -2 -b:a 128k -c:v libx264 -preset veryslow -crf 20  output.mp4";
  
      var process = new Process();
      process.StartInfo.UseShellExecute = false;
      process.StartInfo.FileName = ffmpeg;
      process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
      process.StartInfo.WorkingDirectory = dir;
      process.EnableRaisingEvents = true;
      process.StartInfo.RedirectStandardInput = true;
      process.Start();
      process.StandardInput.WriteLine(args);
      process.StandardInput.Flush();
      process.StandardInput.Close();
      process.WaitForExit();
  }  
  </code></pre>
  
  <p>So bottom line is, if I run this code I just see this window and then nothing happens. <a href="https://i.stack.imgur.com/TZYBb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TZYBb.png" alt="ffmpeg window"></a></p>