0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

MoviePyで,`Unrecognized option 'preset'.`とエラーが出た時の対処法

Posted at

エラー

以下のように,FFmpegに関するエラーが表示されることがある.そのバージョンで認識されないオプションを指定していることが原因である.

MoviePy error: FFMPEG encountered the following error while writing file test_output.mp4:

 b"Unrecognized option 'preset'.\nError splitting the argument list: Option not found\n"

解決策

Unrecognized option 'preset'.に関しては,FFmpeg 4.2.2をインストールすることで解決できた.その他の類似のエラーについても,同様にバージョンの変更で解決できるものと思われる.

conda install -c conda-forge ffmpeg=4.2.2

参考:https://github.com/Zulko/moviepy/issues/657#issuecomment-972144503

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?