- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用 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: error while loading shared libraries: libopenh264.so.5
Ffmpeg error in linux
如果有人知道如何修复它,或者需要更多信息,请告诉我。
编辑:我注意到自从我创建这篇文章以来已经一年多了,它仍然收到回复 - 我创建了一个 gist解释我克服类似问题的另一种方法
基本上,我卸载了 conda 的 ffmpeg
版本。 (在有问题的环境中)使用 conda uninstall ffmpeg --force
并且(对于 Ubuntu),使用 sudo apt install ffmpeg
更新系统范围的版本(我认为这就是它的名称)
最佳答案
想通了你可以conda update ffmpeg
,即使你不能用 conda 安装它...
彻底解决了问题。发布这个以防其他人有同样的问题。
注意:我通过官方网站使用命令下载 PyTorch 得到了(错误的)ffmpeg。
关于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",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66509275/
我是一名优秀的程序员,十分优秀!