리눅스(fedora) 주문형 스트리밍 서버 구성기 - Darwin Streaming Server
VLC서버를 이리저리 2시간 동안 둘러보고 구글링 검색을 해봐도... 주문형 VOD서버를 구성할수 없었다. 여기서 접고, 애플의 Darwin Streaming Server라는 걸죽한 프로그램을 한번 설치해보기로 했다.
Welcome to Darwin Streaming Server, the open source version of Apple's QuickTime Streaming Server technology that allows you to send streaming media to clients across the Internet using the industry standard RTP and RTSP protocols. Based on the same code base as QuickTime Streaming Server, Darwin Streaming Server provides a high level of customizability and runs on a variety of platforms allowing you to manipulate the code to fit your needs. Who should use Darwin Streaming Server?While sharing the same code base as QuickTime Streaming Server, Darwin Streaming Server is an open source project intended for developers who need to stream QuickTime and MPEG-4 media on alternative platforms such as Windows, Linux, and Solaris, or those developers who need to extend and/or modify the existing streaming server code to fit their needs. Darwin Streaming Server is only supported by the open source community and is not eligible for technical support from Apple. Apple hosts a number of email discussion lists for Darwin Streaming Server users and developers to share ideas and discuss deployment scenarios. QuickTime Streaming Server (QTSS) is Apple's commercial streaming server delivered as part of Mac OS X Server. QTSS provides users with enhanced administration and media management tools as a result of the tight integration with Mac OS X Server; these tools are not available as part of the open source project. Technical support is available for QTSS as part of the AppleCare support plans provided for Mac OS X Server and Xserve. Both DSS and QTSS are built on a core server that provides state of the art quality of service features with Skip protection and Instant-On, and support for the latest digital media standards, MPEG-4 and 3GPP. Darwin Streaming Server is available as a free download under the Apple Public Source License. DSS on Mac OS forgeDarwin Streaming Server has been moved to Mac OS forge.org. Please visit this site for the latest information on DSS including source code downloads and documentation. |
문제는 클라이언트 컴퓨터에서 Windows Media player가 아니라 QuickTime 을 써야 한다는것이다. 솔직히 QuickTime이 WMP과 비교하여 질적으로 떨어진다는것은 아니다. 하지만, IE에서의 접근성과 ActiveX의 지원등을 면밀히 지켜봐야 한다. 어찌해야 할까..아무래도 MS의 지배하에 있는 현 PC시장에서 QuickTime을 선택한다는것은 좌충수가 될수 있다. 어쨋건 함 설치해보고, 논해보기로 한다.
Apple DSS 메인 페이지 : http://dss.macosforge.org/
#wget http://dss.macosforge.org/downloads/DarwinStreamingSrvr6.0.3-Source.tar
#tar -xvf DarwinStreamingSrvr6.0.3-Source.tar
#./Buildit Install
컴파일을 해야한다. 하지만 컴파일이 안된다. g++등 DSS가 요구하는 모든 개발툴들을 다시설치하고 업데이트 하였다.
[root@japasop DarwinStreamingSrvr6.0.3-Source]# ls APICommonCode dss_license_tool.pl PrefsSourceLib sample_300kbit.mov APIModules DSS_MakeProxyRoot pubPackageMetaData sample_300kbit.mp4 APIStubLib DSS_MakeRoot qtaccess sample_50kbit.3gp APPLE_LICENSE dssPackageMetaData QTFileLib sample_h264_100kbit.mp4 AtomicLib gdbdar QTFileTools sample_h264_1mbit.mp4 broadcasterctl gdbmp3 qtgroups sample_h264_300kbit.mp4 Buildit gdbplay qtpasswd.tproj sample.mp3 BuildOSXInstallerPkg gdb_script qtssPackageMetaData Server.tproj buildproxytarballx gdbserver qtusers StreamingLoadTool buildtarball HTTPUtilitiesLib RegistrySystemPathEditor StreamingProxy.tproj clean Install relayconfig.xml-Sample StreamingServer.xcodeproj clean_dss_osx Jamfile ReleaseNotes.txt streamingserver.xml CommonUtilitiesLib jamplay revision.h streamingserver.xml-POSIX defaultPaths.h Makefile.POSIX RTCPUtilitiesLib uninstalldss4 deleteCVSdirs MP3Broadcaster RTPMetaInfoLib uninstallqtss4 deleteSVNdirs OSMemoryLib RTSPClientLib UpdateDSSInstallerDocs deleteWinBuildDirs parseServerOut.py SafeStdLib WebAdmin dobuildit PlatformHeader.h sample_100kbit.mov WinNTSupport Documentation PlaylistBroadcaster.tproj sample_100kbit.mp4 |
[root@japasop DarwinStreamingSrvr6.0.3-Source]# ./Install (대문자 I임을 주의) Installing Darwin Streaming Server Checking for and Killing currently running Darwin Streaming Server Backing up previous config files Inserting path to perl into scripts.. Creating unprivileged user to run the server = "qtss". copying relayconfig.xml-Sample to /etc/streaming/relayconfig.xml-Sample copying qtusers to /etc/streaming/qtusers copying qtgroups to /etc/streaming/qtgroups Launching streamingadminserver.pl Installation Complete Darwin Streaming Server Setup In order to administer the Darwin Streaming Server you must create an administrator user [Note: The administrator user name cannot contain spaces, or single or double quote characters, and cannot be more than 255 characters long].
|
관리자용 계정과 비밀번호를 물어본다.
chown: invalid user: `qtss'
이 부분이 좀 걸려서, 구글링을 해봤더니 설치 실패.. 설치시에 이런 경우가 매우 다분히 많이 일어나는듯 Apple DSS포럼에는 이 문제에 대해서 많은 글들이 올라와있었다. FC10,FC9,FC6,FC2모두 동일한 에러메세지가 나왔다. 커널과 라이브러리에 문제인것은 아닌것 같은데...(적색부분이 모두 에러메세지)
첫번째 에러메세지인 Can't open perl script "perlpath.pl": No such file or directory 부터 해결을 해보기로 했다.
<이쯤 되면 지친다.. 이넘의 스트리밍 서버... >
아무리 알아봐도 도대체 해결법이 안나온다...각종 라이브러리들과 개발용 툴.. 그리고 애플사의 답변들대로 다 해봤지만.. 매번 같은 메세지일뿐 단순히 ./buildit Install 하고 ./Install 하라.. 슬며시 짜증이 나기 시작했다.. 세계의 DSS를 쓰고자 이와같은 이유로 포럼에 온 사람들도 절망적이라는 단어를 써대고 있었다..
결국은 Ubuntu로 시스템을 변경하고 설치해봤다.
root@kubuntu:~# sudo apt-get install libc6-dev linux-libc-dev gcc-3.3 g++-3.3 Processing triggers for libc6 ... gcc-3.3-base (1:3.3.6-15ubuntu6) ?ㅼ젙?섎뒗 以묒엯?덈떎 ... libstdc++5-3.3-dev (1:3.3.6-15ubuntu6) ?ㅼ젙?섎뒗 以묒엯?덈떎 ... |
=> `DarwinStreamingSrvr5.5.5-Source.tar.gz'
Resolving dss.macosforge.org... 17.254.17.248
?묒냽 dss.macosforge.org|17.254.17.248|:80... ?묒냽??
HTTP request sent, awaiting response... 302 Found
Location: http://static.macosforge.org/dss/downloads/DarwinStreamingSrvr5.5.5-Source.tar.gz [following]
=> `DarwinStreamingSrvr5.5.5-Source.tar.gz'
Resolving static.macosforge.org... 17.254.17.246
?묒냽 static.macosforge.org|17.254.17.246|:80... ?묒냽??
HTTP request sent, awaiting response... 200 OK
Length: 21,468,268 (20M) [application/x-gzip]
100%[==============================================================================>] 21,468,268 376.54K/s ETA 00:00 18:38:02 (355.73 KB/s) - `DarwinStreamingSrvr5.5.5-Source.tar.gz' saved [21468268/21468268] root@kubuntu:~# tar xzf DarwinStreamingSrvr5.5.5-Source.tar.gz DarwinStreamingSrvr5.5.5-Source
root@kubuntu:~# ls
root@kubuntu:~# cd DarwinStreamingSrvr5.5.5-Source/
root@kubuntu:~/DarwinStreamingSrvr5.5.5-Source# sudo addgroup --system qtss
root@kubuntu:~/DarwinStreamingSrvr5.5.5-Source# sudo adduser -system -no-create-home -ingroup qtss qtss
Adding system user `qtss' (UID 111) ...
Adding new user `qtss' (UID 111) with group `qtss' ...
|
'manabu & Linux' 카테고리의 다른 글
스트리밍 서버 구축 - 2003 Windows Media Server VOD 주문형 (0) | 2009.05.25 |
---|---|
주문형 스트리밍 서버 구성기 - Darwin Streaming Server 2 (1) | 2009.05.25 |
페도라코어 VLC 스트리밍 서버 - 브로드캐스팅형 방송 구현 (4) | 2009.05.24 |
fedora core VLC스트리밍서버 설치 (0) | 2009.05.24 |
제로보드 Xe Rewrite Mod설정하기 (1) | 2009.05.15 |