Page tree
Skip to end of metadata
Go to start of metadata

Purpose of this document is provide detail steps to install and set up FFMPEG for using upload feature of phpFox Videos app on server Centos 6/7.

Install FFMPEG

Please follow below steps to install FFMPEG on your Centos server:

Install Library Gcc

Run the command:

yum install gcc gcc-c++ git autoconf automake libtool wget -y

Install Yasm x264

  • On Centos 6, run the command:
yum localinstall --nogpgcheck
  • On Centos 7, run the commands:
yum localinstall --nogpgcheck
yum install yasm x264 x264-devel -y

Install AAC

Run all below commands, one by one:

mkdir temp
cd temp
git clone
cd fdk-aac
./configure --enable-shared --enable-static
make install
cd ..

Install latest version of FFMPEG from

For example, will install version 3.3.1.

  • Download the package:
  • Extract archive:
tar -zxvf ffmpeg-3.3.1.tar.gz
  • Install FFMPEG
cd ffmpeg-3.3.1
yum install ffmpeg ffmpeg-devel -y
  • Finish with some configuration for the library
export LD_LIBRARY_PATH=/usr/local/lib/
echo /usr/local/lib > /etc/

Configure Video FFMPEG path for the app

  • Run below command to get FFMPEG path
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

  • No labels