In this post, we will show you how to install ffmpeg and ffmpeg-php on a CentOS 6 VPS with a DirectAdmin control panel. FFmpeg is the leading multimedia framework capable of decoding, encoding, transcoding, recording, converting and streaming digital audio and video in various formats. ffmpeg-php is a PHP extension which is used for accessing and retrieving information from video and audio files from within PHP scripts.
This guide should work on other Linux VPS systems with DirectAdmin installed as well but was tested and written for CentOS 6 VPS.