标签:
主页: 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 播放了.
标签:
原文地址:http://blog.csdn.net/sheji105/article/details/46399491