title: Cut avi video to another avi without losing quality using ffmpeg
body: <p>I have a .avi video. I need to cut a piece of it as another .avi file. When I do this I lose quality in the cut file:</p>
  
  <p><code>ffmpeg -i input.avi -ss 00:34:00 -t 00:10:00 -async 1 cut.avi</code></p>
  
  <p>However, if I convert it to .mp4 in the same way I get good quality:</p>
  
  <p><code>ffmpeg -i input.avi -ss 00:34:00 -t 00:10:00 -async 1 cut.mp4</code></p>
  
  <p>I was wondering how I can get .avi output file and also maintain the good quality.</p>