min117の日記

初期desireもち。趣味Mac,メインFedora,仕事xp。

MacBookAir ffmpegをインストールする

この記事そのまま実行。

qiita.com

 

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もインストールしてしまっていた気もするが、気にしない。

f:id:min117:20160220143313p:plain

と思ったら。案の定MacPortsでエラーが出た。

port install でやるか。

Mac Ports で ffmpegのインストール - KRAKENBEAL RECORDS

$ port search ffmpeg

f:id:min117:20160220144109p:plain

次はDarwin が古いときた。MacPortsから入れなおしか。

 

このへん参照。

http://www.enomosphere.net/2015/10/04/macports-migration-elcapitan/

El Capitan用のpkgがあった。

www.macports.org

f:id:min117:20160220144927p:plain

f:id:min117:20160220145152p:plain

f:id:min117:20160220145202p:plain

f:id:min117:20160220145214p:plain

f:id:min117:20160220145222p:plain

f:id:min117:20160220145228p:plain

f:id:min117:20160220145237p:plain

インストール完了。セルフアップデートする。

$ sudo port selfupdate

f:id:min117:20160220145556p:plain

無事完了。次は ffmpeg 入れる。

$ sudo port install ffmpeg +gpl +lame +x264 +xvid

f:id:min117:20160220145855p:plain

次は Xcode が古いときた。めんどくさいなぁ。

古いXcodeはアンインストールしちゃえ。

http://support.embarcadero.com/jp/article/44592

Xcode 最新版をインストールする。Appから。

f:id:min117:20160220150551p:plain

なんと。今度はMacbookの容量不足か。めんどくさすぎる。

f:id:min117:20160220150623p:plain