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 http://johnvansickle.com/ffmpeg/builds/ffmpeg-git-64bit-static.tar.xz
% tar xJvf ffmpeg-git-64bit-static.tar.xz
% cd ffmpeg-git-20150427-32bit-static
% ./ffmpeg
maybe useful!
http://askubuntu.com/questions/373322/how-to-replace-avconv-with-the-real-ffmpeg-and-have-it-work-right
http://www.ffmpeg.org/download.html
http://johnvansickle.com/ffmpeg/
http://superuser.com/questions/801159/cannot-decompress-tar-xz-file-getting-xz-cannot-exec-no-such-file-or-direct
yum install xz
http://thelinuxfaq.com/258-how-to-install-avconv-on-centos-rhel-7-6
http://stackoverflow.com/questions/11697214/how-to-set-the-tmpdir-environment-variable-to-another-directory
https://www.virag.si/2012/01/web-video-encoding-tutorial-with-ffmpeg-0-9/
https://trac.ffmpeg.org/wiki/Scaling%20(resizing)%20with%20ffmpeg
http://superuser.com/questions/624563/how-to-resize-a-video-to-make-it-smaller-with-ffmpeg