Lighttpd For x264 and FLV streaming

       

December 29, 2009 Server Administration

Tech tipsComputer Tricks

First of all u have to get some stuff…

yum install pcre pcre-devel glib2 glib2-devel

and then lets beggin…

wget http://h264.code-shop.com/download/lighttpd-1.5.0_mod_h264_streaming-2.2.6.tar.gz
tar -zxvf lighttpd-1.5.0_mod_h264_streaming-2.2.6.tar.gz
cd lighttpd-1.5.0
./configure --enable-maintainer-mode --prefix=${HOME} (usually i use /lighttpd for home folder)
make
make install
and viola..  you got your stream server installed...
now some stuff to add to config
nano lighttpd.conf
server.modules = (
  ...,
  "mod_h264_streaming",
  "mod_flv_streaming",
  ...
)
h264-streaming.extensions = ( ".mp4" )
flv-streaming.extensions = ( ".flv" )
and your done..
 now to start yor server and stream...
/lighttpd/sbin/lighttpd -f /location_of_your_lighttpd.conf
and its up and runnig...
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • blogmarks
  • Fark
  • LinkedIn
  • MSN Reporter
  • MySpace
  • Reddit
  • Socialogs
  • StumbleUpon
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

Tags:

Leave a Reply