pepoとネットワークを語ろう

40年前からこれまでとこれからのネットワークを語る

ffmpegをgitからfree版を構築してみたよ(^o^)丿

2012-06-08 05:36:48 | くじら伝説

http://dag.wieers.comのffmpegはどうもnofreeのパッケージなため自前でfree版のffmpegをgitから構築してみたよ

まずはgitでcloneを作成
[root@fedora15 src]# git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg

Cloning into ffmpeg...
remote: Counting objects: 227275, done.
remote: Compressing objects: 100% (52649/52649), done.

[root@fedora15 src]# cd ffmpeg/
[root@fedora15 ffmpeg]# ls
COPYING.GPLv2 Makefile ffmpeg.c libpostproc
COPYING.GPLv3 README ffplay.c library.mak
COPYING.LGPLv2.1 RELEASE ffprobe.c libswresample
COPYING.LGPLv3 arch.mak ffserver.c libswscale
CREDITS cmdutils.c libavcodec mt-work
Changelog cmdutils.h libavdevice presets
Doxyfile cmdutils_common_opts.h libavfilter tests
INSTALL common.mak libavformat tools
LICENSE configure libavresample version.sh
MAINTAINERS doc libavutil
[root@fedora15 ffmpeg]#

[root@fedora15 ffmpeg]# ./configure --extra-version=20120603-pepo --prefix=/usr --enable-gpl --enable-postproc --enable-pthreads --enable-shared --enable-swscale --disable-doc
[root@fedora15 ffmpeg]# make
[root@fedora15 ffmpeg]# make install

でインストールできたffmpegのライセンスを表示させると
[root@~]# ffmpeg -L

ffmpeg version 0.10.2.git-20120603-pepo Copyright (c) 2000-2012 the FFmpeg developers
built on Jun 3 2012 19:41:10 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
configuration: --extra-version=20120603-pepo --prefix=/usr --enable-gpl --enable-postproc --enable-pthreads --enable-shared --enable-swscale --disable-doc
libavutil 51. 56.100 / 51. 56.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.101 / 54. 6.101
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
ffmpeg is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

ffmpeg is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with ffmpeg; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
[root@~]#

fmpeg is free software; you can redistribute it and/or modify
でfree版が出来ましたとさOK!
 

pepo