嘗試從source code方式編譯,總是不得法沒有辦法, 先滿足工作需要用yum方式吧,
利用資源:
http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
一個是32bits, 一個是64bits
安裝還算順利
[root@vlc ~]# wget -c http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
--01:22:38-- http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
Resolving apt.sw.be... 193.1.193.67
Connecting to apt.sw.be|193.1.193.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16697 (16K) [application/x-redhat-package-manager]
--01:22:41-- (try: 2) http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
Reusing existing connection to apt.sw.be:80.
HTTP request sent, awaiting response... 200 OK
Length: 16697 (16K) [application/x-redhat-package-manager]
Saving to: `rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm'
100%[=======================================>] 16,697 18.6K/s in 0.9s
01:22:42 (18.6 KB/s) - `rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm' saved [16697/16697]
[root@vlc ~]# rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
warning: rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing... ########################################### [100%]
1:rpmforge-release ########################################### [100%]
[root@vlc ~]# yum install ffmpeg
Loaded plugins: security
rpmforge | 1.1 kB 00:00
primary.xml.gz | 3.4 MB 00:21
rpmforge 9424/9424
dag | 1.1 kB 00:00
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package ffmpeg.x86_64 0:0.5-2.el5.rf set to be updated
--> Processing Dependency: a52dec for package: ffmpeg
--> Processing Dependency: libdirac_decoder.so.0()(64bit) for package: ffmpeg
--> Processing Dependency: libfaad.so.0()(64bit) for package: ffmpeg
--> Processing Dependency: libamrnb.so.3()(64bit) for package: ffmpeg
--> Processing Dependency: libpostproc.so.51()(64bit) for package: ffmpeg
--> Processing Dependency: libamrwb.so.3()(64bit) for package: ffmpeg
--> Processing Dependency: libImlib2.so.1()(64bit) for package: ffmpeg
--> Processing Dependency: libdirac_encoder.so.0()(64bit) for package: ffmpeg
--> Processing Dependency: libx264.so.68()(64bit) for package: ffmpeg
--> Running transaction check
---> Package a52dec.x86_64 0:0.7.4-8.el5.rf set to be updated
---> Package x264.x86_64 0:0.0.0-0.4.20090708.el5.rf set to be updated
---> Package imlib2.x86_64 0:1.4.0-1.el5.rf set to be updated
--> Processing Dependency: libid3tag.so.0()(64bit) for package: imlib2
---> Package faad2.x86_64 0:2.6.1-1.el5.rf set to be updated
---> Package amrwb.x86_64 0:7.0.0.3-1.el5.rf set to be updated
---> Package amrnb.x86_64 0:7.0.0.2-1.el5.rf set to be updated
---> Package ffmpeg-libpostproc.x86_64 0:0.5-2.el5.rf set to be updated
---> Package dirac.x86_64 0:1.0.2-1.el5.rf set to be updated
--> Processing Dependency: libcppunit-1.12.so.0()(64bit) for package: dirac
--> Running transaction check
---> Package cppunit.x86_64 0:1.12.0-3.el5.rf set to be updated
---> Package libid3tag.x86_64 0:0.15.1b-3.el5.rf set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
ffmpeg x86_64 0.5-2.el5.rf rpmforge 2.4 M
Installing for dependencies:
a52dec x86_64 0.7.4-8.el5.rf rpmforge 82 k
amrnb x86_64 7.0.0.2-1.el5.rf rpmforge 237 k
amrwb x86_64 7.0.0.3-1.el5.rf rpmforge 192 k
cppunit x86_64 1.12.0-3.el5.rf rpmforge 825 k
dirac x86_64 1.0.2-1.el5.rf rpmforge 3.1 M
faad2 x86_64 2.6.1-1.el5.rf rpmforge 337 k
ffmpeg-libpostproc x86_64 0.5-2.el5.rf rpmforge 37 k
imlib2 x86_64 1.4.0-1.el5.rf rpmforge 977 k
libid3tag x86_64 0.15.1b-3.el5.rf rpmforge 78 k
x264 x86_64 0.0.0-0.4.20090708.el5.rf rpmforge 884 k
Transaction Summary
================================================================================
Install 11 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 9.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/11): ffmpeg-libpostproc-0.5-2.el5.rf.x86_64.rpm | 37 kB 00:01
(2/11): libid3tag-0.15.1b-3.el5.rf.x86_64.rpm | 78 kB 00:01
(3/11): a52dec-0.7.4-8.el5.rf.x86_64.rpm | 82 kB 00:00
(4/11): amrwb-7.0.0.3-1.el5.rf.x86_64.rpm | 192 kB 00:01
(5/11): amrnb-7.0.0.2-1.el5.rf.x86_64.rpm | 237 kB 00:01
(6/11): faad2-2.6.1-1.el5.rf.x86_64.rpm | 337 kB 00:08
(7/11): cppunit-1.12.0-3.el5.rf.x86_64.rpm | 825 kB 00:18
(8/11): x264-0.0.0-0.4.20090708.el5.rf.x86_64.rpm | 884 kB 00:10
(9/11): imlib2-1.4.0-1.el5.rf.x86_64.rpm | 977 kB 00:07
(10/11): ffmpeg-0.5-2.el5.rf.x86_64.rpm | 2.4 MB 00:17
(11/11): dirac-1.0.2-1.el5.rf.x86_64.rpm | 3.1 MB 00:14
--------------------------------------------------------------------------------
Total 98 kB/s | 9.0 MB 01:33
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : faad2 [ 1/11]
Installing : amrnb [ 2/11]
Installing : cppunit [ 3/11]
Installing : dirac [ 4/11]
Installing : amrwb [ 5/11]
Installing : a52dec [ 6/11]
Installing : libid3tag [ 7/11]
Installing : imlib2 [ 8/11]
Installing : x264 [ 9/11]
Installing : ffmpeg [10/11]
Installing : ffmpeg-libpostproc [11/11]
Installed: ffmpeg.x86_64 0:0.5-2.el5.rf
Dependency Installed: a52dec.x86_64 0:0.7.4-8.el5.rf amrnb.x86_64 0:7.0.0.2-1.el5.rf amrwb.x86_64 0:7.0.0.3-1.el5.rf cppunit.x86_64 0:1.12.0-3.el5.rf dirac.x86_64 0:1.0.2-1.el5.rf faad2.x86_64 0:2.6.1-1.el5.rf ffmpeg-libpostproc.x86_64 0:0.5-2.el5.rf imlib2.x86_64 0:1.4.0-1.el5.rf libid3tag.x86_64 0:0.15.1b-3.el5.rf x264.x86_64 0:0.0.0-0.4.20090708.el5.rf
Complete!
[root@vlc ~]#
没有评论:
发表评论