FFMPEG 4.2.4,Python 3.9:"ffmpeg:加载共享库时出错:libopenh264.so.5:无法打开共享对象文件:无此类文件或目录" [英] FFMPEG 4.2.4, Python 3.9: "ffmpeg: error while loading shared libraries: libopenh264.so.5: cannot open shared object file: No such file or directory"
问题描述
我正在使用ffmpeg 4.2.4和Python 3.9
I'm using ffmpeg 4.2.4 and Python 3.9
当前出现错误: ffmpeg:加载共享库时出错:libopenh264.so.5:无法打开共享库文件:没有这样的文件或目录
尝试了以下这些链接中的解决方案,但它们不起作用:
ffmpeg:加载共享库时出错:libopenh264.so.5
Linux中的ffmpeg错误
Tried the solutions from these links but they didn't work:
ffmpeg: error while loading shared libraries: libopenh264.so.5
Ffmpeg error in linux
如果有人对如何解决它有任何想法,或者需要更多信息,请告诉我.
If anyone has any idea how to fix it, or needs any more information, please let me know.
推荐答案
弄清楚您可以 conda更新ffmpeg
,即使您无法使用conda安装它...完全解决了该问题.如果其他人也遇到相同的问题,则发布此案例.注意:通过官方网站使用命令下载PyTorch时,我得到了(错误的)ffmpeg.
Figured out you can conda update ffmpeg
, even though you can't install it with conda...
Completely fixed the issue. Posting this incase someone else has the same problem.
Note: I got (the faulty) ffmpeg from downloading PyTorch with the command via the official site.
这篇关于FFMPEG 4.2.4,Python 3.9:"ffmpeg:加载共享库时出错:libopenh264.so.5:无法打开共享对象文件:无此类文件或目录"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!