This tutorial is only for *nix installations. If you know how to do this for windows, please feel free to contact me to add it.
Installation on Debian/Ubuntu
- First of all you need to install the build packages for Ffmpeg to be able to encode sound with FLV:
sudo apt-get build-dep ffmpeg
sudo apt-get install liblame-dev libfaad2-dev libfaac-dev libxvidcore4-dev liba52-0.7.4 liba52-0.7.4-dev libx264-dev checkinstall build-essential gcc
- Next, go to your home directory and get the sourcecode:
sudo apt-get source ffmpeg
- Next configure and compile the source:
cd ffmpeg-*
sudo ./configure --enable-gpl --enable-pp --enable-vorbis --enable-libogg \
--enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug \
--enable-mp3lame --enable-faad --enable-faac --enable-xvid --enable-pthreads \
--enable-x264
sudo make
sudo checkinstall
- Next we need to install FLVtools2. This requires Ruby to be installed:
sudo apt-get install ruby
- Get the FLVTools source from here
- Untar the source and set up:
sudo ruby install.rb config
sudo ruby install.rb setup
sudo ruby install.rb install
- Your installation is now set up. Make sure to configure your paths in the ffmpeg.php file in the vendors folder, also make sure your write permissions are set up for the webroot/files directory to chmod 755