当我做'ffmpeg'时提供帮助,我得到了
ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory
.
但是,当我这样做时LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib ffmpeg
,我得到
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 11 2012 18:52:29 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4)
configuration: --enable-libmp3lame --enable-libvorbis --enable-shared --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-nonfree --enable-libtheora --enable-version3
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.93. 0 / 52.93. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'
有人可以告诉我如何永久设置它。我是 linux 命令窗口的新手。我看到了一些关于编辑 /etc/ld.so.conf 文件的内容,但我不知道该怎么做。任何帮助将不胜感激