...
Code Block | ||||
---|---|---|---|---|
| ||||
yum install gcc gcc-c++ git autoconf automake libtool wget -y
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
|
Code Block | ||||
---|---|---|---|---|
| ||||
yum install yasm x264 x264-devel -y
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
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 ..
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
wget https://ffmpeg.org/releases/ffmpeg-3.3.1.tar.gz
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
tar -zxvf ffmpeg-3.3.1.tar.gz
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
cd ffmpeg-3.3.1 ./configure --enable-gpl --enable-libx264 --enable-nonfree --enable-libfdk-aac make && make install yum install ffmpeg ffmpeg-devel -y |
- Finish with some configuration for the library
Code Block | ||||
---|---|---|---|---|
| ||||
export LD_LIBRARY_PATH=/usr/local/lib/
echo /usr/local/lib > /etc/ld.so.conf.d/custom-libs.conf
ldconfig
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
which ffmpeg
|
- Copy the FFMPEG path then add it to
Path to FFMPEG
setting in Admin > Apps > Videos > Settings - Check FFMPEG version and supported video formats in Admin > Apps > Video > FFMPEG Video Utilities
...