These is a PHP binding for FFMPEG here: http://ffmpeg-php.sourceforge.net/, though most of the tutorials you will find are for the C API, for example http://www.dranger.com/ffmpeg/, which demonstrates how to implement a media player.
Personally I would just skip using the API and use the CLI program to convert the media, and cache/ serve from the resulting file, much easier to implement. > I thought of using FFMPEG but I have a bit of experience with it. > Any links or more specific directions would be great. > > On Sun, Jun 7, 2009 at 7:48 PM, <hessi...@hessiess.com> wrote: > >> > Hi Lista >> > >> > I'm trying to figure how I can turn MP3 files into FLV files on the >> fly >> > using PHP. >> > I'm having a server and I can install 3rd party software in order to >> > accomplish this conversion. >> > >> > I have never dealt before with music file comression or anything >> similar >> > so >> > I don't know what I should look after or where I should look. >> > >> > Any idea would be very appreciated! >> > >> > Thanks! >> > Nitsan >> > >> >> You may want to use some sort of caching, converting media formats is >> very >> computationally demanding. You could use FFMPEG to do the conversion. >> >> > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php