![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Gee! These Aren't Roasted!
![]() Join Date: Sep 2007
Beans: 187
|
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:
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. / InstallDapper Drake Under Ubuntu 6.06 Dapper Drake is the call warrant against: sudo checkinstall - pkgname = darwin-server - pkgversion = 5.5.5. / InstallHere is a brief explanation of what the different commands effect:
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.xmlConfiguration 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:
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:
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 12:02 PM.. Reason: Fix bad link |
|
|
|
|
|
#2 |
|
A Carafe of Ubuntu
![]() Join Date: Jun 2006
Beans: 105
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 |
|
5 Cups of Ubuntu
![]() |
Re: Darwin Streaming Server on Ubuntu
Command
Code:
/usr/local/sbin/streamingadminserver.pl Code:
sudo /usr/local/sbin/streamingadminserver.pl Code:
Couldn't find the en language messages file! at /usr/local/sbin/streamingadminserver.pl line 2167. 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 |
|
A Carafe of 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
__________________
# https://rzr.online.fr/q/apt # test my deb's please # http://rzr.online.fr/q/dark # Dark theme bugs welcome # http://rzr.online.fr/q/ubuntu # contribs docs etc # http://rzr.online.fr/q/unicorn # works for me |
|
|
|
|
|
#5 |
|
5 Cups of Ubuntu
![]() Join Date: Jul 2008
Beans: 15
|
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 |
|
|
|
|
|
#6 |
|
A Carafe of Ubuntu
![]() |
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
__________________
# https://rzr.online.fr/q/apt # test my deb's please # http://rzr.online.fr/q/dark # Dark theme bugs welcome # http://rzr.online.fr/q/ubuntu # contribs docs etc # http://rzr.online.fr/q/unicorn # works for me |
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() 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 |
|
5 Cups of Ubuntu
![]() Join Date: Jul 2008
Beans: 15
|
There is file /etc/streaming/qtusers
to manage the file use qtpasswd tool as follows: /usr/bin/qtpasswd -c -p password administrator |
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() 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 12:06 PM.. |
|
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() 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 |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|