Ubuntu下架设流媒体服务器的基本流程
添加时间:2010-11-12
添加:
admin
目前主流的流媒体服务器有微软的windows media server、RealNetworks的Helixserver和苹果公司的Darwin Streaming Server. 微软的windows media server只能在windows2000 server和windows 2003 server下使用,不在考虑之列。RealNetworks的Helixserver是一款跨平台的软件,功能也很强大,但并非免费软件,只能cut掉了。苹果公司的Darwin StreamingServer是一款跨平台的开源流媒体服务器软件,由苹果公司出品,其品质不用怀疑了,而且还免费。所以在架设流媒体服务器时就选择了DarwinStreaming Server.
Darwin Streaming Server使用标准的实时传输协议/实时流媒体协议(RTP/RTSP),通过互联网实时传送媒体。Darwin Streaming Server 也能提供对传送 H.264、MPEG-4 和3GPP 文件的固有支持——因此,你可以在 Mac 和 Linux、Windows上的任何与标准兼容的媒体播放器上执行你的内容,当然还包括手机和接收盒等各种兼容标准的设备。不仅如此,它还允许你使用 Icecast兼容协议,通过 HTTP 传送标准的 MP3 文件到 MP3 客户端。
一、软件安装
首先上http://dss.macosforge.org/下载源代码,当前最新版本为6.0.3,但我选择了5.5.5版本,因为这个版本提供了针对linux的安装脚本。下载DarwinStreamingSrvr5.5.5-Linux.tar.gz文件后,解压缩,然后运行如下命令安装:
- ~/tmp/DarwinStreamingSrvrlinux-Linux$ chmod +x Install
- ~/tmp/DarwinStreamingSrvrlinux-Linux$ sudo ./Install
- [sudo] password for keensword007:
- Installing Darwin Streaming Server
- Checking for and Killing currently running Darwin Streaming Server
- Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
- Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
- Removing previous versions of Darwin Streaming Server
- Backing up previous config files
- Inserting path to perl into s..
- Creating unprivileged user to run the server = "qtss".
- copying DarwinStreamingServer to /usr/local/sbin/DarwinStreamingServer
- copying PlaylistBroadcaster to /usr/local/bin/PlaylistBroadcaster
- copying MP3Broadcaster to /usr/local/bin/MP3Broadcaster
- copying qtpasswd to /usr/local/bin/qtpasswd
- creating /usr/local/sbin/StreamingServerModules directory
- copying createuserstreamingdir to /usr/local/bin/createuserstreamingdir
- creating /etc/streaming directory
- Generating a new prefs file at /etc/streaming/streamingserver.xml
- INFO: Module Loaded...QTSSRefMovieModule [dynamic]
- INFO: Module Loaded...QTSSHomeDirectoryModule [dynamic]
- INFO: Module Loaded...QTSSFileModule [static]
- INFO: Module Loaded...QTSSReflectorModule [static]
- INFO: Module Loaded...QTSSRelayModule
|
版权所有:佛山思海电脑网络有限公司
©1998-2024 All Rights Reserved.
联系电话:(0757)22630313、22633833
中华人民共和国增值电信业务经营许可证:
粤B1.B2-20030321 备案号:
粤B2-20030321-1
网站公安备案编号:44060602000007
交互式栏目专项备案编号:200303DD003