title: C#: video compression using aforge.net
body: <p>My application receives a sequence of images (BitmapImage) from external device with rate 30 fps.
  I'm using Aforge.net library for save the received stream in .avi file. 
  I used the following code for inizializing the AVIWriter:</p>
  
  <pre><code>AVIWriter writer;
  writer = new AVIWriter("wmv3");
  writer.FrameRate = 30;
  writer.Open("test.avi", 320, 240);
  </code></pre>
  
  <p>And for each frame received I add it in the video stream, with the following code line:</p>
  
  <pre><code>writer.AddFrame(ResizeBitmap(BitmapImage2Bitmap(e.ColorFrame.BitmapImage),320,240));
  </code></pre>
  
  <p>But the generated file is too heavy. (10 secondos corresponds to about 3Mb).</p>
  
  <p>I tryied also setting a low level of <code>writer.Quality</code> , but the result seems the same (just 5-7% less).</p>
  
  <p>So, I need a more efficient compression. </p>
  
  <p>What are the compressions supported in Aforge.net ? What compression should I use in order to reducing the weight of saved file?</p>