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 (get the SVN version as the source in the current Ubuntu repository has a compile issue):
- svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
- Next configure and compile the source:
- cd ffmpeg-*
- sudo ./configure --enable-gpl --enable-pp --enable-libvorbis --enable-libogg --enable-liba52 --enable-dc1394 --enable-libgsm --disable-debug --enable-libmp3lame --enable-libfaad --enable-libfaac --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 setup.rb config
- sudo ruby setup.rb setup
- sudo ruby setup.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