Matplotlib-Animation “No MovieWriters Available”

后端 未结 8 1176
佛祖请我去吃肉
佛祖请我去吃肉 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:22

    I had the following error while running the cell.

    This may be due to not having ffmpeg in your system. Try the following command in your terminal.

    sudo apt install ffmpeg
    

    This works for me. I hope it will work out for you too.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题