...
Please follow below steps to install FFMPEG on your Centos server:
Install Library Gcc
Run the command:
Code Block |
---|
| actionscript3 |
---|
| actionscript3 |
---|
|
yum install gcc gcc-c++ git autoconf automake libtool wget -y
|
Install Yasm x264
- On Centos 6, run the command:
Code Block |
---|
| actionscript3 |
---|
| actionscript3 |
---|
|
yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm
|
...
Code Block |
---|
| actionscript3 |
---|
| actionscript3 |
---|
|
yum install yasm x264 x264-devel -y
|
Install AAC
Run all below commands, one by one:
Code Block |
---|
| actionscript3 |
---|
| actionscript3 |
---|
|
mkdir temp
cd temp
git clone https://github.com/mstorsjo/fdk-aac.git
cd fdk-aac
./autogen.sh
./configure --enable-shared --enable-static
make
make install
cd ..
|
Install latest version of FFMPEG from https://ffmpeg.org
For example, will install version 3.3.1.
...