Personal advice: Use DarwinStreamingSrvr5.5.5 because there are a lot of problems to be solved during the DarwinStreamingSrvr6.0.3 installation process! and installation only needs to be performed./install!
1: Download Darwin source code darwinstreamingsrvr6.0.3-source.tar, Patch patch Dss-6.0.3.patch
$wget Http://dss.macosforge.org/downloads/DarwinStreamingSrvr6.0.3-Source.tar
$wget Http://www.abrahamsson.com/dss-6.0.3.patch
[email protected]: ~/work/darwin$ ls
Darwinstreamingsrvr6.0.3-source.tar Dss-6.0.3.patch
2: Unzip the Darwinstreamingsrvr6.0.3-source.tar and hit patch patches Dss-6.0.3.patch
[email protected]: ~/work/darwin$ tar xvf Darwinstreamingsrvr6.0.3-source.tar
[email protected]: ~/work/darwin$ ls
Darwinstreamingsrvr6.0.3-source Dss-6.0.3.patch
Darwinstreamingsrvr6.0.3-source.tar
[email protected]: ~/work/darwin$ patch-p0 < Dss-6.0.3.patch
3: Modify the installation script install
[email protected]: ~/work/darwin/darwinstreamingsrvr6.0.3-source$ vim Install
if [$INSTALL _os = "Linux"]; Then
/usr/sbin/groupadd qtss >/dev/null 2>&1
/usr/sbin/useradd-m qtss >/dev/null 2>&1
Else
/usr/sbin/groupadd qtss >/dev/null 2>&1
/usr/sbin/useradd qtss >/dev/null 2>&1
Fi
4: Add QTSS user information, add later install will report error prompt
Chown:invalid User: ' Qtss '
$ Addgroup-system QTSS
$ adduser-system-no-create-home-ingroup QTSS QTSS
5:./buildit Compilation
6:./buildtarball prompt error, modify makefile.posix, recompile after
Lstdc++-lm-lcrypt-lcommonutilitieslib. /commonutilitieslib/libcommonutilitieslib.a
.. /COMMONUTILITIESLIB/LIBCOMMONUTILITIESLIB.A (SDPUTILS.O): in function ' memset ':
/usr/include/i386-linux-gnu/bits/string3.h:82:warning:memset used with constant zero length parameter; This could is due to transposed parameters
Darwinstreamingserver failed to build!
Buildit Failed. exiting!
$vim Makefile.posix
LIBS = $ (core_link_libs)-LCOMMONUTILITIESLIB-LQTFILELIB-LDL
[Email protected]:~/work/darwin/darwinstreamingsrvr6.0.3-source$ vim Qtfiletools/qtfileinfo.tproj/makefile.posix
[Email protected]:~/work/darwin/darwinstreamingsrvr6.0.3-source$ vim Qtfiletools/qtfiletest.tproj/makefile.posix
[Email protected]:~/work/darwin/darwinstreamingsrvr6.0.3-source$ vim qtfiletools/qtsamplelister.tproj/ Makefile.posix
[Email protected]:~/work/darwin/darwinstreamingsrvr6.0.3-source$ vim qtfiletools/qttrackinfo.tproj.tproj/ Makefile.posix
libs+ =-lpthread
7: Enter the directory installation Darwinstreamingsrvr-linux,./install, prompted to enter the user name, password, through the Web login with.
[email protected]: ~/work/darwin/darwinstreamingsrvr6.0.3-source$ CD darwinstreamingsrvr-linux/
[email protected]: ~/work/darwin/darwinstreamingsrvr6.0.3-source$,./install
In order to administer the Darwin streaming Server must create an administrator user [note:the Administrator user Nam E cannot contain spaces, or single or double quote characters, and cannot is more than 255 characters long].
Please enter a new administrator user Name:ekin
must also enter a password for the administrator user [note:the administrator password cannot contain spaces, or quot ES, either single or double, and cannot is more than characters long].
Please enter a new Administrator Password:
Re-enter the new Administrator password:
8: See if the Darwin service process is running correctly
#[email protected]: ~/work/darwin/darwinstreamingsrvr6.0.3-source/darwinstreamingsrvr-linux$ PS Ax | grep Darwin
8332? Ss 0:00/usr/local/sbin/darwinstreamingserver
8333? Sl 0:00/usr/local/sbin/darwinstreamingserver
8355 pts/0 s+ 0:00 grep--color=auto Darwin
9:HTTP://127.0.0.1:1220 can access the server, enter the user name, password
Default file path is/USR/LOCAL/MOVIES/10: Install VLC Test Darwin Server $ sudo apt-get install VLC 11: input Rtsp://127.0.0.1/sample_ 300kbit.mp4 playback Test OK reprinted from: http://blog.csdn.net/ekin1999/article/details/21815027
Build Darwin streaming server6.03 on ubuntu12.04