질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

vod서버를 구축 하려면...

작성자 정보

  • 임근식 작성
  • 작성일

컨텐츠 정보

본문

 

하지만 VOD 솔루션을 별도 구매를 하게 되면 워낙 가격이 비싸서 그런데 상용이 아닌

배포용 VOD 솔루션이 없나요?

 

==> DarwinSteramingServer(이하 DDS)는 APPLE의 공개 소스 중 하나로 윈도우즈와

매킨토시 양쪽을 모두 지원하고 공개 소스이므로 누구든지 무료로 설치하여 사용할

수 있습니다. 동영상(QuickTime Movie , MPEG4) , MP3등의 디지털미디어를 웹상에서

재생하고 실시간 MP3 음악방송이 가능합니다. Linux, Solaris, Windows NT/2000 등


다양한 플랫폼을 지원합니다.  

# 1. 소스 다운로드

소스는 아래 주소에서 다운 받습니다. 무료라고는 하지만 회원가입을 해 주어야 다운로드가 가능합니다.
*
http://developer.apple.com/darwin/projects/streaming/


# 2. 설치
# wget
http://www.opensource.apple.com/projects/streaming/release/DarwinStreamingSrvr5.5-Linux.tar.gz
# cp DarwinStreamingSrvr5.5-Linux.tar.gz /usr/local/  
# cd /usr/local/
# tar xvzf DarwinStreamingSrvr5.5-Linux.tar.gz
# cd DarwinStreamingSrvr5.5-Linux
# ./Install
---------------------------------------------------------------------------------------
Installing Darwin Streaming Server

Checking for and Killing currently running Darwin Streaming Server
Removing previous versions of Darwin Streaming Server
Backing up previous config files
Inserting path to perl into scripts..
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...QTSSHomeDirectoryModule [dynamic]
INFO: Module Loaded...QTSSRefMovieModule [dynamic]
INFO: Module Loaded...QTSSFileModule [static]
INFO: Module Loaded...QTSSReflectorModule [static]
INFO: Module Loaded...QTSSRelayModule [static]
INFO: Module Loaded...QTSSAccessLogModule [static]
INFO: Module Loaded...QTSSFlowControlModule [static]
INFO: Module Loaded...QTSSPosixFileSysModule [static]
INFO: Module Loaded...QTSSAdminModule [static]
INFO: Module Loaded...QTSSMP3StreamingModule [static]
INFO: Module Loaded...QTSSAccessModule [static]
WARNING: No users file found at /etc/streaming/qtusers.
WARNING: No groups file found at /etc/streaming/qtgroups.
Streaming Server done starting up
copying relayconfig.xml-Sample to /etc/streaming/relayconfig.xml-Sample
copying qtusers to /etc/streaming/qtusers
copying qtgroups to /etc/streaming/qtgroups
copying readme.txt to /var/streaming/readme.txt
copying 3rdPartyAcknowledgements.rtf to /var/streaming/3rdPartyAcknowledgements.rtf
creating /usr/local/movies directory
creating /var/streaming/playlists directory
copying sample_100kbit.mov into /usr/local/movies/sample_100kbit.mov
copying sample_300kbit.mov into /usr/local/movies/sample_300kbit.mov
copying sample_100kbit.mp4 into /usr/local/movies/sample_100kbit.mp4
copying sample_300kbit.mp4 into /usr/local/movies/sample_300kbit.mp4
copying sample.mp3 into /usr/local/movies/sample.mp3
copying StreamingLoadTool to /usr/local/bin/StreamingLoadTool
copying streamingloadtool.conf to /etc/streaming/streamingloadtool.conf
copying streamingadminserver.pl into /usr/local/sbin/streamingadminserver.pl
copying Admin HTML to /var/streaming/AdminHtml directory
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].
Please enter a new administrator user name: chok2
You must also enter a password for the administrator user
[Note: The administrator password cannot contain spaces, or quotes, either single or double,
and cannot be more than 80 characters long].
Please enter a new administrator Password:
Re-enter the new administrator password:
Adding userName chok2
Setup Complete!
-------------------------------------------------------------------------------------------

의외로 설치는 간단하고 빨리 끝나 버립니다.


# 3. 서버설정

웹브라우져를 띄워서 http://IP_Address:1220 를 입력합니다.
1220 포트는 DSS(Darwin Streming Server)의 관리자 페이지 접속을 위한 포트입니다.
로그인 화면이 나오면 지정한 Admin 계정과 패스워드를 넣고 다음으로 넘어갑니다.
MP3 Broadcast를 위한 패스워드 설정이 나옵니다. 여기에서 설정하는 패스워드는 MP3 방송을 할 때
ShoutCast로 서버에 접속할 때 사용되는 패스워드입니다. 설정을 하고 다음으로 넘어간다.  

다음으로 Secure Administration 설정이 나옵니다. 설정하고 넘어갑니다.
Media Folder 설정이 나옵니다. 디폴트는 /usr/local/movies입니다.
이 폴더 안에는 DDS의 샘플용 미디어파일이 들어 있습니다.
관리를 편하게 하기 위해 media 계정을 생성하고, 계정의 홈 디렉토리를 이용하면 나중에 관리하기
용이합니다. 설정을 하였으면 넘어갑니다. 끝으로 Streaming on Port 80 설정이 나옵니다. 설정하고
완료합니다. 여기까지를 모두 마치면, DSS(Darwin Streming Server) 관리자 페이지가 보일 것이고,
서버상태를 요약한 메인 화면이 보일 것입니다.


# 4. DDS 구동하기

DDS를 처음 설치하면 자동으로 서버와 서버관리 프로그램이 구동되지만 이후로는 수동으로 구동시켜
주어야 합니다.  
# cd /usr/local/DarwinStreamingSrvr5.5-Linux
DDS 구동
# ./DarwinStreamingServer
DDS 관리서버 구동
# ./streamingadminserver.pl
DDS와 DDS관리서버의 종료 방법은 아직 모르겠습니다.
제 경우는 어차피 서버에서 돌아가는 거니까 그냥 놔둡니다.  


# 5. 실시간으로 MP3 방송하기
MP3 실시간 방송은 Icecast 서버에서 방송하는 것과 똑같습니다. 먼저 SHOUTcast Source 프로그램을 구동합니다.
서버주소(www.your_Server.com)를 입력하고 포트번호는 8000을 입력, 페스워드는 서버설정 시 입력했던 패스워드를
입력합니다. Admin 패스워드가 아닙니다. MP3 Broadcast 패스워드입니다.
DDS 서버에 접속이 끝나고 나면 Winamp를 통해 MP3 파일을 재생합니다.
클라이언트에서 방송을 들으실 때는 윈앰프 주소입력창에
http://www.your_server.com:8000을 입력하시면 됩니다.


# 6 동영상 클라이언트 MPEG4IP 설치(
http://mpeg4ip.net)
#> wget
http://nchc.dl.sourceforge.net/sourceforge/mpeg4ip/mpeg4ip-1.4.1.tar.gz
#> ./bootstrap --disable-mp4live
#> make
#> make install
#> gmp4player
#> mp4live

이하여백.

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,070 명
  • 현재 강좌수 :  35,986 개
  • 현재 접속자 :  492 명