I have followed instructions to download ffmpeg and add the path according to Matplotlib-Animation "No MovieWriters Available" Although I can type version in both in command prompt and Bash on Windows console, beloved PyCharm warns me:
Requested MovieWriter (ffmpeg) not available
when I try to save the animation:
ani = anim.FuncAnimation(fig, animate, frames = 14, init_func = init, interval = 500, repeat = False)
plt.show()
ani.save("Inno.mp4", writer=writer)
Do I have to add another path? Please, help me, I am really tired of this error.
You can specify the ffmpeg path directly as follows:
plt.rcParams['animation.ffmpeg_path'] = 'ffmpeg path on your machine' (e.g.: "C:\FFmpeg\bin\ffmpeg.exe")
or try on your cmd calling the ffmpeg to make sure the have properly defined its path in your env variables.
to get the path after making sure the path s properly defined, write in your cmd:
where ffmpeg
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With