Darwin Streaming Server Installation operation
Darwin streaming Server is Apple's open source, cross-platform, multi-media streaming server that provides music (mp3) and AV (3gp, MP4, MOV) streaming playback capabilities that can be used by Windows Media player, VLC Media Player, QuickTime player and other playback software to listen (see)
Here are the operating records of the Darwin streaming Server 5.5.5 for Linux in Fedora 7
Download and install Darwin streaming Server
Darwin Streaming Server official web page
Click linux→streaming Server to download (requires registration before downloading)
Tar zxf darwinstreamingsrvr5.5.5-linux.tar.gz
CD Darwinstreamingsrvrlinux-linux
./install
Please enter a new administrator user Name:admin
Please enter a new administrator Password:your_password
See if the installation was successful
ID QTSS
uid=501 (QTSS) gid=502 (QTSS) groups=502 (QTSS)
PS aux | grep Darwin
Root .../usr/local/sbin/darwinstreamingserver.
Qtss .../usr/local/sbin/darwinstreamingserver.
Netstat-ntulp | grep Darwin
TCP 0.0.0.0:8001
TCP 0.0.0.0:554
TCP 0.0.0.0:7070
UDP 127.0.0.1:6970
UDP 192.168.0.1:6970
UDP 127.0.0.1:6971
UDP 192.168.0.1:6971
UDP 127.0.0.1:6976
UDP 127.0.0.1:6977
UDP 127.0.0.1:6978
UDP 127.0.0.1:6979
Activation Service
Activate Darwin streaming Server
Sudo/usr/local/sbin/darwinstreamingserver
Activating the Web Management interface (TCP port 1220)
sudo/usr/local/sbin/streamingadminserver.pl
PS. The above two are self-activating when they are installed, without the need for manual action.
Connect to the management interface to set
Open the browser and connect to the http://darwin.streaming.server:1220/
To enter the management interface for the first time, the following settings are required:
- MP3 broadcast Password: set MP3 broadcast password
- Secure Administration:web Management interface to activate SSL security connection (video requirements)
- Media Folder: Set up a multi-media storage path (preset/usr/local/movies)
- Streaming on port 80: whether to send streaming information in port (video demand)
Establish MP3 music streaming
Support format: MP3
Click Playlists→new MP3 Playlist
Name:myaudio
Mount Point:/myaudio
Play Mode:sequential looped (play in sequential loop)
Drag the MP3 file from the Available Content to the right-hand pane (Items in this Playlist), and then save changes storage by
Available Playlists→myaudio→status Click the Play button to start the broadcast
Set up video streaming
Support format: 3GP, MP4, MOV
Click Playlists→new Media Playlist
Name:myvideo
Mount POINT:MYVIDEO.SDP
Play Mode:sequential looped (play in sequential loop)
Drag the multimedia file from the Available Content to the right-hand pane (Items in this Playlist), and then press Save changes to save the settings
Available Playlists→myvideo→status Click the Play button to start the broadcast
Listen to MP3 music streams with MP3 playback software
File → start url→http://darwin.streaming.server:7070/mp3_mount_point
Watch video streaming with QuickTime Player
File→open Url→rtsp://darwin.streaming.server/playlist (watch the content provided by the playlist)
Or
File→open Url→rtsp://darwin.streaming.server/filename.mov (designated to look at a file)
References
- Nantou County Education Network Discussion area-Linux discussions-Darwin streaming Server
Related Web page
- Icecast multi-media streaming server in FC5 frame
- WinXP WebCam Video Streaming apps memo
- Music files and cutting tools let you make your own MP3 phone (tool)
---attached: How to troubleshoot ERROR 15
Question : turn yourself into a. mov file is not streamed playback (ERROR 15 wrong)
cause: the. mov file does not have a designated hint track
exclusion Method: mp4creator (Program in MPEG4IP) to hint track
Operating Environment: Fedora 7
Step 1. Installation FFmpeg (Tools & Codecs)
RPM-IVH http://rpm.livna.org/livna-release-7.rpm
Yum Install FFmpeg
Step 2. Installation MPEG4IP (for hint track)
Yum Install Mpeg2dec id3lib ffmpeg-devel
mpeg4ip.rpm Download Web page
RPM-IVH--nodeps--force mpeg4ip-1.5.0.1-1.fc4.rf.i386.rpm
Step 3. File (if you've already skipped this step with another tool)
Ffmpeg-i INPUT.WMV-F mov Output.mov
Step 4. Empower hint Track
Mp4creator-hint=1 Output.mov
mp4creator-hint=2 Output.mov
Hint track as long as it's done one at a time, no need to get this wrong message: Mp4error:mp4file::findintegerproperty:no such property-moov.trak[1] ... It will destroy this file for many times.
The above-mentioned Output.mov can be normally broadcast by Darwin streaming Server
Ways and steps to install the Darwin streaming server under Linux-2
1. Download Darwin from Apple's site:
Http://www.publicsource.apple.com/projects/streaming/release/DarwinStreamingServer5.5-Linux.tar.gz
2. Unpack The TAR package:
# tar Xvzf darwinstreamingserver3-linux.tar.gz
This will generate a darwinstreamingsrvr3-linux directory in the current directory to enter the directory.
3. Installing the Install script installs Darwin:
#./install
After the installation is complete, the directory structure is as follows:
/usr/local/sbin/quicktimestreamingserver– Stream Server program directory
/USR/LOCAL/SBIN/STREAMINGADMINSERVER.PL-QTSS WEB Management Server
/usr/local/sbin/streamingservermodules/-QTSS Plug-in
/usr/local/bin/playlistbroadcaster– Playlist Broadcast
/usr/local/bin/qtpasswd– password file for access control
/USR/LOCAL/BIN/SPAMPRO-RTSP Client Tools
/etc/streaming/-QTSS configuration file
/usr/local/movies/-Media File placement Directory
/var/streaming/-User Manual
/var/streaming/logs– Log Directory
/var/streaming/playlists–web Managing playlist files
4. To configure the server:
After the installation is complete, streamingadminserver.pl will run automatically, and you can manage the Darwin streaming server through the Perl script, which is actually a small Web server. For ease of administration later, you can add a line to the/etc/rc.d/rc.local script:
/usr/local/sbin/streamingadminserver.pl
This allows administrative scripts to be automatically allowed after each system startup.
Enter in the browser of any client computer that can access the server:
http://your_server_name:1220
Your_Server_Name is the hostname of your streaming server, and you can use IP addresses, of course.
You will then be able to access the Web management interface.
Default Administrator user name: Streamingadmin
Default Administrator Password: default
After entering the Web management interface, you can configure some of the following:
A. Server Snapshot: Server status monitoring;
B. Movies Directory:
Place the directory setting of the media file, the default is/usr/local/movies/;
C. Authentication Scheme:
Set the user authentication scheme, the default is digest, if you use QUICKTIME4 client, you must select Basic;
D. Streaming on Port 80:
Set whether to use port 80 for the Server service port, or specify a different port in the/etc/streaming/streaingloadtool.conf file if you choose No;
E. Maximum number of Connections:
Maximum number of client connections, default is 1000;
F. Maximum Throughput:
Maximum usage bandwidth, default is 100M;
G. Start/Stop Darwin streaming server;
There are also log file settings and playlist creation, among others.
5. To install the client:
Download QuickTime from Apple Inc
http://www.apple.com/quicktime/download/
Then follow the prompts to install under Windows XP.
6. Test:
After the installation is complete, there will be a Sample.mov file in the/usr/local/movies directory, which we can use to test the file. First, start QuickTime on the client, and then click in the Menu
Fileàopen URL in New player
In the popup dialog box, type: Rtsp://your_server_name:554/sample.mov
(This assumes that 554 is used as the service port)
Darwin Streaming Server Installation operation Memo