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