¼Ö¶ó¸®½º¿¡¼ ICECAST mp3 ½ºÆ®¸² ¹æ¼Û (±Û º¸¸®¼ö) | ÀÛ¼ºÀÏ : 2005/03/21 21:59 |
Á¶È¸¼ö : 7961 |
Ãâ ó : SOLARIS HOME ( http://solaris.mesani.net/viewtopic.php?t=191 ) Á¦ ¸ñ : ¼Ö¶ó¸®½º¿¡¼ ICECAST mp3 ½ºÆ®¸² ¹æ¼Û ÀÛ¼ºÀÏ : 2003.6.20(±Ý) ±Û : º¸¸®¼ö ----------------------------------------------------------------------- ÆíÁý±Û: º¸¸®¼ö(borisu at mesani.net) 1. ¼Ò°³ icecast ´Â GPL À» µû¸£¸ç TCP/IP ±â¹Ý¿¡¼ MP3 ¹æ¼ÛÀ» °¡´ÉÄÉ ÇÏ´Â ½ºÆ®¸®¹Ö ¼¹öÇÁ·Î±×·¥À̸ç linux »Ó¸¸ ¾Æ´Ï¶ó À©µµ¿ì ¿î¿µÃ¼Á¦¿¡¼µµ »ç¿ëÀÌ °¡´ÉÇÏ´Ù. Ŭ¶óÀ̾ðÆ®´Â winamp, xmms, mpg123µîÀ» ÅëÇÏ¿© °íÀ½ÁúÀÇ À½¾Ç ¹æ¼ÛÀ» ûÃëÇÒ ¼ö ÀÖ´Ù. ¾Æ·¡ »çÀÌÆ®¿¡ °¡¸é mp3 ½ºÆ®¸² À½¾Ç ¹æ¼ÛÀ» ½±°Ô µéÀ» ¼ö ÀÖ´Ù. http://classic.winamp.com/ icecast2´Â °³¹ß¹öÀüÀÌ°í icecast1Àº °³¹ßÀÌ Á¾·áµÇ¾î ´õÀÌ»ó Áö¿øÇÏÁö ¾Ê´Â´Ù. ¿©±â¿¡¼´Â icecast1À» ±âÁØÀ¸·Î ¼³¸íÇÑ´Ù. icecast2´Â ogg Æ÷¸äÀ» ±âº»À¸·Î Áö¿øÇϸç ÀÚ¼¼ÇÑ »çÇ×Àº http://www.icecast.org À» ¹æ¹®ÇØ º¸ÀÚ. 2. ¼³Ä¡¿¡ ÇÊ¿äÇÑ ¼ÒÇÁÆ®¿þ¾î - icecast1: ÇöÀç ÃÖÁ¾ ¹öÀüÀº icecast-1.3.12 http://www.icecast.org/files/icecast-1.3.12.tar.gz - ices: ÇöÀç ÃÖÁ¾ ¹öÀüÀº ices-0.2.3 http://www.icecast.org/files/ices-0.2.3.tar.gz - ÄÄÆÄÀÏ È¯°æ 1) gcc: °³¹ßÀÚ Å×½ºÆ®È¯°æÀÌ gcc 2.9.xÀ̹ǷΠÀ̸¦ ¼³Ä¡ÇÑ´Ù. ÆÐÅ°Áö´Â http://www.sunfreeware.com¿¡¼ ¹Þ¾Æ ¼³Ä¡ÇÑ´Ù. 2) make: gmake¸¦ »ç¿ëÇÏ´Â °æ¿ì¿¡´Â binutils¿Í gnu make¸¦ ¼³Ä¡ÇÑ´Ù. http://www.sunfreeware.com¿¡¼ ¹Þ¾Æ ¼³Ä¡ÇÑ´Ù. /usr/ccs/bin/make¸¦ »ç¿ëÇصµ µÈ´Ù. 3) ÄÄÆÄÀϽà PATH¸¦ Á¤ÀÇÇÏÀÚ. # PATH=$PATH:/usr/local/bin:/usr/ccs/bin # export PATH 3. ÄÄÆÄÀÏ°ú ¼³Ä¡ 1) icecast # cd /usr/local/src # gzip -cd icecast-1.3.12.tar.gz | tar xvf - # cd icecast-1.3.12 # more INSTALL # ./configure # make # make install 2) ices # cd /usr/local/src # gzip -cd ices-0.2.3.tar.gz | tar xvf - # cd ices-0.2.3 # more INSTALL ±×´ë·Î ÄÄÆÄÀÏÇϸé error°¡ ³´Ù. socket.h ÆÄÀÏÀ» ´ÙÀ½°ú °°ÀÌ ¼öÁ¤ÇÑ´Ù. # vi libshout/sock.h ------------------------------------------------------------------ ... (¾ÕºÎºÐ define Á¤ÀǺκп¡ ´ÙÀ½ ÇÑ ÁÙÀ» »ðÀÔ) #define inet_aton(a,b) inet_pton(AF_INET, (a), (b)) ------------------------------------------------------------------ # ./configure # make # make install 3. ¼³Á¤Çϱ⠼³Á¤ÆÄÀÏÀÇ ´ÙÀ½ µÎ °¡ÁöÀÌ´Ù. - /usr/local/icecast/conf/icecast.conf # cd /usr/local/icecast/conf # cp icecast.conf.dist icecast.conf # vi icecast.conf - /usr/local/icecast/etc/ices.conf # cd /usr/local/icecast/etc # cp ices.conf.dist ices.conf # vi ices.conf - root·Î µ¿ÀÛÇÏ¸é º¸¾È»ó ÁÁÁö ¾ÊÀ¸¹Ç·Î ƯÁ¤ »ç¿ëÀÚ¿¡°Ô ¼ÒÀ¯±ÇÀ» À̾çÇÑ´Ù. # useradd -d /export/home/ice -m -c "icecast" -s /bin/ksh icecast (ÀÌÇÏ ¸í·É¾îµéÀº ¸ðµÎ icecastÀ¯Àú·Î ½ÇÇà) ¼³Á¤ÇÒ ³»¿ëÀº ´ÙÀ½À» Âü°íÇÑ´Ù. http://www.oclug.org/icecast.html - mp3 ÆÄÀÏ playlistÀÛ¼ºÇϱâ (/storage/mp3¿¡ ÆÄÀϵéÀÌ ÀÖ´Ù°í °¡Á¤) $ find /sotrage/mp3 -name '*.mp3' > /usr/local/icecast/etc/shout.playlist 4. ½Ãµ¿ 1) icecast ½ÇÇà $ cd /usr/local/icecast/bin $ ./icecast -p linuxcast & (linuxcast´Â icecast.conf¿¡¼ ÁöÁ¤ÇØÁØ Æнº¿öµå) 2) ices ½ÇÇà $ cd /usr/local/icecast/bin $ ./ices -r -C ../etc/ices.conf -F ../etc/shout.playlist -P linuxcast & 5. ¹æ¼Û µè±â Ŭ¶óÀ̾ðÆ®¿¡¼ winamp, mpg123µîÀ¸·Î ¹æ¼ÛµÇ´ÂÁö¸¦ È®ÀÎÇÑ´Ù. 1) Xmms, Winamp, Realplayer open locationÀ» ÀÌ¿ëÇØ(Control + l) Á÷Á¢ URLÀ» ÀÔ·ÂÇÑ´Ù. URLÀº ´ÙÀ½°ú °°´Ù. http://your-icecast-host:8000/shout.playlist 2) mpg123 $ mpg123 http://your-icecast-host:8000/shout.playlist 6. Âü°í ¹®¼ 1) YoLinux: Linux Audio Streaming http://www.yolinux.com/TUTORIALS/LinuxTutorialAudioStreaming.html 2) Streaming MP3's over your home/office network http://www.oclug.org/icecast.html 3) Streaming MP3's (RedHat Documentation) http://www.europe.redhat.com/documentation/HOWTO/MP3-HOWTO-11.php3 4) live ¹æ¼Û±¹ http://www.live365.com/index.live http://classic.winamp.com/ |
Ä¿ÇǴнº, ½Ã½ºÅÛ ¿£Áö´Ï¾îÀÇ ½°ÅÍ / URL : http://coffeenix.net/board_view.php?bd_code=792 |