ffmpeg-php version HEAD for OS X
The formula for ffmpeg-php was recently updated to version HEAD.
To install ffmpeg-php on your Mac, open your Terminal application and run the following commands;
brew update brew install ffmpeg-php
The updated formula is as follows:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
require 'formula' class FfmpegPhp < Formula homepage 'http://ffmpeg-php.sourceforge.net' head 'http://ffmpeg-php.svn.sourceforge.net/svnroot/ffmpeg-php/trunk/ffmpeg-php' depends_on 'ffmpeg' def install system "phpize" system "./configure", "--disable-debug", "--prefix=#{prefix}", "--with-ffmpeg=#{HOMEBREW_PREFIX}" system "make" prefix.install 'modules/ffmpeg.so' end def caveats; <<-EOS * Add the following line to php.ini: extension="#{prefix}/ffmpeg.so" * Restart your webserver. * Write a PHP page that calls "phpinfo();" * Load it in a browser and look for the info on the ffmpeg module. * If you see it, you have been successful! EOS end end
This package, ffmpeg-php, depends on;
ffmpeg
See which packages depend on ffmpeg-php.













