CentOS下yum安装FFmpeg
来源:互联网 发布:学院风服装 知乎 编辑:程序博客网 时间:2024/06/01 08:05
[dag]
name=Dag RPM Repository
for
Red Hat Enterprise Linux
baseurl=http:
//apt
.sw.be
/redhat/el
$releasever
/en/
$basearch
/dag
gpgcheck=0
enabled=1
yum -y
install
ffmpeg
cd
/App/src
wget http:
//ftp
.gnu.org
/gnu/autoconf/autoconf-2
.69.
tar
.xz
tar
xvf autoconf-2.69.
tar
.xz
cd
autoconf-2.69
.
/configure
make
make
install
cd
/App/src
wget http:
//ftp
.gnu.org
/gnu/automake/automake-1
.15.
tar
.xz
tar
xvf automake-1.15.
tar
.xz
cd
automake-1.15
.
/configure
make
make
install
cd
/App/src
wget http:
//ftp
.gnu.org
/gnu/libtool/libtool-2
.4.6.
tar
.xz
tar
xvf libtool-2.4.6.
tar
.xz
cd
libtool-2.4.6
.
/configure
make
make
install
cd
/App/src
wget http:
//www
.tortall.net
/projects/yasm/releases/yasm-1
.3.0.
tar
.gz
tar
xvf yasm-1.3.0.
tar
.gz
cd
yasm-1.3.0
.
/configure
make
make
install
echo
'/usr/local/lib'
>>
/etc/ld
.so.conf.d
/local
.conf
cd
/App/src
wget http:
//jaist
.dl.sourceforge.net
/project/lame/lame/3
.99
/lame-3
.99.5.
tar
.gz
tar
xvf lame-3.99.5.
tar
.gz
cd
lame-3.99.5
.
/configure
make
make
install
#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
cd
/App/src
wget http:
//jaist
.dl.sourceforge.net
/project/faac/faac-src/faac-1
.28
/faac-1
.28.
tar
.bz2
tar
xvf faac-1.28.
tar
.bz2
cd
faac-1.28
.
/bootstrap
.
/configure
--with-mp4v2
#按前文修改mpeg4ip.h内容
make
make
install
cd
/App/src
wget http:
//jaist
.dl.sourceforge.net
/project/opencore-amr/opencore-amr/opencore-amr-0
.1.3.
tar
.gz
tar
xvf opencore-amr-0.1.3.
tar
.gz
cd
opencore-amr-0.1.3
.
/configure
make
make
install
# libvorbis需要libogg,先安装libogg库
cd
/App/src
wget http:
//downloads
.xiph.org
/releases/ogg/libogg-1
.3.2.
tar
.xz
tar
xvf libogg-1.3.2.
tar
.xz
cd
libogg-1.3.2
.
/configure
make
make
install
cd
/App/src
wget http:
//downloads
.xiph.org
/releases/vorbis/libvorbis-1
.3.5.
tar
.xz
tar
xvf libvorbis-1.3.5.
tar
.xz
cd
libvorbis-1.3.5
.
/configure
make
make
install
cd
/App/src
git clone git:
//git
.videolan.org
/x264
.git
cd
x264
.
/configure
--
enable
-shared
make
make
install
cd
/App/src
wget http:
//downloads
.xvid.org
/downloads/xvidcore-1
.3.3.
tar
.bz2
tar
xvf xvidcore-1.3.3.
tar
.bz2
cd
xvidcore
/build/generic
.
/configure
make
make
install
cd
/App/src
wget http:
//downloads
.xiph.org
/releases/theora/libtheora-1
.1.1.
tar
.xz
tar
xvf libtheora-1.1.1.
tar
.xz
cd
libtheora-1.1.1
.
/configure
make
make
install
cd
/App/src
svn co svn:
//svn
.mplayerhq.hu
/nut/src/trunk
libnut
cd
libnut
.
/configure
make
make
install
cd
/App/src
git clone http:
//git
.chromium.org
/webm/libvpx
.git
cd
libvpx
.
/configure
--
enable
-shared
make
make
install
cd
/App/src
wget http:
//ffmpeg
.org
/releases/ffmpeg-2
.6.3.
tar
.bz2
tar
xvf ffmpeg-2.6.3.
tar
.bz2
cd
ffmpeg-2.6.3
.
/configure
--
enable
-version3 --
enable
-libvpx --
enable
-libfaac --
enable
-libmp3lame --
enable
-libvorbis --
enable
-libx264 --
enable
-libxvid --
enable
-gpl --
enable
-postproc --
enable
-nonfree --
enable
-avfilter --
enable
-pthreads --
enable
-libnut --
enable
-libtheora --
enable
-libopencore-amrnb --
enable
-libopencore-amrwb --
enable
-shared
make
make
install
ldconfig
git clone https:
//github
.com
/johnf/m3u8-segmenter
cd
m3u8-segmenter
PKG_CONFIG_PATH=
/usr/local/lib/pkgconfig
.
/configure
make
make
install
ln
-s
/usr/local/bin/m3u8-segmenter
/usr/local/bin/segmenter
yum deplist ffmpeg |
grep
-
v
ffmpeg |
grep
provider |
awk
'{print $2}'
|
sort
-u
rpm -e --nodeps a52dec dirac dirac-libs faac gsm lame libtheora opencore-amr SDL x264
rpm -e --nodeps $(rpm -qa |
grep
-i ffmpeg)
转:http://www.centoscn.com/image-text/install/2015/0523/5512.html
0 0
- CentOS下yum安装FFmpeg
- CentOS下yum安装FFmpeg
- CentOS下yum安装FFmpeg
- 使用yum在centos下安装ffmpeg
- centos yum安装ffmpeg
- centos yum安装ffmpeg
- CentOS yum方式安装ffmpeg
- 使用yum在centos下安装最新版的ffmpeg
- 使用yum在centos下安装最新版的ffmpeg
- 使用yum在centos下安装最新版的ffmpeg
- CentOS下yum安装
- Centos下安装ffmpeg
- CentOS下安装FFMPEG
- centos7下yum安装ffmpeg
- 用yum CentOS在线安装ffmpeg
- centos 使用yum方式安装ffmpeg方法
- CentOS下yum安装MemCached
- CentOS下yum安装MemCached
- Esper企业版介绍(二)Esper HQ / WEB UI
- android:ToolBar详解(手把手教程)
- 判断手机型号
- 在linux上搭建基于ant的android自动化编译系统
- 【学习笔记】虚拟化实现技术架构
- CentOS下yum安装FFmpeg
- Atom如何安装Activate Power Mode
- 深入理解Java的接口和抽象类
- 51CTO hadoop视频全套
- Oracle中如何获取系统当前时间
- Objective-C语法之代码块(block)的使用
- 用JavaScript传递div到新的页面
- java面试题
- Django项目用mod_wsgi部署到Apache2, Ubuntu 14.04