Install H264 Streaming Module on apache

The H264 Streaming Module is a plug-in which can be installed easily on your  existing Apache/Lighttpd/Nginx webserver. You can seek to any position in  the video, even before it is fully loaded. Version 2.0 is a complete  rewrite. It works with a wider variety of MP4 video files and has faster start/seek times. Adobe recently announced support for H264 video files in their Flash player.

Steaming modules Feature:

Timeshifting seek

Enable your viewers to immediately jump to any part of the video regardless of the length of the video or whether it has all been downloaded yet.

Virtual video clips

You have really long video clips and you don’t want to re-encode them into smaller parts? We also support ‘virtual video clips’, so you can specify to only playback a part of the video or create download links to specific parts of the video.

Network efficiency

The next version will feature ‘bandwidth shaping’ allowing you to stream videos and only use the bandwidth required to view the video over the network.

Encoding

If you are already using the widely adopted MPEG4/H264 industry standard, there is no need to re-encode your MP4 videos, you can use your existing video files.

H264 Streaming Demo :

http://h264.code-shop.com

Flash players supporting H264 Streaming

* FCPlayer by Fastcat Software.
* JW FLV Media Player.
* Flowplayer.

We will be using apxs2, the APache eXtenSion tool, to build and install the module for the Apache server.

Download the source of the H264 Streaming Module for Apache.

cd /usr/src
wget http://h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz
tar -zxvf apache_mod_h264_streaming-2.2.7.tar.gz

Build

cd ./mod_h264_streaming-2.2.7
./configure –with-apxs=`which apxs2`
make
make install

Configuration

Edit the configuration file (in /etc/apache/httpd.conf) so that file

requests ending in “.mp4” are handled by the h264_streaming_module.

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

Start Apache.

/etc/init.d/apache start

Testing

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Install Free SSL Let’s Encrypt plugin in cPanel

Let’s Encrypt is a trusted, open source certificate authority that offers free SSL certificates...

Install nginx as a reverse proxy cPanel plugin

Install Nginx on your cPanel/WHM server using the Engintron cPanel Plugin as a reverse proxy. It...

Powered by WHMCompleteSolution