CentOS 6.3 x86_64にffmpegをインストールした時のメモ
ffmpeg
http://www.ffmpeg.org/
取り敢えず手っ取り早くrpmforgeリポジトリを使ってインストールします
- rpmforgeリポジトリをインストール
- ffmpegの情報を確認
- ffmpegインストール
http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/から最新のリポジトリを探してインストールします
今回はrpmforge-release-0.5.3-1.el6.rf.x86_64.rpmを使用しました
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
[root@host1 ~]# rpm -ivh http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm を取得中 警告: /var/tmp/rpm-tmp.rYbStY: ヘッダ V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY 準備中... ########################################### [100%] 1:rpmforge-release ########################################### [100%] [root@host1 ~]# cat /etc/yum.repos.d/rpmforge.repo ### Name: RPMforge RPM Repository for RHEL 6 - dag ### URL: http://rpmforge.net/ [rpmforge] name = RHEL $releasever - RPMforge.net - dag baseurl = http://apt.sw.be/redhat/el6/en/$basearch/rpmforge mirrorlist = http://mirrorlist.repoforge.org/el6/mirrors-rpmforge #mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge enabled = 1 protect = 0 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag gpgcheck = 1 (snip) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
[root@host1 ~]# yum info ffmpeg Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: ftp.jaist.ac.jp * epel: ftp.jaist.ac.jp * extras: ftp.jaist.ac.jp * rpmforge: ftp.kddilabs.jp * updates: ftp.jaist.ac.jp rpmforge | 1.9 kB 00:00 rpmforge/primary_db | 2.6 MB 00:02 Available Packages Name : ffmpeg Arch : x86_64 Version : 0.6.5 Release : 1.el6.rf Size : 2.7 M Repo : rpmforge Summary : Utilities and libraries to record, convert and stream audio and : video URL : http://ffmpeg.org/ License : GPL Description : FFmpeg is a very fast video and audio converter. It can also grab : from a live audio/video source. : The command line interface is designed to be intuitive, in the : sense that ffmpeg tries to figure out all the parameters, when : possible. You have usually to give only the target bitrate you : want. FFmpeg can also convert from any sample rate to any other, : and resize video on the fly with a high quality polyphase filter. : : Available rpmbuild rebuild options : : --without : lame vorbis theora faad faac gsm xvid x264 a52dec : altivec |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 |
[root@nc ~]# yum install ffmpeg Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: ftp.jaist.ac.jp * epel: ftp.jaist.ac.jp * extras: ftp.jaist.ac.jp * rpmforge: ftp.kddilabs.jp * updates: ftp.jaist.ac.jp Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package ffmpeg.x86_64 0:0.6.5-1.el6.rf will be installed --> Processing Dependency: libpostproc.so.51(LIBPOSTPROC_51)(64bit) for package: ffmpeg-0.6.5-1.el6.rf.x86_64 --> Processing Dependency: a52dec for package: ffmpeg-0.6.5-1.el6.rf.x86_64 --> Processing Dependency: libdc1394.so.22()(64bit) for package: ffmpeg-0.6.5-1.el6.rf.x86_64 --> Processing Dependency: libx264.so.107()(64bit) for package: ffmpeg-0.6.5-1.el6.rf.x86_64 --> Processing Dependency: libva.so.1()(64bit) for package: ffmpeg-0.6.5-1.el6.rf.x86_64 --> Processing Dependency: libmp3lame.so.0()(64bit) for package: ffmpeg-0.6.5-1.el6.rf.x86_64 --> Processing Dependency: libpostproc.so.51()(64bit) for package: ffmpeg-0.6.5-1.el6.rf.x86_64 --> Processing Dependency: libdirac_encoder.so.0()(64bit) for package: ffmpeg-0.6.5-1.el6.rf.x86_64 --> Processing Dependency: librtmp.so.0()(64bit) for package: ffmpeg-0.6.5-1.el6.rf.x86_64 --> Processing Dependency: libopencore-amrnb.so.0()(64bit) for package: ffmpeg-0.6.5-1.el6.rf.x86_64 --> Processing Dependency: libschroedinger-1.0.so.0()(64bit) for package: ffmpeg-0.6.5-1.el6.rf.x86_64 --> Processing Dependency: libopencore-amrwb.so.0()(64bit) for package: ffmpeg-0.6.5-1.el6.rf.x86_64 --> Processing Dependency: libfaac.so.0()(64bit) for package: ffmpeg-0.6.5-1.el6.rf.x86_64 --> Running transaction check ---> Package a52dec.x86_64 0:0.7.4-8.el6.rf will be installed ---> Package dirac-libs.x86_64 0:1.0.2-4.el6 will be installed ---> Package faac.x86_64 0:1.26-1.el6.rf will be installed ---> Package ffmpeg-libpostproc.x86_64 0:0.6.5-1.el6.rf will be installed ---> Package lame.x86_64 0:3.99.5-1.el6.rf will be installed ---> Package libdc1394.x86_64 0:2.1.2-3.4.el6 will be installed ---> Package librtmp.x86_64 0:2.3-1.el6.rf will be installed ---> Package libva.x86_64 0:1.0.15-1.el6 will be installed ---> Package opencore-amr.x86_64 0:0.1.2-1.el6.rf will be installed ---> Package schroedinger.x86_64 0:1.0.10-1.el6.rf will be installed --> Processing Dependency: liborc-0.4.so.0()(64bit) for package: schroedinger-1.0.10-1.el6.rf.x86_64 ---> Package x264.x86_64 0:0.0.0-0.4.20101111.el6.rf will be installed --> Running transaction check ---> Package orc.x86_64 0:0.4.16-6.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: ffmpeg x86_64 0.6.5-1.el6.rf rpmforge 2.7 M Installing for dependencies: a52dec x86_64 0.7.4-8.el6.rf rpmforge 89 k dirac-libs x86_64 1.0.2-4.el6 epel 335 k faac x86_64 1.26-1.el6.rf rpmforge 140 k ffmpeg-libpostproc x86_64 0.6.5-1.el6.rf rpmforge 24 k lame x86_64 3.99.5-1.el6.rf rpmforge 647 k libdc1394 x86_64 2.1.2-3.4.el6 base 117 k librtmp x86_64 2.3-1.el6.rf rpmforge 106 k libva x86_64 1.0.15-1.el6 epel 53 k opencore-amr x86_64 0.1.2-1.el6.rf rpmforge 417 k orc x86_64 0.4.16-6.el6 epel 146 k schroedinger x86_64 1.0.10-1.el6.rf rpmforge 591 k x264 x86_64 0.0.0-0.4.20101111.el6.rf rpmforge 1.0 M Transaction Summary ================================================================================ Install 13 Package(s) Total download size: 6.3 M Installed size: 19 M Is this ok [y/N]: y Downloading Packages: (1/13): a52dec-0.7.4-8.el6.rf.x86_64.rpm | 89 kB 00:00 (2/13): dirac-libs-1.0.2-4.el6.x86_64.rpm | 335 kB 00:00 (3/13): faac-1.26-1.el6.rf.x86_64.rpm | 140 kB 00:00 (4/13): ffmpeg-0.6.5-1.el6.rf.x86_64.rpm | 2.7 MB 00:01 (5/13): ffmpeg-libpostproc-0.6.5-1.el6.rf.x86_64.rpm | 24 kB 00:00 (6/13): lame-3.99.5-1.el6.rf.x86_64.rpm | 647 kB 00:00 (7/13): libdc1394-2.1.2-3.4.el6.x86_64.rpm | 117 kB 00:00 (8/13): librtmp-2.3-1.el6.rf.x86_64.rpm | 106 kB 00:00 (9/13): libva-1.0.15-1.el6.x86_64.rpm | 53 kB 00:00 (10/13): opencore-amr-0.1.2-1.el6.rf.x86_64.rpm | 417 kB 00:00 (11/13): orc-0.4.16-6.el6.x86_64.rpm | 146 kB 00:00 (12/13): schroedinger-1.0.10-1.el6.rf.x86_64.rpm | 591 kB 00:00 (13/13): x264-0.0.0-0.4.20101111.el6.rf.x86_64.rpm | 1.0 MB 00:00 -------------------------------------------------------------------------------- Total 1.3 MB/s | 6.3 MB 00:04 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Warning: RPMDB altered outside of yum. Installing : faac-1.26-1.el6.rf.x86_64 1/13 Installing : libdc1394-2.1.2-3.4.el6.x86_64 2/13 Installing : orc-0.4.16-6.el6.x86_64 3/13 Installing : schroedinger-1.0.10-1.el6.rf.x86_64 4/13 Installing : libva-1.0.15-1.el6.x86_64 5/13 Installing : lame-3.99.5-1.el6.rf.x86_64 6/13 Installing : dirac-libs-1.0.2-4.el6.x86_64 7/13 Installing : opencore-amr-0.1.2-1.el6.rf.x86_64 8/13 Installing : x264-0.0.0-0.4.20101111.el6.rf.x86_64 9/13 Installing : a52dec-0.7.4-8.el6.rf.x86_64 10/13 Installing : librtmp-2.3-1.el6.rf.x86_64 11/13 Installing : ffmpeg-0.6.5-1.el6.rf.x86_64 12/13 Installing : ffmpeg-libpostproc-0.6.5-1.el6.rf.x86_64 13/13 Verifying : ffmpeg-libpostproc-0.6.5-1.el6.rf.x86_64 1/13 Verifying : librtmp-2.3-1.el6.rf.x86_64 2/13 Verifying : a52dec-0.7.4-8.el6.rf.x86_64 3/13 Verifying : x264-0.0.0-0.4.20101111.el6.rf.x86_64 4/13 Verifying : opencore-amr-0.1.2-1.el6.rf.x86_64 5/13 Verifying : schroedinger-1.0.10-1.el6.rf.x86_64 6/13 Verifying : dirac-libs-1.0.2-4.el6.x86_64 7/13 Verifying : lame-3.99.5-1.el6.rf.x86_64 8/13 Verifying : libva-1.0.15-1.el6.x86_64 9/13 Verifying : orc-0.4.16-6.el6.x86_64 10/13 Verifying : libdc1394-2.1.2-3.4.el6.x86_64 11/13 Verifying : ffmpeg-0.6.5-1.el6.rf.x86_64 12/13 Verifying : faac-1.26-1.el6.rf.x86_64 13/13 Installed: ffmpeg.x86_64 0:0.6.5-1.el6.rf Dependency Installed: a52dec.x86_64 0:0.7.4-8.el6.rf dirac-libs.x86_64 0:1.0.2-4.el6 faac.x86_64 0:1.26-1.el6.rf ffmpeg-libpostproc.x86_64 0:0.6.5-1.el6.rf lame.x86_64 0:3.99.5-1.el6.rf libdc1394.x86_64 0:2.1.2-3.4.el6 librtmp.x86_64 0:2.3-1.el6.rf libva.x86_64 0:1.0.15-1.el6 opencore-amr.x86_64 0:0.1.2-1.el6.rf orc.x86_64 0:0.4.16-6.el6 schroedinger.x86_64 0:1.0.10-1.el6.rf x264.x86_64 0:0.0.0-0.4.20101111.el6.rf Complete! |