东方耀AI技术分享

标题: 使用Python的moviepy模块的时候需要ffmpeg处理视频流 [打印本页]

作者: 东方耀    时间: 2020-2-9 16:48
标题: 使用Python的moviepy模块的时候需要ffmpeg处理视频流


Imageio: 'ffmpeg-linux64-v3.3.1' was not found on your computer; downloading it now.
Try 1. Download from https://github.com/imageio/image ... mpeg-linux64-v3.3.1 (43.8 MB)
Downloading: 270336/45929032 bytes (0.6%)


使用Python的moviepy模块的时候需要ffmpeg处理视频流



网络不行 报错:
IOError: Unable to download 'ffmpeg-linux64-v3.3.1'. Perhaps there is a no internet connection? If there is, please report this problem.

在浏览器中下载:https://github.com/imageio/image ... mpeg-linux64-v3.3.1

之后将其移动到目录~/.imageio/ffmpeg/下  即可 问题解决

例子:
mv ~/Downloads/ffmpeg-linux64-v3.3.1 ~/.imageio/ffmpeg/







欢迎光临 东方耀AI技术分享 (http://www.ai111.vip/) Powered by Discuz! X3.4