Download

back


Binary

We provide both a binary and a source version.

Ubuntu

The binary is built on/for ubuntu 7.04 i386 for lighttpd-1.4.18 - please send a mail to h264[ at ]code-shop.com if you need another platform ...

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

deb http://h264.code-shop.com/ feisty universe

Secondly, you should add our gpg key:

wget http://h264.code-shop.com/code-shop_signing_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.

Mac

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


Source

From svn

Souces can be downloaded from svn:

cd ~
svn co http://h264.code-shop.com/svn/h264/trunk/lighttpd-1.4.18 lighttpd-1.4.18

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

Just type:

cd lighttpd-1.4.18
./configure
make 

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

svn co http://h264.code-shop.com/svn/h264/trunk/lighttpd-1.5.0

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

At this point you can choose to use the lighttpd binary (type 'make install') or just use the mod_h264_streaming.so (if you run lighttpd-1.4.18, that is)

Copy the .so tho your lighttpd lib dir (usually /usr/lib/lighttpd) and edit the config.

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).

Files

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

Makefile

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

lib_LTLIBRARIES += mod_h264_streaming.la
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.