We provide both a binary and a source version.


Lighttpd 1.4.18 + mod_h264_streaming

Souces can be downloaded from svn:

cd ~

svn co lighttpd-1.4.18

'lighttpd-1.4.18' has all the needed sources and the build-system.

Just type:

cd lighttpd-1.4.18

Lighttpd 1.4.19 & 1.4.20 + mod_h264_streaming

The plugin structure is compatible for the 1.4.* versions and has only changed in 1.5.*.

You can either build Your own or you can use the source distribution from 1.4.18 and copy the module to your Lighttpd's 1.4.19/1.4.20 plugin directory.

The usual place of your lighttpd lib dir is /usr/lib/lighttpd. After that edit the config.

Lighttpd 1.5.0 + mod_h264_streaming

For lighttpd-1.5 instructions are the same, but the repository is different:

svn co

(The necessary changes have been made to the autoconf bit).

Just type:

cd lighttpd-1.4.18

Your own

If you happen to have a source distribution and would like to add mod_h264_streaming, here is what you do (see alsoHow to write a Lighttpd plugin).


Copy mod_h264_streaming.c and moov.c to your source distribution (lighttpd-1.4.x/src).


First you add the following to the lighttpd-1.4.x/src/ file:

mod_h264_streaming_la_SOURCES = mod_h264_streaming.c moov.c
mod_h264_streaming_la_LDFLAGS = -module -export-dynamic -avoid-version -no-undefined
mod_h264_streaming_la_LIBADD = $(common_libadd)

(for example, just below 'mod_flv_streaming')

Then, you type this:

./configure --enable-maintainer-mode --prefix=${HOME}/test/lighttpd-1.4.x

in the lighttpd-1.4.x directory. The 'enable-maintainer-mode will trigger a rebuild of all makefiles by autoconf ...

After this you are all set and should type 'make && make install' - the exe+libs will be installed in ${HOME}/test/lighttpd-1.4.x, create a lighttpd.conf file + the config bit for h264 and you're all set to go.

Nginx + mod_h264_streaming

Freewind Wu has ported a version of the mod_h264_streaming module (which version?) for nginx. Here's the source.

Another Nginx module(by JH) can be found here.



Binary for Mac Intel (not universal) and PowerPC. Packages provided by challefredde.


The binary is built on/for ubuntu 7.04 i386 for lighttpd-1.4.18.

First, you will need to add the h264 repository to your /etc/apt/sources.list:

deb feisty universe

Secondly, you should add our gpg key:

sudo apt-key add code-shop_signing_key

Then you can install the package:

sudo apt-get update
sudo apt-get install lighttpd-mod-h264-streaming

The config file is installed to /etc/lighttpd/conf-available, which means you have to symlink it yourself to enable the mod:

cd /etc/lighttpd/conf-enable
sudo ln -s /etc/lighttpd/conf-available/10.h264.conf h264

And you will need to restart lighttpd.


A Lighttpd 1.4.20 build with the H264 streaming module included is made available by SaltwaterC.

The only version of Lighttpd for Windows we know of is If you really want to run a windows version I suggest that you send a friendly mail to the people of the WLMP project and ask to include this plugin in a future version.

Last modified 10 years ago Last modified on 01/05/12 14:00:36