How to implement a VoD System in Linux on the Darwin Streaming Server
Source: Internet
Author: User
The method and steps for implementing the on-demand video streaming system in Linux-Linux Enterprise Application-Linux server application information-see the following for details. 1. Introduction to Darwin
The Darwin stream server is the opensource version of Apple QuickTime stream server. It is fully developed based on the Code of QuickTime stream server. It implements a mechanism for transmitting QuickTime streams over the network. Darwin has the following features:
1. web management interfaces;
2. Open source code;
3. Supports Mac OS X Server, Linux, Solaris, FreeBSD, Windows NT 4.0/Windows 2000 Server, and other operating systems;
4. Compared with the previous version of QuickTime stream server, the performance has been greatly improved;
/Usr/local/bin/qtpasswd? Password File for access control
/Usr/local/bin/SpamPro-RTSP client Tool
/Etc/streaming/-QTSS configuration file
/Usr/local/Movies/-media file placement directory
/Var/streaming/-User Manual
/Var/streaming/logs? Log directory
/Var/streaming/playlists? Manage playlist files on the Web
4. Configure the server:
After the installation is complete, streamingadminserver. pl runs automatically. You can use this perl script (which is actually a small web Server) to manage the Darwin Streaming Server. For future management convenience, you can add a line in the/etc/rc. d/rc. local script:
/Usr/local/sbin/streamingadminserver. pl
In this way, scripts are automatically allowed to be managed every time the system is started.
Enter:
Http: // your_server_name: 1220
Your_server_name is the host name of your stream server. You can also use an IP address.
Then you can enter the web management interface.
Default administrator username: streamingadmin
Default Administrator Password: default
After entering the web management interface, you can perform the following configurations:
A. Server Snapshot:
Server Status Monitoring;
B. Movies Directory:
Directory setting for media files. The default value is/usr/local/movies /;
C. Authentication Scheme:
Sets the user authentication scheme. The default value is Digest. If you use the QuickTime4 client, you must select Basic;
D. Streaming on Port 80:
Set whether to use port 80 as the server service port. If you select no, you can specify other ports in the/etc/streaming/streaingloadtool. conf file;
E. Maximum Number of Connections:
Maximum number of customer connections. The default value is 1000;
F. Maximum Throughput:
Maximum bandwidth used. The default value is 100 MB;
G. start/stop the Darwin Streaming Server;
You can also set log files and create a playlist.
5. Install the client:
Download QuickTime 5 from Apple
Http://www.apple.com/quicktime/download/
Install the SDK on windows 98 as prompted.
6. test:
After the installation is complete, the/usr/local/movies directory contains a sample. mov file, which can be used for testing.
Start QuickTime 5 on the client, and then click
File à Open URL in new player
In the displayed dialog box, enter:
Rtsp: // your_server_name: 554/sample. mov
(Assume 554 is used as the service port)
After you click OK, something amazing will happen.
Iii. Supplementary description on Media Production
Unfortunately, although we can get the Darwin Streaming Server and QuickTime player for free, QuickTime's media production tool QuickTime PRO is not free, and other third-party tools are also commercial software, quickTime PRO 5 is priced at $39, which is still a small number for most of us. But it is very cheap for a company or organization.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service