title: How to limit FFMpeg CPU usage?
body: <p>I am calling FFMpeg inside a C# Windows Forms application. Since it uses so much CPU(almost 100%), none of my threads can continue working. Is there a way to limit this CPU usage?</p>
  
  <p>Below is my working code,</p>
  
  <pre><code>Process ffmpeg = new Process();
  ffmpeg.StartInfo.UseShellExecute = false;
  ffmpeg.StartInfo.FileName = '..\ffmpeg.exe'
  ffmpeg.StartInfo.CreateNoWindow = true;
  ffmpeg.Start();
  </code></pre>
  
  <p>I've tried to set Process.PriorityClass to PriorityClass.BelowNormal but this totally blocked the ffmpeg process.</p>
  
  <p>Is there any other way out?</p>