ubuntu14.04(32bit或64bit)上搭建darwin streaming server6.03

前端之家收集整理的这篇文章主要介绍了ubuntu14.04(32bit或64bit)上搭建darwin streaming server6.03前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
转载请注明出处。
原文:http://blog.csdn.net/sheji105/article/details/73823945

darwin streaming server主页: http://dss.macosforge.org/
准备:
tar xvf DarwinStreamingSrvr6.0.3-Source.tar
cd DarwinStreamingSrvr6.0.3-Source

DarwinStreamingSrvr6.0.3-Source$ patch -p1 < ../dss-6.0.3.patch
patching file APICommonCode/QTAccessFile.cpp
patching file CommonUtilitiesLib/OSHeaders.h
patching file CommonUtilitiesLib/OSRef.h
patching file Makefile.POSIX
patching file RTSPClientLib/PlayerSimulator.h
patching file Server.tproj/QTSSErrorLogModule.cpp
patching file Server.tproj/QTSServer.cpp
patching file Server.tproj/RTPSession.cpp
patching file Server.tproj/RTPStream3gpp.cpp
patching file Server.tproj/RTPStream.h
patching file Server.tproj/RTSPRequest3GPP.cpp
patching file StreamingLoadTool/Makefile.POSIX
patching file StreamingLoadTool/StreamingLoadTool.cpp

DarwinStreamingSrvr6.0.3-Source$ patch -p1 < ../dss-hh-20080728-1.patch
patching file Buildit
patching file MP3Broadcaster/BroadcasterMain.cpp
patching file PlaylistBroadcaster.tproj/PlaylistBroadcaster.cpp
patching file Server.tproj/main.cpp
patching file StreamingLoadTool/StreamingLoadTool.cpp
patching file CommonUtilitiesLib/SocketUtils.cpp
patching file CommonUtilitiesLib/Task.h
patching file Server.tproj/QTSServer.cpp
patching file Server.tproj/QTSSMessages.cpp
patching file Server.tproj/QTSSDictionary.h
patching file Server.tproj/QTSSMessages.h
patching file Server.tproj/QTSSDictionary.cpp
patching file CommonUtilitiesLib/OS.cpp

添加qtss用户信息,否则会报错误
sudo addgroup -system qtss
sudo adduser -system -no-create-home -ingroup qtss qtss

DarwinStreamingSrvr6.0.3-Source$ vim Makefile.POSIX
LIBS = $(CORE_LINK_LIBS) -lCommonUtilitiesLib -lQTFileLib
修改为: LIBS = $(CORE_LINK_LIBS) -lCommonUtilitiesLib -lQTFileLib -ldl
否则编译会出错:
DarwinStreamingServer Failed to build!
Buildit Failed. Exiting!


编译:
DarwinStreamingSrvr6.0.3-Source$ ./Buildit install

Done.
StreamingProxy--Linux/
StreamingProxy--Linux/streamingproxy.conf
StreamingProxy--Linux/StreamingProxy
StreamingProxy--Linux/StreamingProxy.html
Success!

安装:
cd DarwinStreamingSrvr-Linux/
DarwinStreamingSrvr6.0.3-Source/DarwinStreamingSrvr-Linux$ sudo ./Install
验证是否启动:
ps ax | grep Darwin
15676 ? Ss 0:00 /usr/local/sbin/DarwinStreamingServer
15677 ? Sl 0:00 /usr/local/sbin/DarwinStreamingServer
15762 pts/32 S+ 0:00 grep --color=auto Darwin
浏览器方式配置:
http://127.0.0.1:1220
访问服务器,输入用户名,密码
默认文件路径为/usr/local/movies/
VLC测试darwin服务器
用VLC播放: rtsp://127.0.0.1/sample_300kbit.mp4

猜你在找的Ubuntu相关文章