title: How to get better quality converting MP4 to WMV with ffmpeg?
body: <p>I am converting <strong>MP4 files to WMV</strong> with these two rescaling commands:</p>
  
  <pre><code>ffmpeg -i test.mp4 -y -vf scale=-1:360 test1.wmv
  ffmpeg -i test.mp4 -y -vf scale=-1:720 test2.wmv
  </code></pre>
  
  <p>I've also tried:</p>
  
  <pre><code>ffmpeg -g 1 -b 16000k -i test1.mp4 test1.wmv
  </code></pre>
  
  <p><strong>However</strong>, the .wmv files that are produced are "<strong>blocky and grainy</strong>" as you can see here in a small section of a video screenshot:</p>
  
  <p><img src="https://i.stack.imgur.com/uyB4f.png" alt="enter image description here"></p>
  
  <p>These are the sizes:</p>
  
  <pre><code>test.mp4 - 106 MB
  test1.wmv - 6 MB
  test2.wmv - 16 MB
  </code></pre>
  
  <p><strong>How can I increase the quality/size of the resulting .wmv files (the size of the .wmv files is of no concern)?</strong></p>