ffmpeg インストール ログ

ただのログ..

port selfupdate

qaz76-no-MacBook-Pro:ffmeg qaz76$ sudo port selfupdate
Password:
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.1.1 installed,
MacPorts base version 2.1.2 downloaded.
--->  Updating the ports tree
--->  MacPorts base is outdated, installing new version 2.1.2
Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl
The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated

port selfupdate

qaz76-no-MacBook-Pro:ffmeg qaz76$ sudo port upgrade outdated
Password:
--->  Fetching archive for gperf

(ry

--->  Cleaning wget
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.

port install git-core

qaz76-no-MacBook-Pro:ffmeg qaz76$ sudo port install git-core
Password:
--->  Computing dependencies for git-core

(ry

--->  Cleaning git-core
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.

git clone

qaz76-no-MacBook-Pro:ffmeg qaz76$ git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
Cloning into 'ffmpeg'...
remote: Counting objects: 279736, done.
remote: Compressing objects: 100% (62122/62122), done.
remote: Total 279736 (delta 221484), reused 275125 (delta 217168)
Receiving objects: 100% (279736/279736), 69.23 MiB | 1.34 MiB/s, done.
Resolving deltas: 100% (221484/221484), done.
Checking out files: 100% (3388/3388), done.

configure

qaz76-no-MacBook-Pro:ffmeg qaz76$ cd ffmpeg/
qaz76-no-MacBook-Pro:ffmpeg qaz76$ ./configure 
yasm not found, use --disable-yasm for a crippled build

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.

yasmが無いって怒られる;
淹れる。

qaz76-no-MacBook-Pro:ffmeg qaz76$ wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
--2013-01-26 13:38:34--  http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
www.tortall.net (www.tortall.net) をDNSに問いあわせています... 69.55.238.110
www.tortall.net (www.tortall.net)|69.55.238.110|:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 1436502 (1.4M) [application/x-gzip]
`yasm-1.2.0.tar.gz' に保存中

100%[=========================================================================>] 1,436,502    435KB/s 時間 3.2s   

2013-01-26 13:38:38 (435 KB/s) - `yasm-1.2.0.tar.gz' へ保存完了 [1436502/1436502]
qaz76-no-MacBook-Pro:ffmeg qaz76$ tar zxf yasm-1.2.0.tar.gz 
qaz76-no-MacBook-Pro:ffmeg qaz76$ cd yasm-1.2.0
qaz76-no-MacBook-Pro:yasm-1.2.0 qaz76$ ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes

(ry

config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
qaz76-no-MacBook-Pro:yasm-1.2.0 qaz76$ sudo make install
Password:
gcc -std=gnu99  -I.  \
	  -c -o genperf.o `test -f tools/genperf/genperf.c || echo './'`tools/genperf/genperf.c

(ry

test -z "/usr/local/include" || config/install-sh -c -d "/usr/local/include"
 /usr/bin/install -c -m 644 libyasm-stdint.h '/usr/local/include'

qaz76-no-MacBook-Pro:yasm-1.2.0 qaz76$ ls /usr/local/bin/yasm 
/usr/local/bin/yasm

改めて。。

qaz76-no-MacBook-Pro:yasm-1.2.0 qaz76$ cd /tmp/ffmeg/ffmpeg/
qaz76-no-MacBook-Pro:ffmpeg qaz76$ ./configure 
install prefix            /usr/local
source path               .
C compiler                gcc

(ry


Enabled outdevs:

License: LGPL version 2.1 or later
Creating config.mak and config.h...

make install

qaz76-no-MacBook-Pro:ffmpeg qaz76$ sudo make install
Password:
HOSTCC	doc/print_options.o
In file included from doc/print_options.c:104:
./libavcodec/options_table.h: In function ‘show_codec_opts’:

(ry

INSTALL	libavutil/avconfig.h
INSTALL	libavutil/libavutil.pc

qaz76-no-MacBook-Pro:ffmpeg qaz76$ ffmpeg
ffmpeg version N-49302-gc8f25ca Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 26 2013 14:00:09 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
  configuration: 
  libavutil      52. 16.100 / 52. 16.100
  libavcodec     54. 91.100 / 54. 91.100
  libavformat    54. 61.104 / 54. 61.104
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 33.101 /  3. 33.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

\(^o^)/オワタ