Under Linux, I\'ve been checking out matplotlib\'s animation class, and it seems to work except that I cant initialise the movie writer to write out the movie.
Using
If you are using Ubuntu 14.04 ffmpeg is not available. You can install it by using the instructions directly from https://www.ffmpeg.org/download.html.
In short you will have to:
sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install ffmpeg gstreamer0.10-ffmpeg
If this does not work maybe try using sudo apt-get dist-upgrade but this may broke things in your system.