User Tools

Site Tools


install_lighttpd_-_with_mod_h264_streaming

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

install_lighttpd_-_with_mod_h264_streaming [2009/11/13 01:38]
k2patel created
install_lighttpd_-_with_mod_h264_streaming [2020/08/10 02:35]
Line 1: Line 1:
-====== freebsd + lighttpd + mod_h264_streaming ====== 
  
-Following has been tested on freebsd 7.x 
- 
-This is step by step. 
- 
-First thing need to be done is get the copy of - mod_h264_streaming. 
- 
-NOTE : Cosidering you are in folder - "/​usr/​local/​src"​ 
- 
-<code bash> 
-svn export http://​h264.code-shop.com/​svn/​h264/​tags/​mod_h264_streaming-2.0/​lighttpd-1.4.18 mod_h264 
-svn export --force http://​h264.code-shop.com/​svn/​h264/​tags/​mod_h264_streaming-2.0/​mp4split mod_h264/​src 
-</​code>​ 
- 
-Now, you need to run the make command on "/​usr/​ports/​www/​lighttpd"​\\ 
- 
-NOTE : Make sure you hit <​Ctrl+C>​ after it start configure. 
- 
-<code bash> 
-cd /​usr/​ports/​www/​lighttpd 
-make 
-</​code>​ 
- 
-This will create one "​work"​ folder inside /​usr/​ports/​www/​lighttpd. 
- 
-Now we need to follow wiki to install module. 
- 
-Your source location : /​usr/​ports/​www/​lighttpd/​work/​lighttpd-1.4.24 
-Your module location : /​usr/​local/​src/​mod_h264/​ 
- 
-Above location is in terms of wiki. 
- 
-<code bash> 
-cp /​usr/​local/​src/​mod_h264/​src/​moov.* /​usr/​ports/​www/​lighttpd/​work/​lighttpd-1.4.24/​src/​ 
-cp /​usr/​local/​src/​mod_h264/​src/​mod_h264_streaming.c /​usr/​ports/​www/​lighttpd/​work/​lighttpd-1.4.24/​src/​ 
-</​code>​ 
- 
-Makefile 
- 
-First you add the following to the /​usr/​ports/​www/​lighttpd/​work/​lighttpd-1.4.24/​src/​Makefile.am file:  
- 
-<code bash> 
-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) 
-</​code>​ 
- 
-(for example, just after '​mod_flv_streaming'​) 
- 
-Modify Source File to complete compile on Freebsd. 
- 
-NOTE : Add line before Line number 45 
- 
-<code bash | /​usr/​ports/​www/​lighttpd/​work/​lighttpd-1.4.24/​src/​moov.c > 
-#include <​sys/​types.h>​ 
-</​code>​ 
- 
-Now Run following command. 
- 
-<code bash> 
-cd /​usr/​ports/​www/​lighttpd/​work/​lighttpd-1.4.24 
-./​autogen.sh 
-cd /​usr/​ports/​www/​lighttpd/​ 
-make install clean 
-</​code>​ 
- 
-Nice you just completed the installation. 
install_lighttpd_-_with_mod_h264_streaming.txt ยท Last modified: 2020/08/10 02:35 (external edit)