Installing mods H264 and FLV streaming means you can seek to any position during video, and browser (flash player) will buffer only from this position to the end.



cd /usr/local/src
tar -zxvf apache_mod_h264_streaming-2.2.7.tar.gz cd mod_h264_streaming-2.2.7 ./configure make make install



cd /usr/local/src

 Since you are using cPanel the Apache development headers are already installed. (If you are using a normal version of centos then use this command first : yum install httpd-devel)

apxs -c -i ./mod_flvx.c


Now we need to declare the modules to ass the modules into apache. I could show you how to manually add it, but it would be removed every time you recompile Apache.

 Open WHM control panel, open Apache Configuration, then clic on Include Editor.
In Pre Main Include select All versions and paste those 4 lines.

AddHandler h264-streaming.extensions .mp4
LoadModule h264_streaming_module /usr/local/apache/modules/
LoadModule flvx_module /usr/lib64/httpd/modules/
AddHandler flv-stream .flv

Clic on Update it will open a new windows asking you to Restart Apache, do it and Voilà !!

Apache Configuration

Now let's just make sure the modules are correctly working after rebooting Apache.

  httpd -M

If you have this two lines in the result, then everything is just fine.

   h264_streaming_module (shared)

   flvx_module (shared)


Share this article
FaceBook  Twitter

Comments (0)

There are no comments posted here yet

About Me

My Name is Mike, I'm 36 years old, and a computer technician from France.

I'm passionate about new technologies, computers and many other Geeky/Nerdy things, such as Cinema, Video Games and Mangas.

I hope you will have a good time here and will excuse me for my bad English, it's still a work in progress, but i really wanted to give it a shot so I could share with as many people as possible.

Recent Comments

No activities found.