LoginSignup
85
77

More than 5 years have passed since last update.

Ubuntu 14.04 で最新の ffmpeg を簡単かつクリーンにインストールする方法

Last updated at Posted at 2015-10-02

ここからstatic buildをとってくる

最近のffmpegはすごくてlibcその他のライブラリをすべてstatic linkして環境非依存にしたバイナリを配ってる。

したがって以下のようにwgetして解凍して/usr/local/binにでも置けばそれで動いてしまう。

$ wget http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz
$ tar xvf ffmpeg-release-64bit-static.tar.xz
$ sudo cp ./ffmpeg-release-64bit-static/ffmpeg /usr/local/bin

なお、標準のlibcと結合していない関係でDNS resolutionができないという問題があり、これはインターネット上の動画を直接指定してダウンロードしながら処理したい時に問題となる。

解決するためにはnscdをインストールして動かす。
nscdがあると自動でそちらを利用して名前解決してくれる。

$ sudo apt-get install nscd
85
77
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
85
77