Installing "ffmpeg" and "libmp3lame" manually - MichaelBelgium/Youtube-API GitHub Wiki
If you have ffmpeg in yum
or apt-get
this is not needed. I had to do this manually as I'm using Centos 6.x
libmp3lame
First i had to install libmp3lame
- ffmpeg uses this.
mkdir ffmpeg_sources && cd ffmpeg_sources
wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
tar xzvf lame-3.99.5.tar.gz
cd lame-3.99.5
./configure
make
make install
lame
ffmpeg
Then ffmpeg; I work with Centos 6.x so the most updated ffmpeg is not available in yum
wget https://www.ffmpeg.org/releases/ffmpeg-3.3.2.tar.gz
tar xfz ffmpeg-3.3.2.tar.gz
cd ffmpeg-3.3.2
./configure --enable-libmp3lame --disable-yasm
make
make install
Aftwards ffmpeg was installed in /usr/local/bin/ffmpeg
which then I needed to specify in convert.php