Matplotlib-Animation “No MovieWriters Available”

后端 未结 8 1194
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-07 18:40

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

8条回答
  •  醉话见心
    2020-12-07 19:23

    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.

提交回复
热议问题