title: Using FFMPEG in C#
body: <p>I am trying to strip audio from a video file using FFMPEG in C#. I know what the code is for doing such an operation (as far as I know) but I am not 100% sure where I need to keep the ffmpe.exe file in my project and how to access it.
   My code so far is as follows:</p>
  
  <pre><code>public void stripAudioTest(string videoFilename, ExportProgressWindow callback, string destinationAudioFile)
      {
          string FFMPEG_PATH = "*************"; //not sure what to put here??????
  
  
  
          string strParam = " -i " + videoFileName + " -ab 160k -ar 44100 -f wav -vn " +   destinationAudioFile;
          process(FFMPEG_PATH, strParam);
          callback.Increment(100);
  
  
      }
  
      public void process(string Path_FFMPEG, string strParam)
      {
          try
          {
              Process ffmpeg = new Process();
  
              ffmpeg.StartInfo.UseShellExecute = false;
              ffmpeg.StartInfo.RedirectStandardOutput = true;
              ffmpeg.StartInfo.FileName = Path_FFMPEG;
              ffmpeg.StartInfo.Arguments = strParam;
  
              ffmpeg.Start();
  
              ffmpeg.WaitForExit();
  
          }
          catch (Exception ex)
          {
              MessageBox.Show(ex.Message);
          }
      }`
  </code></pre>
  
  <p>If anyone has any ideas please let me know. Anything helps!</p>