Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Darwin Streaming Server on Ubuntu

  1. #1
    Join Date
    Sep 2007
    Location
    USA
    Beans
    331
    Distro
    Ubuntu 13.10 Saucy Salamander

    Darwin Streaming Server on Ubuntu

    Translated by Google Translator from German to English from source:

    http://wiki.ubuntuusers.de/Darwin_Streaming_Server

    Thanks goes out to our German counterparts who took the time to write this guide and to Google for doing a not so bad job of translating, and to myself for light grammar editing


    Darwin Streaming Server



    This article was for the following Ubuntu versions tested:
    • Feisty Fawn 7.04 Gutsy Fawn 7.04
    • Dapper Drake 6.06 (Long Term Support)
    Darwin Streaming Server is the free version of QuickTime commercial server from Apple. Here are some of it's features:
    • Support for open standards: MP3, MPEG-4, H.264/AVC, RTP, RTSP
    • Open Source pursuant to Apple Public Source License
    • No term, no user restrictions, etc.
    • Free
    In addition, the server through a Web interface, a simple configuration, even from another computer.



    The Darwin server is suited for on-demand streaming, where the audio / video data is already in coded form as a file and available on demand by a user of each other. In connection with the Live encoder mp4live from mpeg4ip project, but it can also live streaming applications (eg Internet-TV).

    The following instructions should assist in the installation and configuration of the Darwin server.

    Preparation

    For the installation of the Darwin Streaming Server, the following two packages need to be installed:

    Libstdc + +5 (is already installed by default)
    Checkinstall (Dapper)

    To the Darwin streaming server after installation test can also be a good player for playback. This can be either locally on the server, or even better on a second computer to the server network is installed. It is proposed to take this opportunity to install the VLC media player with MPEG-4 support, but there are certainly other players to use.

    The Darwin Streaming Server is not as a finished package for Ubuntu or Debian available, but must via Web browser as tar file from Apple's Web Download (registration required). The installation is described here the package Official Release - DSS 5.5.5 -> Linux -> streaming server is required, which the Linux binaries. The file is then downloaded and unpacked in the home directory.

    Installation

    After unpacking a terminal is opened and executed the following commands:

    cd DarwinStreamingSrvrlinux Linux
    sudo addgroup --system qtss
    sudo adduser --system --no-create-home --ingroup qtss qtss

    Gutsy Fawn

    Under Ubuntu 7.04 Dapper Fawn the command is:
    sudo. / Install
    Dapper Drake

    Under Ubuntu 6.06 Dapper Drake is the call warrant against:
    sudo checkinstall - pkgname = darwin-server - pkgversion = 5.5.5. / Install
    Here is a brief explanation of what the different commands effect:
    1. Change in the scale when unpacking subdirectory
    2. Creating a user group "qtss" (otherwise the installation doesn't work)
    3. Creating a user "qtss" (as before, but strangely ubuntu not necessary?)
    4. Calling the installation routine
    After entering the last command line, the installation routine automatically and directed all the necessary directories and so spontaneous. It will also name and password for the administrator of the Darwin server queried. After completing the installation, the Darwin server automatically.

    The installation of the server software is closed and the terminal can be closed.

    Directories

    The following table presents an overview of the most important files and directories of the Darwin server:

    /usr/local/sbin/Darwin Streaming Server ---- Server Software
    /usr/local/sbin/streamingadminserver.pl ---- Web Frontend
    /etc/streaming ---- Configuration Dir
    /etc/streaming/streamingserver.xml ---- Configuration File Server
    /var/streaming/logs ---- Logs
    /usr/local/movies ---- Default directory for video files

    Then, the file /etc/streaming/streamingserver.xml must be given write privledges, otherwise no configuration can be saved:
    sudo chmod 755 /etc/streaming/streamingserver.xml
    Configuration and Test

    The configuration of the Darwin server via a web interface and the following link called:

    http://<Server-IP>:1220

    After signing up as an administrator using the software installation previously elected login information can now be made more settings. When you first call up the site initially queried following information:
    • MP3 Broadcast Password
    • Secure Administration
    • Media Folder: /usr/local/movies
    • Streaming on Port 80 Streaming on Port 80
    It is important here first is that the path to the video files (Media Folder) correctly specified, all other issues can safely with the "Next" button skipped.In the specified directory /usr/local/movies are already some demo videos, for the first function tests can be used. It is therefore appropriate that this requirement to make changes at any time are on the configuration menu. After defining these four points will eventually configuration mask for the Darwin server, in other settings can be made. Leave the configuration screen by clicking on "Sign Out" (left column bottom).

    Now you can test whether the Darwin server works as desired. This is the VLC media player opened and the menu "File -> Open Network Stream" stream following address:

    rtsp://<Server-IP>/sample_100kbit.mp4

    If everything is installed correctly, you should now be a player in the supplied sample videos will be shown. Congratulations!

    Start Server

    During power of the computer is not of the Darwin server automatically, but servers and web interface must either in a terminal on the following two lines of command

    sudo /usr/local/sbin/DarwinStreamingServer
    /usr/local/sbin/streamingadminserver.pl

    Or by corresponding entries in the Start menu manually invoked. As servers and web interface can also start automatically, is contributing startup. In addition, there are init scripts for the Darwin server and the admin interface.

    MPEG-4 video streaming

    In order to use the server as streaming video-on-demand server videos must be in MPEG-4 format (file extension .mp4). Using the under video editing or DVD rippin tools. Videos in Quicktime format (. Mov) could also be used, but are probably less interesting.

    However, before an MPEG-4 video with the Darwin server can be streamed must have known in advance hint tracks in the data stream added. They are required to fast forward and rewind the video. For inserting the hint tracks use Tool MP4Box in the package:
    • gpac (multiverse, [2])
    The syntax for the command call for inserting the hint tracks reads:

    MP4Box -hint dateiname.mp4

    With the option-unhint can be inserted information may also be removed.

    Alternatively, can the hint tracks with the tool mp4creator from the MPEG4IP project.

    After inserting the hint tracks, the video file only in the video directory of the Darwin server will be copied or moved, immediately thereafter, the video for the call may be accessed via the web interface also includes a playlist can be created.

    MP3 audio streaming

    With the Darwin server can not only MPEG-4 videos, but also MP3 audio files stream. As you can create MP3 files, for example, in the contribution rip CDs. To existing MP3 files on stream, must first play lists, which, thanks to the existing web interfaces but made relatively quickly. (Guide in German, not included)

    The MP3 player, the create play lists at the address:
    http://<Server-IP>:8000/Mountpunkt
    Last edited by mastermindg; December 28th, 2007 at 05:02 PM. Reason: Fix bad link

  2. #2
    Join Date
    Jun 2006
    Beans
    105
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Darwin Streaming Server on Ubuntu

    GREAT Tutorial!!! I have been wondering how to set up DSS/QTSS for a very long time!!! This also tutorial also works for 7.10. Gpac works like a charm, just use it to convert your mp4s for hint!
    "Now is the time to take free software from the data center and put it in people's hands, put it on people's desktops, and to build a new model for the industry that is commercially sustainable." ~Mark Shuttleworth

  3. #3
    Join Date
    Nov 2005
    Location
    Helsin, Finland
    Beans
    40
    Distro
    Ubuntu

    Re: Darwin Streaming Server on Ubuntu

    Command

    Code:
    /usr/local/sbin/streamingadminserver.pl
    must be run as root too

    Code:
    sudo /usr/local/sbin/streamingadminserver.pl
    or otherwise you'll get an error

    Code:
    Couldn't find the en language messages file! at /usr/local/sbin/streamingadminserver.pl line 2167.
    Killing the server

    Code:
    root@mansikki:~# ps -Af | grep -i stream
    root      5857     1  0 11:28 ?        00:00:00 /usr/local/sbin/DarwinStreamingServer
    qtss      5858  5857  0 11:28 ?        00:00:00 /usr/local/sbin/DarwinStreamingServer
    qtss      6061     1  0 11:32 ?        00:00:00 /usr/bin/perl /usr/local/sbin/streamingadminserver.pl
    root      6233  6205  0 11:35 pts/9    00:00:00 grep -i stream
    
    killall DarwinStreamingServer 
    kill 6061

  4. #4
    Join Date
    May 2006
    Beans
    180
    Distro
    Xubuntu 8.04 Hardy Heron

    Exclamation Re: Darwin Streaming Server on Ubuntu

    Hi,
    I just build latest version (6.0.3) * , It works on mp4 files, but are you able to start the playlist feature ?

    It fails to start :

    Error
    An error occurred while starting or stopping your playlist.


    * get the dss package at http://rzr.online.fr/q/apt
    # http://rzr.online.fr/q/apt # test my deb's please
    # http://rzr.online.fr/q/ubuntu # contribs docs etc
    # http://rzr.online.fr/q/unicorn # works for me
    # http://go.cur.lv/files# files to be shared or email me

  5. #5
    Join Date
    Jul 2008
    Beans
    22

    Re: Darwin Streaming Server on Ubuntu

    I created necessary files (find attached) to produce debian package of the Darwin Streaming Server using debuild program. The rules are for building the DSS for amd64, but should be trivial to adopt for i386 arch. The checkinstall approach was not working properly, as the original Install script is too interactive for that.

    The files should be unpacked inside of the DarwinStreamingSrvr6.0.3-Source directory, that is automatically created by dss.sh script from following URL:
    http://dss.macosforge.org/trac/ticket/6
    Attached Files Attached Files

  6. #6
    Join Date
    May 2006
    Beans
    180
    Distro
    Xubuntu 8.04 Hardy Heron

    Re: Darwin Streaming Server on Ubuntu

    Hi,

    I build it for amd64 on hardy too :
    http://rzr.online.fr/ubuntu/pool/main/d/dss/

    But maybe we can merge out works since it's needed to be patched ...

    I plan also to fill a bug on debian side

    --
    http://rzr.online.fr/q/rtp
    # http://rzr.online.fr/q/apt # test my deb's please
    # http://rzr.online.fr/q/ubuntu # contribs docs etc
    # http://rzr.online.fr/q/unicorn # works for me
    # http://go.cur.lv/files# files to be shared or email me

  7. #7
    Join Date
    Apr 2006
    Beans
    3

    Re: Darwin Streaming Server on Ubuntu

    Can you help? the amd 64 package installed well but the password is not the same as the one I set in using the source. or can you tell me where the password is stored so that I can change it, TIA

  8. #8
    Join Date
    Jul 2008
    Beans
    22

    Post Re: Darwin Streaming Server on Ubuntu

    There is file /etc/streaming/qtusers

    to manage the file use qtpasswd tool as follows:

    /usr/bin/qtpasswd -c -p password administrator

  9. #9
    Join Date
    Apr 2006
    Beans
    3

    Re: Darwin Streaming Server on Ubuntu

    Thanks for the reply, I did find that. When I tried that it created a new password file and still wouldn't allow me to log in with the newly created u/p, the streamingadmin page. I even killed the two servers "Darwinstream and streamingadmin" any other help would be appreciated.
    Last edited by bishop942; November 11th, 2008 at 05:06 PM.

  10. #10
    Join Date
    Apr 2006
    Beans
    3

    Re: Darwin Streaming Server on Ubuntu

    I found the answer disabling all authentication.

    http://www.vague.tv/howtos/broadcast..._on_linux.html

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •