LoginSignup
2
1

More than 5 years have passed since last update.

cloud9にffmpegをインストールする

Posted at

0.ffmpegとbrewのバージョン確認

前提条件:cloud9、テンプレートはPHPを選択

・ffmpegのバージョン確認

$ ffmpeg -version
-bash: ffmpeg: command not found

・brewのバージョン確認

$ brew -v
bash: brew: command not found

両方ともインストールされていないことを確認する。

1.Linex brew をインストールする。

$ sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev
$ sudo apt-get install gettext
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
$ test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
$ test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
$ test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile
$ echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
$ brew install hello

2.ffmpeg をインストールする。

$ brew install ffmpeg
$ brew install imagemagick

3.終わりに

とりあえずこれでインストールはできます。

4.参考URL

https://qiita.com/thermes/items/926b478ff6e3758ecfea
https://qiita.com/Ryosuke-Hujisawa/items/6a1c47d31ac299dc1c46
http://linuxbrew.sh/

2
1
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
2
1