Last Updated:

Installing the H264 Streaming Module for Apache

Categories Apps

Installing the streaming module can be a problem sometimes. This is a simple install guide which worked fine in a standard Cent5/cpanel server:

cd /usr/src
tar -xzvf apache_mod_h264_streaming-2.2.7.tar.gz
cd mod_h264_streaming-2.2.7
./configure --with-apxs='which apxs'
make && make install

add the following entries via vim /usr/local/apache/conf/httpd.conf

AddHandler h264-streaming.extensions .mp4
LoadModule h264_streaming_module /usr/local/apache/modules/


service httpd restart

then, cd to a public_html which is resolving correctly and run

cd /home/user/public_html
wget -O test.mp4 ""

to test:


You will see the opening preview credits in the first link and in the second, it should have the first 55.5 seconds removed from the original video file.