title: matplotlib animation movie: quality of movie decreasing with time
body: <p>I am trying to create a movie with the <code>animation.FuncAnimation</code> function in matplotlib. The movie looks fine interactively, but when I save it with the command</p>
  
  <pre><code>anim2.save('somefilm.mp4',codec='mpeg4', fps=15)
  </code></pre>
  
  <p>It starts out fine, but then becomes blurry (both using QuickTime and vlc, so I figured it's the movie, not the player).</p>
  
  <p>I've played around with <em>blitting</em>, since I thought it was maybe the fact that the canvas wasn't redrawn, but to no avail. Increasing the bitrate also doesn't help.</p>
  
  <p>Setting <code>dpi=500</code> does improve the quality of the movie somewhat, though then it gets stuck repeatedly, which makes it difficult to watch.</p>
  
  <p>I was just wondering whether this is the best one can do, or am I missing something?</p>