この記事そのまま実行。
brew install --use-clang --HEAD ffmpeg --with-faac --with-fdk-aac --with-ffplay --with-fontconfig --with-freetype --with-frei0r --with-libass --with-libbluray --with-libcaca --with-libquvi --with-libsoxr --with-libvidstab --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-openssl --with-opus --with-rtmpdump --with-speex --with-theora --with-tools --with-x265 --enable-libx264 --enable-gpl --enable-libxvid --enable-shared
brewでのインストールのようだ。以前Macportもインストールしてしまっていた気もするが、気にしない。
と思ったら。案の定MacPortsでエラーが出た。
port install でやるか。
Mac Ports で ffmpegのインストール - KRAKENBEAL RECORDS
$ port search ffmpeg
次はDarwin が古いときた。MacPortsから入れなおしか。
このへん参照。
http://www.enomosphere.net/2015/10/04/macports-migration-elcapitan/
El Capitan用のpkgがあった。
インストール完了。セルフアップデートする。
$ sudo port selfupdate
無事完了。次は ffmpeg 入れる。
$ sudo port install ffmpeg +gpl +lame +x264 +xvid
次は Xcode が古いときた。めんどくさいなぁ。
古いXcodeはアンインストールしちゃえ。
http://support.embarcadero.com/jp/article/44592
Xcode 最新版をインストールする。Appから。
なんと。今度はMacbookの容量不足か。めんどくさすぎる。