Last active
September 11, 2015 01:16
-
-
Save goodfeel/f34cde90fd1e46d04aec to your computer and use it in GitHub Desktop.
Install ffmpeg on Amazon AMI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
As Amazon AMI is a subset of Redhat so most of the tutorials will turn you to `yum` by adding or configuring some repo config file which those repo is old and tutorials are no longer valid. | |
To make it super easy, I would recommend you to use a static build of `ffmpeg` which you can find it at: | |
http://johnvansickle.com/ffmpeg/ | |
Get a latest stable release version (the 3rd or 4th line e.g. 2.5 at the moment of writing) not the 1st - 2nd line which is considerable as a unreleased build and maybe unstable. You can go ahead and copy a download link which correct to your machine CPU architecture e.g. 64bits | |
After that `ssh` to your Amazon EC2 and do: | |
``` | |
cd ~/ | |
wget <package link> | |
tar xf <package name>.xz | |
cd <package name + version> | |
(You should see ffmpeg in here along with other builds) | |
sudo cp ffmpeg /usr/local/bin | |
``` | |
Now try run `ffmpeg` and you should be able to convert any VDO! Without build it or having a hard time to figure out how to install it with `yum` | |
Please note that, this is an easiest way not the best way (e.g. build it by yourself on host machine) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment