私は、Mac OS 10.11.16でMoviePyを使用するPythonプログラムを作成して、MP4ファイルをGIFに変換しようとしています。私が使用します。Mac OSでffmpegをインストールするのが難しいので、MoviePyを使用できます。私は研究をしましたが、何も働いていません。助言がありますか?
import moviepy.editor as mp
と私はので、私はffmpegのをダウンロードすることができimageio.plugins.ffmpeg.download()
を呼び出す必要がありますというエラーを取得します。私が使用します。私は間違いなく、インターネットに接続している
Imageio: 'ffmpeg.osx' was not found on your computer; downloading it now.
Error while fetching file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>.
Error while fetching file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>.
Error while fetching file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>.
Error while fetching file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>.
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
imageio.plugins.ffmpeg.download()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imageio/plugins/ffmpeg.py", line 55, in download
get_remote_file('ffmpeg/' + FNAME_PER_PLATFORM[plat])
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imageio/core/fetching.py", line 121, in get_remote_file
_fetch_file(url, filename)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imageio/core/fetching.py", line 177, in _fetch_file
os.path.basename(file_name))
OSError: Unable to download 'ffmpeg.osx'. Perhaps there is a no internet connection? If there is, please report this problem.
:
import imageio
imageio.plugins.ffmpeg.download()
私に次のエラーを与えます。私はthisリンクを見つけ、HomebrewとStaticビルドでインストールしようとしましたが、どちらもうまくいきませんでした。それは自分自身をコンパイルするような私のために少し進んでいるようだ(私は簡単にそれを見てきました)。私はIDLEにimageio.plugins.ffmpeg.download()
を使用しました。私はMoviePyコードを実行するためにPyCharmを使用することについて何かを読んだが、私は同じ初期エラーを得る。 ffmpegは現在私の/usr/local/bin
フォルダにあります。どんな提案も大歓迎です。お手伝いありがとうございます。
編集:私は、Python 3.6.1
imageioのGitHub号トラッカーで報告してみてください。 – tburrows13