Using Zencoder with Zend Framework

April 19, 2011 Zend Framework

Zencoder is an API-based online video and audio encoding service. Zencoder converts videos from your website, application, or video library into formats that are compatible with web playback, mobile phone, or any other device you need to support. Zencoder have friendly API and php library. We can use this library with Zend Framework after some modifications. Click here to download modified library.

First we must write js script, that will send ajax request to some Zend Framework controller and will receive response with information about created encoding job

Then write controller, that will create encoding job with some parameters, will update encoding job status or will save to session url of encoded file

Update encoding status script will be as follows

And last, function that retrieves the current encoding status

Official zencoder api documentation: https://app.zencoder.com/docs/api
Author: Sergey Gerashchenko

Jack

May 18, 2011 at 9:51 pm

Just a quick question... How did you modify the Zencoder PHP API? It looks like there isn'ta link provided to the changes you made to the API.
Reply

admin Post Author

May 19, 2011 at 1:36 pm

Hi, Jack. I fixed link in the post, so you can download zip with library now (http://lamp-dev.com/wp-content/uploads/2011/04/Zencoder.zip). Thanks for you reply.
Reply


Leave a Reply

Your email address will not be published