Video Streaming has gained lot of popularity these days and there are very few Open Source Streaming server available that can give Audio/Video Streaming. Once such streaming server is Apple based Darwin Streaming Server.
Darwin Streaming Server is an open source project intended for developers who need to stream QuickTime and MPEG-4 media on alternative platforms such as Mac, Windows, Linux, and Solaris, or those developers who need to extend and/or modify the existing streaming server code to fit their needs.
The advantage that Darwin gives you it can stream 3gp files that is one of widely video format used that to over RTSP protocol.
Installing Darwin Streaming Server in linux:
The source code can be downloaded from Darwin Streaming Server the latest version available is 6.0.3.
#wget http://dss.macosforge.org/downloads/DarwinStreamingSrvr6.0.3-Source.tar
Now we need to untar the Source code by executing following command
#tar xf DarwinStreamingSrvr6.0.3-Source.tar
Now we need to compile and install the Darwin from source but before that we will have to patch the existing source code
files and update the existing Install file. To do that you will have to copy the dsshh-20080728-1.patch, dss-6.0.3.patch and
Install file inside the DarwinStreamingSrvr6.0.3-Source.
#wget http://download1641.mediafire.com/730178zs093g/6s9tn9xxbmv9ems/install.sh
#wget http://download1508.mediafire.com/4lxu8xmlonhg/6gb1jb49so8mbsq/dsshh-20080728-1.patch
#wget http://download1506.mediafire.com/rd1nc6426chg/7qsk1wogo0ix081/dss-6.0.3.patch.txt
Please rename the patch files by removing dsshh-20080728-1.patch.txt extension and rename to dsshh-20080728-1.patch
Execute the following command from DarwinStreamingSrvr6.0.3-Source folder,
#cd DarwinStreamingSrvr6.0.3-Source
#patch -p1 < dss-6.0.3.patch
#patch -p1 < dss-hh-20080728-1.patch
Now we need to add groups and users for Darwin Streaming Server. For that type below command from command prompt
#sudo groupadd qtss and sudo useradd qtss -g qtss
Execute ./Buildit from console to build the project, this will create server binary in DarwinStreamingSrvr6.0.3-Source
directory, along with some other binaries in some other subdirectories.
#./Buildit
After successful build we need to Install the Darwin Streaming Server. To Install: run sudo ./Install (You must be logged in as root to install Darwin Streaming Server).
#mkdir /var/streaming/AdminHtml
#chmod +x install
#./install
During installation, it will ask: “Please enter a new administrator user name:” – type in some user name
It will ask “Please enter a new administrator Password:” – type in some admin password
After installation, DSS writes its binaries and files to various locations.
Starting Darwin Server:
Type following command “ /usr/local/sbin/DarwinStreamingServer”. You should have root access to execute this command.
#/usr/local/sbin/DarwinStreamingServer
2 processes will run – the first one runs as root, and forks the main server as qtss. While doing a ps aux | grep Darwin, the
one with the higher process id is the forked server process. If it crashes or gets killed, the other one immediately respawns
another.
Need to start the admin panel for Darwin Streaming Server that can be started by calling following command,
#/usr/bin/perl /usr/local/sbin/streamingadminserver.pl
Stopping Darwin Streaming Server:
#ps -aef | grep Darwin
You will see 2 server processes running. Kill both the 2 server processes.
Testing Your Darwin Streaming Server Installation:
Ensure that Darwin Streaming Server is running by calling ps -aef | grep Darwin
Goto Web Browser and type http://localhost:1220 . This is the admin interface for Darwin Streaming Server running on port
1220.
That’s it…Facing any issues ping me up…






















thanks for this great tutorial sir. everything done sucessfully while compiling but wen i open url in browser iam geting this error http://192.168.1.4:1220/parse_xml.cgi?filename=setup_assistant2.html iam not able to login. let me know what is my mistake
thanks 🙂
this is my error screensnap http://i.imgur.com/si4VmPz.jpg 😦
Thanks to your instructions, I successfully installed the Darwin Streaming Server on UBUNTU 14.04.
Only Problem is, that I have no text or messages on the admin web interface.
Maybe this has something to do with the perl script which generates the web sites?
Hmm, how can I play the test files with e.G. VLC?
What ports must be available?
Hello i am getting this when trying to apply the patch:
user@snf-655955:~/DarwinStreamingSrvr6.0.3-Source$ patch -p1 < dss-6.0.3.patch
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
Do you have any suggestions?
Thanks,
Marios
Your patches are no longer hosted on MediaFire — could you make them available elsewhere?
streamingadminserver.pl is poorly written so is not compatible with new perl. As the result you got a web page without any text. The fix is here ()
http://vk.com/wingcatlab?w=wall-99790498_55
Hi, this is a Russian Page.. I don’t understand it. Can you put the steps here? I have the same problema with perl
Hello sathish,
These patch file are not working or not available anymore.
when tried to patched as shown in this post, I got these issues,
k ~/D/DarwinStreamingSrvr6.0.3-Source> patch -p1 patch -p1 < dss-hh-20080728-1.patch
An error occurred while redirecting file 'dss-hh-20080728-1.patch'
open: No such file or directory
Could you please make these patches available?