下载地址:http://ffmpeg.mplayerhq.hu/download.html#releases
下载文件:ffmpeg-2.0.1.tar.bz2
编译:./configure –prefix=/usr –enable-gpl –enable-shared –enable-version3 –enable-nonfree –enable-libmp3lame –enable-libvorbis –enable-libxvid –enable-libx264 –enable-libfaac –enable-pthreads –disable-ffserver –disable-ffplay –enable-libopencore-amrnb –enable-libopencore-amrwb –enable-libtheora
下面开始解决各种错误:
1,ERROR: libmp3lame >= 3.98.3 not found
http://sourceforge.net/projects/lame/files/lame/
lame-3.99.5.tar.gz
PS:没有多说就是按通常源码安装三板斧进行即可。
2,yasm not found, use –disable-yasm for a crippled build
http://www.tortall.net/projects/yasm/releases/
yasm-1.2.0.tar.gz
[root@localhost yasm-1.2.0]# ./configure
[root@localhost yasm-1.2.0]# make
[root@localhost yasm-1.2.0]# make install
3,ERROR: libfaac not found
http://sourceforge.net/projects/faac/files/faac-src/faac-1.28/
faac-1.28.tar.bz2
编译FAAC-1.28时遇到错误:
mpeg4ip.h:126: error: new declaration ‘char* strcasestr(const char*, const char*)’
解决方法:
从123行开始修改此文件mpeg4ip.h,到129行结束。
修改前:
#ifdef __cplusplus
extern “C” {
#endif
char *strcasestr(const char *haystack, const char *needle);
#ifdef __cplusplus
}
#endif
修改后:
#ifdef __cplusplus
extern “C++” {
#endif
const char *strcasestr(const char *haystack, const char *needle);
#ifdef __cplusplus
}
#endif
再编译:
1035 ./bootstrap
1044 ./configure –with-mp4v2
1045 make
1046 make install
4,ERROR: libopencore_amrnb not found
http://sourceforge.net/projects/opencore-amr/files/opencore-amr/
opencore-amr-0.1.3.tar.gz
1034 ./configure
1035 make
1036 make install
5,ERROR: libvorbis not found
http://downloads.xiph.org/releases/vorbis/
libvorbis-1.3.3.tar.gz
*** Could not run Ogg test program, checking why…
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means Ogg was incorrectly installed
*** or that you have moved Ogg since it was installed.
configure: error: must have Ogg installed!
http://downloads.xiph.org/releases/ogg/?C=M;O=D
libogg-1.3.1.tar.gz
1048 ./configure
1049 make install
6,ERROR: libx264 not found
git clone git://git.videolan.org/x264.git
x264.tar.bz2
1009 ./configure –enable-shared
1010 make
1011 make install
7,ERROR: libxvid not found
http://downloads.xvid.org/downloads/xvidcore-1.3.2.tar.gz
1030 cd build/
1031 ls
1032 cd generic/
1033 ls
1034 ./configure
1035 make
1036 make install
8,ERROR: libtheora not found
http://downloads.xiph.org/releases/theora/?C=M;O=D
libtheora-1.2.0alpha1.tar.gz
1042 tar xzf libtheora-1.2.0alpha1.tar.gz
1043 cd libtheora-1.2.0alpha1
1044 ls
1045 ./configure
1046 make
1047 make install
1048 history
茶杯头甜蜜终章dlc 官方手机版v1.0.0.3
下载火柴人传说暗影格斗内置菜单 最新版v3.0.1
下载荒野乱斗测试服 安卓版v61.10.3
下载荒野乱斗彩虹服 安卓版v61.10.3
下载寒霜启示录 安卓版v1.25.10
寒霜启示录是一款生存模拟游戏,不少玩家可能对于末日都有着自己
末日城堡免广告版 安卓最新版v0.7.1
末日城堡免广告版是一款非常好玩的模拟经营类游戏,内部可以不看
甜蜜人生模拟器 最新版v1.4.5
甜蜜人生模拟器是一款非常好玩的模拟恋爱手游,玩家在这里能够对
武器锻造师内置功能菜单 v10.4
武器锻造师内置菜单版是游戏的破解版本,在该版本中为玩家提供了
开放空间overfield 安卓版v1.0.5
开放空间Overfield是一款箱庭养成经营手游,让你在广阔