RuntimeError: Requested MovieWriter (ffmpeg) not available

python 复制代码
RuntimeError: Requested MovieWriter (ffmpeg) not available
/root/miniconda3/lib/python3.8/site-packages/matplotlib/animation.py:884: UserWarning: Animation was deleted without rendering anything. This is most likely not intended. To prevent deletion, assign the Animation to a variable, e.g. `anim`, that exists until you output the Animation using `plt.show()` or `anim.save()`.

这个错误通常发生在使用matplotlib库进行动画制作时,尝试将动画保存为视频文件,但是没有安装必要的ffmpeg软件。ffmpeg是一个可以用来处理视频、音频和图片的软件,是许多编码和视频处理任务的首选工具。

解决这个问题,你需要安装ffmpeg。如果你使用的是miniconda,可以先更新conda仓库,然后使用conda来安装ffmpeg

python 复制代码
conda update conda
conda install -c conda-forge ffmpeg
相关推荐
aaon223571 天前
ubuntu ffmpeg 安装踩坑
linux·ubuntu·ffmpeg
m0_748245171 天前
SpringCloud-使用FFmpeg对视频压缩处理
spring·spring cloud·ffmpeg
iummature1 天前
FFmpeg命令
ffmpeg
渔舟唱晚@2 天前
FFmpeg+WebSocket+JsMpeg实时视频流实现方案
websocket·网络协议·ffmpeg
xcg3401232 天前
关于视频抽帧调用虹软人脸识别的BufferedImage读取优化策略
ffmpeg·音视频·视频抽帧
繁依Fanyi2 天前
使用 FFmpeg 剪辑视频指南
java·服务器·开发语言·ffmpeg·音视频
deadknight93 天前
定期自动统计大表执行情况
ffmpeg
cuijiecheng20185 天前
音视频入门基础:RTP专题(9)——FFmpeg接收RTP流的原理和内部实现
ffmpeg·音视频
偶是老李头5 天前
Ubuntu虚拟机NDK编译ffmpeg
linux·ubuntu·ffmpeg·android ndk
lucky-billy6 天前
Qt 中使用 ffmpeg 获取采集卡数据录制视频
qt·ffmpeg·音视频