Video Streaming with Apache

In this post I will show you how I have mounted a streaming video server like youtube with my Apache server. Nwadays is one choice to do pseudostreaming that we know . The idea was inserting a video in a customer page, and show my video cv at my web curriculum.

Install the development package for Apache to compile the streaming module:

apt-get install apache-dev apache2-threaded-dev

Download theFLV streaming module, and compile it:

apxs2 -i -a -c mod_flvx.c

Now Apache must to load the module when boot, and make a stream forevery flv file.Create flvx.load flie:

LoadModule flvx_module /usr/lib/apache2/modules/

And flvx.conf with:

AddHandler flv-stream .flv

To load it when apache boots, copy them into:

  • /etc/apache2/mods-available/
  • /etc/apache2/mods-enabled/

To see the videos the client mus download in the begining a flash video player wich manage the video transmision. We choose flash Flowplayer, so it seems good and have a GPL version (GPL).

You must add the Javascript library at the header of your page, and locate in your page:

<!-- this will install flowplayer inside previous A- tag. -->
 flowplayer("player", "../flowplayer-3.1.4.swf");

4 thoughts on “Video Streaming with Apache

  1. Hey mahn nice…:)

    I’m working on same but I want to configure ‘xampp’ in ‘win7’ for video streaming. It would be of a great help if you can tell me about it
    just give me links where to find out that…

Leave a Reply

Your email address will not be published. Required fields are marked *