Darwin流媒體伺服器在windows下搭建

來源:互聯網
上載者:User

標籤:

 

簡介

首頁:   http://dss.macosforge.org/

Darwin Streaming Server (DSS) is an open sourceproject intended for developers who need to stream QuickTime and MPEG-4 mediaon alternative platforms such as Mac, Windows, Linux, and Solaris, or thosedevelopers who need to extend and/or modify the existing streaming server codeto fit their needs. Darwin Streaming Server is only supported by the opensource community and is not eligible for technical support from Apple.

 

DSS 是跨平台的軟體,可以在Linux、Mac OS或 Windows 等上面部署

搭起來後,就可以用手機等進行遠程播放了.

安裝步驟

(1)

http://dss.macosforge.org/downloads/DarwinStreamingSrvr5.5.5-Windows.exe

下載後解壓,直接點擊檔案Install.bat,安裝到 C:\ProgramFiles\Darwin Streaming Server 

(2)

安裝 Perl 解譯器,從 http://www.perl.org/get.html 選擇

Strawberry Perl
ActiveStatePerl

選擇ActivePerlW下載,我的系統是32位,在這裡選擇32位的下載,然後安裝 ,預設即可。

裝好後在 cmd 下面使用:

 c:\document  and settings> cd  C:\ProgramFiles\Darwin Streaming Server

# 根據提示建立 WebAdmin 的帳號和密碼

C:\Program Files\Darwin Streaming Server> perl WinPasswdAssistant.pl

# 運行 WebAdmin 管理器

 C:\Program Files\Darwin Streaming Server> perl streamingadminserver.pl

# 現在就可以開啟 http://127.0.0.1:1220/ 來對 DSS 伺服器進行管理了

 

在 DSS WebAdmin 裡面修改 General Settings -> Media Directory ,將它改為你的 Media 目錄,如果使用預設的,把視頻檔案放到C:\ProgramFiles\Darwin Streaming Server\Movies 裡面

(3)

用 QuickTime 或VLC 開啟rtsp://127.0.0.1:554/sample_100kbit.mp4,正常的話,就可以看到視頻正常播放了. Movies 裡面有內建的範例.

轉換普通視頻為可以播放的流媒體格式

範例的視頻是經過處理過的.

從http://www.videohelp.com/software/mp4box下載選擇適合自己系統的版本.

或到http://download.csdn.net/detail/sheji105/8781015下載

下載解壓後把mp4box.exe放入C:\WINDOWS\system32.轉換個視頻後資訊如下:

C:\Program Files\Darwin StreamingServer\Movies>mp4box duola1.mp4 -hint

Hinting file with Path-MTU 1450 Bytes

Hinting track ID 1 - Type"avc1:avc1" (H264) - BW 460 kbps

Hinting track ID 2 - Type "mp4a:mp4a"(mpeg4-generic) - BW 32 kbps

Saving duola1.mp4: 0.500 secs Interleaving

然後就可以用rtsp://127.0.0.1:554/duola1.mp4播放了.

Darwin流媒體伺服器在windows下搭建

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.