The following is a guide to install the script dependancies on Centos 7. This will install all required dependancies - so ffmpeg, mp4box, x264, imagemagick and youtube-dl. It does not install ioncube, apache, php, mysql, memcached, pecl-memcache, nor any php extensions as the installation process of these is system dependent.
The following must be run as root.
## ADD EPEL REPO AND UPDATE YUM DEPENDANCIES ##
yum -y install epel-release
yum -y update
yum -y install mesa-libGL-devel mesa-libGLU-devel libXi-devel libXmu-devel freeglut-devel SDL-devel alsa-lib-devel freetype-devel giflib gsm gsm-devel imlib2 imlib2-devel libICE-devel libSM-devel libX11-devel libXau-devel libXdmcp-devel libXext-devel libXrandr-devel libXrender-devel libXt-devel libid3tag libogg-devel libvorbis-devel mesa-libGL-devel mesa-libGLU-devel xorg-x11-proto-devel zlib-devel libtheora libtheora-devel glibc gcc gcc-c++ autoconf automake libtool subversion ncurses-devel libdc1394 libdc1394-devel yasm nasm curl libjpeg-turbo-devel
## EOF ##
## INSTALL STATIC FFMPEG ##
cd ~
wget https://mechbunny.com/repo/ffmpeg-release-64bit-static.tar.xz
tar -xvf ffmpeg-release-64bit-static.tar.xz
cd ffmpeg-3.1.2-64bit-static/
cp ff* /usr/bin/
cp ff* /usr/local/bin/
cp qt-faststart /usr/bin/
cp qt-faststart /usr/local/bin/
## EOF ##
## INSTALL GPAC/MP4BOX ##
CENTOS 7
yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm
yum -y install gpac
CENTOS 6
sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-6.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-6.noarch.rpm
yum -y install gpac
## EOF ##
## INSTALL IMAGEMAGICK ##
cd ~
wget https://mechbunny.com/repo/ImageMagick.tar.gz
tar -xzvf ImageMagick.tar.gz
cd ImageMagick-7.0.2-9
./configure && make && make install
ldconfig
## EOF ##
## INSTALL YOUTUBE-DL ##
curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
chmod a+rx /usr/local/bin/youtube-dl
## EOF ##