php5 ffmpeg FreeBSD
ставим ffmpeg
подключаем
phpinfo или php -i
установка проверена под
Port: php5-ffmpeg-0.6.0_7
Path: /usr/ports/graphics/php5-ffmpeg
Info: The ffmpeg shared extension for php
подключаем
/usr/local/etc/php/extensions.ini
extension=ffmpeg.so
phpinfo или php -i
ffmpegffmpeg-php version 0.6.0-svn
ffmpeg-php built on Oct 21 2012 23:22:22
ffmpeg-php gd support enabled
ffmpeg libavcodec version Lavc52.123.0
ffmpeg libavformat version Lavf52.111.0
ffmpeg swscaler version SwS0.14.1
установка проверена под
php -v
PHP 5.3.16 with Suhosin-Patch (cli) (built: Sep 6 2012 18:51:57)
Copyright © 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright © 1998-2012 Zend Technologies
with the ionCube PHP Loader v4.0.10, Copyright © 2002-2011, by ionCube Ltd.