Summary
This paper introduces the methods and steps of using Darwin Streaming server to realize VOD system under Linux.
A brief introduction of Darwin
Darwin Streaming Server is a opensource version of Apple's QuickTime streaming server, which is based entirely on QuickTime Stream server code, and realizes a mechanism to propagate QuickTime flow on the network. Darwin has some of the following features:
1. with Web management interface;
2. Open source code;
3. supports a variety of operating systems such as Mac OS X server, Linux, Solaris, freebsd,windows NT 4.0/windows server;
4. Compared with the previous version of the QuickTime streaming server, performance has been greatly enhanced.
Second, the realization step
1. Download Darwin from Apple site
Http://www.publicsource.apple.com/projects/streaming/release/DarwinStreaming server3-linux.tar.gz
2. Unlock the tar pack
# tar Xvzf darwinstreamingserver3-linux.tar.gz This will generate a darwinstreamingsrvr3-linux directory in the current directory and enter the directory.
3. Perform install installation script installation Darwin:
#./install
After the installation is complete, the directory structure is as follows:
/usr/local/sbin/QuickTimeStreamingServer – 流服务器程序目录
/usr/local/sbin/streamingadminserver.pl - QTSS Web 管理服务器
/usr/local/sbin/StreamingServerModules/ - QTSS 插件
/usr/local/bin/PlaylistBroadcaster – 播放列表广播
/usr/local/bin/qtpasswd – 进行访问控制的密码文件
/usr/local/bin/SpamPro - RTSP 客户端工具
/etc/streaming/ - QTSS 配置文件
/usr/local/Movies/ - 媒体文件放置目录
/var/streaming/ - 用户手册
/var/streaming/logs – 日志目录
/var/streaming/playlists – Web管理播放列表文件