是否有必要在Anaconda for Matplotlib中安装ffmpeg以节省动画?

时间:2017-10-29 05:45:52

标签: python matplotlib ffmpeg anaconda

对于动画保存,我已经阅读了一些命题 1)以这种方式手动安装ffmpeg:

  conda install -c conda-forge ffmpeg

2)手动安装ImageMagick并以这种方式更改matplotlib配置文件“matplotlibrc”:

#animation.ffmpeg_args: ''         # Additional arguments to pass to ffmpeg
#animation.avconv_path: 'avconv'   # Path to avconv binary. Without full path
                                   # $PATH is searched
#animation.avconv_args: ''         # Additional arguments to pass to avconv
#animation.mencoder_path: 'mencoder'
                                   # Path to mencoder binary. Without full path
                                   # $PATH is searched
#animation.mencoder_args: ''       # Additional arguments to pass to mencoder
#animation.convert_path: 'convert' # Path to ImageMagick's convert binary.
animation.convert_path: F:\Games\ImageMagick-7.0.7-Q16\magick.exe
                                   # On Windows use the full path since convert
                                   # is also the name of a system tool.

手动添加传递给已安装的ImageMagick的行

animation.convert_path: F:\Games\ImageMagick-7.0.7-Q16\magick.exe

两个问题:
1 - 对于Anaconda来说,哪种方式更好? 2 - 真的Anaconda没有更好的方法????

0 个答案:

没有答案