モロ屋

酒とケモ耳の力を借りて乱世を生き抜くWeb屋の雑記

さくらVPSにffmpegをいれる

SAKURA Internet [Virtual Private Server SERVICE]

[molo@www3274u ~]$ su -
[root@www3274u ~]# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
[root@www3274u ~]# rpm -Uhv rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
[root@www3274u ~]# yum update
[root@www3274u ~]# yum -y install automake libtool libogg-devel livtheora-devel
[root@www3274u ~]# yum -y install ffmpeg

てきとうに。


Transaction Summary
================================================================================
Install      14 Package(s)
Upgrade       0 Package(s)

Total download size: 9.6 M
Downloading Packages:
(1/14): ffmpeg-libpostproc-0.5.2-2.el5.rf.x86_64.rpm     |  36 kB     00:00     
(2/14): giflib-4.1.3-7.1.el5_3.1.x86_64.rpm              |  39 kB     00:00     
(3/14): libid3tag-0.15.1b-5.el5.x86_64.rpm               |  47 kB     00:00     
(4/14): a52dec-0.7.4-8.el5.rf.x86_64.rpm                 |  82 kB     00:00     
(5/14): faac-1.26-1.el5.rf.x86_64.rpm                    | 154 kB     00:00     
(6/14): cppunit-1.12.0-4.el5.1.x86_64.rpm                | 188 kB     00:00     
(7/14): SDL-1.2.10-8.el5.x86_64.rpm                      | 214 kB     00:00     
(8/14): opencore-amr-0.1.2-1.el5.rf.x86_64.rpm           | 381 kB     00:02     
(9/14): lame-3.98.4-1.el5.rf.x86_64.rpm                  | 587 kB     00:01     
(10/14): libtheora-1.0alpha7-1.x86_64.rpm                | 706 kB     00:00     
(11/14): x264-0.0.0-0.4.20090708.el5.rf.x86_64.rpm       | 884 kB     00:02     
(12/14): imlib2-1.4.4-1.el5.rf.x86_64.rpm                | 968 kB     00:02     
(13/14): ffmpeg-0.5.2-2.el5.rf.x86_64.rpm                | 2.4 MB     00:03     
(14/14): dirac-1.0.2-1.el5.rf.x86_64.rpm                 | 3.1 MB     00:03     
--------------------------------------------------------------------------------
Total                                           432 kB/s | 9.6 MB     00:22     
Running rpm_check_debug

と思ったらffmpegだけでいけるっぽい?


[root@www3274u ~]# ffmpeg
FFmpeg version 0.5.2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC --enable-avfilter --enable-avfilter-lavf --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Jun 13 2010 23:44:18, gcc: 4.1.2 20080704 (Red Hat 4.1.2-48)
At least one output file must be specified

oh.