ffmpeg-php on Zend Server CE

I’ve been working on a little project to view photos and videos from a mobile browser using Zend Framework. I’ve gotten so far as to generate a little gallery with real-time thumbnailing and pagination which shows the image at (once again real-time resized) a resolution commonly used by mobiles. Now the next step is being able to show a gallery of video’s and having them stream transcode and stream real-time to my mobile.

Now, my problems started when I wanted to thumbnail the video’s..
I needed the ffmpeg-php extension but I am running Zend Server CE with PHP5.3 on that machine and this confused me a bit since I was only used to compiling extensions using bog standard php5-cli. After a day of messing about and searching online I finally stumbled upon this guide which solved my problem:

http://www.philbayfield.com/2009/10/25/compile-ffmpeg-php-for-php-5-3-yes-it-does-work/

Turns out I missed a few required packages (I think) and Phil also added something to the PATH.
Either way I’m happy to have it working so I can continue ramming the keyboard like the code-monkey I am! :D

Leave a comment

1 Comments.

  1. Thanks for pointing me to that guide.

Leave a Reply


[ Ctrl + Enter ]