Development Blog With Code Updates : Developercast.com

May 25, 2007

Vexxblog: How to convert/encode files to FLV using FFMPEG & PHP

Filed under: Development — @ 9:27 am

From the Vexxblog, there’s this new tutorial that shows how, with FFMPEG and PHP, to convert and encode files to the FLV format.

So, as I’ve written in an earlier article on how to install FFMPEG on your server, while there are those who probably use a “YouTube Clone” script, there might be those who want to create their own using FFMPEG & PHP. FLV is the most widely used type of codec that runs on most Flash players.

The tutorial started with a diagram that outlines how the mini-app will work and is followed by the source. The script sets up the environment then grabs the file and sends it to the FFMPEG handler to be parsed and output as the FLV file (courtesy of a few handy command line parameters).

1 Comment »

  1. i do yhe same example but ihave
    Fatal error: Call to undefined function: getaudiobitrate()
    so if there any solution please reply me on my email adress

    Comment by mohammed — June 14, 2007 @ 3:20 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress