Video Streaming with Apache
Feb 15, 10 by Juan Lebrijo about Streaming, blog, Flash, Web
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/mod_flvx.so
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:

 



 flowplayer("player", "../flowplayer-3.1.4.swf");