Skip to content

Instantly share code, notes, and snippets.

@loong
Last active November 16, 2021 06:52
Show Gist options
  • Star 18 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save loong/b670903c3d8b8977afaa4440b50f48e1 to your computer and use it in GitHub Desktop.
Save loong/b670903c3d8b8977afaa4440b50f48e1 to your computer and use it in GitHub Desktop.
# Taken from https://forums.aws.amazon.com/thread.jspa?messageID=332091
sudo su -
cd /usr/local/bin
mkdir ffmpeg
cd ffmpeg
wget http://ffmpeg.gusari.org/static/64bit/ffmpeg.static.64bit.latest.tar.gz
tar -xzf ffmpeg.static.64bit.latest.tar.gz
ln -s /usr/local/bin/ffmpeg/ffmpeg /usr/bin/ffmpeg
exit
@jaredwa
Copy link

jaredwa commented May 17, 2018

You might have to install from source. To do this, you'll need yasm.

yum install yasm

then you'll want to wget the file here: https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2

You can unzip it as such: tar -vxjf ./ffmpeg-snapshot.tar.bz2

then finally make it as described here: https://github.com/FFmpeg/FFmpeg/blob/master/INSTALL.md

Type ./configure to create the configuration. A list of configure options is printed by running configure --help.

configure can be launched from a directory different from the FFmpeg sources to build the objects out of tree. To do this, use an absolute path when launching configure, e.g. /ffmpegdir/ffmpeg/configure.

Then type make to build FFmpeg. GNU Make 3.81 or later is required.

Type make install to install all binaries and libraries you built.

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment