Archive for the tag 'FLV'

mod_flvx FLV Progressive download streaming for Apache 2

If you are using cpanel server you should have already installed Apache. Make sure that you have apache 2.2 version on the server or else you might have errors during compiling mod_flv.

Download mod_flvx.c from http://github.com/osantana/mod_flvx

cd /usr/src

wget http://github.com/osantana/mod_flvx/blob/master/mod_flvx.c

Compile and install module:

/usr/local/apache/bin/apxs -i -a -c mod_flvx.c

Add the following handler in /usr/local/apache/conf/httpd.conf

AddHandler flv-stream .flv

Reload configuration:

service httpd restart

or

kill -1 `cat /usr/local/apache2/logs/httpd.pid`