Linux中的ffmpeg错误 [英] Ffmpeg error in linux
本文介绍了Linux中的ffmpeg错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有关如何解决此错误的任何帮助:
ffmpeg:加载共享库时出错:libavdevice.so.52:无法打开共享库文件:没有此类文件或目录
Any help on how I can solve this error:
ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory
推荐答案
基本上,找到文件:
sudo find / -name libavdevice.so.52
例如,您已在 / usr / local / lib
中找到此文件。接下来,将该库包含到您的库路径中。将此添加到您的 /etc/ld.so.conf
:
For example, you've found this file in the /usr/local/lib
. Next include that library into your library path. Add this to your /etc/ld.so.conf
:
/usr/local/lib
最后在修改此文件后运行以下命令:
And finally after modifying this file run this:
sudo ldconfig
参考: FFmpeg:加载共享库时出错:libavdevice.so.52:无法打开共享对象文件
这篇关于Linux中的ffmpeg错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文