DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-02-10 22:55:27

sonybros
Member
Registered: 2008-07-24
Posts: 10

compiling a module

has anyone been able to get a mod_h264_streaming module working with the lighttpd that comes in fonz' 0.5 funplug?

compiling the module from scratch as per guidelines described at

http://h264.code-shop.com/trac/wiki/Mod … d-Version2

are a little beyond me


thanks in advance for any help

Offline

 

#2 2009-02-11 21:36:56

madpenguin
Member
Registered: 2008-12-25
Posts: 77

Re: compiling a module

This should set you up but I didn't try to compile it. Your going to need a crap load of funplug packages installed for this to work. Not only to recompile lighttpd but for the script below to even run. BTW, the commands below are exactly what was listed at the link you provided....

Code:

#!/ffp/bin/sh

wget http://www.lighttpd.net/download/lighttpd-1.4.20.tar.bz2
tar xf lighttpd-1.4.20.tar.bz2
cd lighttpd-1.4.20/src
svn export http://h264.code-shop.com/svn/h264/tags/mod_h264_streaming-2.0/lighttpd-1.4.18/src/mod_h264_streaming.c
svn export http://h264.code-shop.com/svn/h264/tags/mod_h264_streaming-2.0/mp4split/moov.c
svn export http://h264.code-shop.com/svn/h264/tags/mod_h264_streaming-2.0/mp4split/moov.h
sed -i '/^mod_flv_streaming_la_LIBADD/a\
\
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)' Makefile.am
cd ../
./autogen.sh

Make sure you backup your lighttpd.conf or it'll get blown away when you install the new version.

You'll also want to checkout funplug svn for correct lighttpd configure flags but it's down ATM.
http://www.youtube.com/watch?v=BcQ7RkyBoBc

Last edited by madpenguin (2009-02-11 21:53:35)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB