simplest way to install FFmpeg on CentOS

After heading to the official ffmpeg download page, click the link under Linux Static Builds.

Click the appropriate (32- or 64-bit) and desired (snapshot or numbered) release to download.

If the libav version of ffmpeg was installed, remove it. The two can not reside on the same machine.

Extract the files (and two directories) as follows:

  • For single-user systems: to $HOME/bin
  • For multi-user setups: to /usr/local/bin

Static build install is done and ffmpeg is ready to use.

% wget
% tar xJvf ffmpeg-git-64bit-static.tar.xz
% cd ffmpeg-git-20150427-32bit-static
% ./ffmpeg

maybe useful!

yum install xz

Leave a Reply

Your email address will not be published. Required fields are marked *