Skip to content

Instantly share code, notes, and snippets.

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
sudo su -
cd /usr/local/bin
mkdir ffmpeg
cd ffmpeg
tar -xzf ffmpeg.static.64bit.latest.tar.gz
ln -s /usr/local/bin/ffmpeg/ffmpeg /usr/bin/ffmpeg
Copy link

ocramot commented Nov 30, 2017

404 - not found

Copy link

mukk85 commented Dec 5, 2017

Change the wget and tar lines to the following and it should work.

tar -xf ffmpeg-release-64bit-static.tar.xz

Copy link

Thank you!
But how to check whether its installed or not.
When I try to run ffmpeg command.
Its showing bash: ffmpeg: command not found

Copy link

Try whereis ffmpeg If you get a response of ffmpeg: /usr/bin/ffmpeg /usr/local/bin/ffmpeg then it's probably a directory change required e.g.

cd /user/local/bin/ffmpeg/
sudo mv ffmpeg-3.4.2-64bit-static/* .

Now the command ffmpeg should work.

It would be great if the script could do this no matter the version number in the middle of this folder

Copy link

morugu commented May 16, 2018


404 not found

Copy link

Eugst commented May 16, 2018
This guy tired to support it.

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:

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

then finally make it as described here:

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