[Libav-user] Issue installing ffmpeg-php on Ubuntu 12.04

Aaron Golub agolub at earthlink.net
Thu Jul 18 02:14:00 CEST 2013


I'm attempting to use your ffmpeg installation for Ubuntu 12.04 and I'm
having trouble getting ffmpeg-php installed.

I successfully installed ffmpeg, but now I'm trying to install ffmpeg-php.
 First I tried using using  apt-get install php5-ffmpeg, but I'm met with
this error:

"The following packages have unmet dependencies:
 php5-ffmpeg : Depends: phpapi-20090626"


I then attempted to install phpapi-20090626, which throws up this error:


Package phpapi-20090626 is a virtual package provided by:
  php5-fpm 5.3.10-1ubuntu3.7 [Not candidate version]
  libapache2-mod-php5filter 5.3.10-1ubuntu3.7 [Not candidate version]
  php5-cli 5.3.10-1ubuntu3.7 [Not candidate version]
  php5-cgi 5.3.10-1ubuntu3.7 [Not candidate version]
  libapache2-mod-php5 5.3.10-1ubuntu3.7 [Not candidate version]
  php5-fpm 5.3.10-1ubuntu3 [Not candidate version]
  libapache2-mod-php5filter 5.3.10-1ubuntu3 [Not candidate version]
  php5-cli 5.3.10-1ubuntu3 [Not candidate version]
  php5-cgi 5.3.10-1ubuntu3 [Not candidate version]
  libapache2-mod-php5 5.3.10-1ubuntu3 [Not candidate version]

E: Package 'phpapi-20090626' has no installation candidate



The thing is, I'm using PHP 5.4.17-1.


So then I attempted to use these directions:
http://mysql-apache-php.com/ffmpeg-install.

When I attempt to compile and install I run into an error saying "configure:
error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared
libraries using the --enable-shared option"

The suggested course of action is to install php-devel, but there is no
such thing  for Ubuntu 12.

Does anyone have any ideas on how I should proceed?

Any help would be greatly appreciated. Thanks!
-- 
Aaron Golub
agolub at earthlink.net
415-260-7857
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130717/8d66bf66/attachment.html>


More information about the Libav-user mailing list