0
pyplot.show
を使用しているときにはmatplotlibとアニメーションのアニメーションがかなり新しいですが、animation.save
機能を使用しようとすると、出力されるのは0秒のビデオアニメーションのフレーム。任意の助けをいただければ幸いですmatplotlib.animationを保存すると0秒のビデオが出力されます
plt.rcParams['animation.ffmpeg_path'] = r'C:\FFMPEG\bin\ffmpeg.exe'
FFwriter = animation.FFMpegWriter()
video_ani.save('basic_animation1.mp4', writer = FFwriter, fps=30, extra_args=['-vcodec', 'libx264'])
、感謝