Step 1: Update the system
sudo yum install epel-release -y
On CentOS 7, you can install the Nux Dextop YUM repo with the following commands:
sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
For CentOS 6, you need to install another release:
sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
Step 2: Install FFmpeg and FFmpeg development packages
sudo yum install ffmpeg ffmpeg-devel -y
Step 3: Test drive
1) Confirm the installation of FFmpeg:
ffmpeg
This command provides detailed info about FFmpeg installed on your system. At the time of writing, the version of FFmpeg installed using Nux dextop is 2.6.8.
If you want to learn more about FFmpeg, input:
ffmpeg -h
To TEST run the below command:
ffmpeg -i test.mp3 -vn -ar 8000 -ac 1 -b:a 16k -f wav test.wav