icecast  ̿  
 
ۼ : 2000/04/09
 : 2000/10/28
۾ :  μ (CHoims@hitel.net)

---
1. غ۾

2. icecast
 2-1 icecast ...
 2-2 icecast ġ
 2-3 icecast 
 2-4 icecast ϱ

3. shout
 3-1 shout ?
 3-2 shout ġ
 3-3 shout 
 3-4 shout ϱ

4. liveice
 4-1 liveice ?
 4-2 liveice ġ
 4-3 notlame ġ
 4-4 liveice 
 4-5 liveice ϱ

5.  

---
1. غ۾
  ϱ  ʿ α׷ Դϴ.

icecast (ۼ)
 Ȩ http://www.icecast.org  ٿ մϴ.

shout (MP3 Ʈ)

liveice (DJ )

notlame (MP3 encoder)

---
2. icecast
 
2-1 icecast ...
icecast  GPL   TCP/IP ݿ MP3   ϴ Ʈ α׷̸ linux Ӹ ƴ϶  ü  մϴ.

2-2 icecast ġ
icecast ĻƮ http://www.icecast.org  ٿ ޽ϴ.
(2000 10 28   1.3.7 ̸ ߹δ 1.3.8-beta2  ֽϴ)

ϰ RPM Ű ٿ ޾ ġ Ҽ , ⿡ ҽ  ޾Ƽġ ڽϴ.
ٿ  α׷  1.3.7 ̸   ġ۾ Ĩϴ.

[root@mins /usr]# tar xvzf icecast-1.3.7.tar.gz
[root@mins /usr]# cd icecast-1.3.7
[root@mins icecast-1.3.7]# ./configure
[root@mins icecast-1.3.7]# make
[root@mins icecast-1.3.7]# make install

 ġ Ǿٸ /usr/local/icecast 丮 Ǽ ֽϴ.

*  : tcp_wrapper ȭ ɰ ȣȭ н  ϴ  configure ɼǿ  --with-libwrap , --with-crypt  ߰ ؾϸ, readline support  ġ ʴ  --without-readline  մϴ. (ڼ  INSTALL )


2-3 icecast 
/usr/local/icecast/conf/icecast.conf.dist   icecast/bin/   icecast.conf  vi  pico    ˸ ȯ  մϴ.

[root@mins conf]# cp icecast.conf.dist ../bin/icecast.conf

⺻ server_name  ־ 뿡   Ÿ  ߿  κе  ϴ. (## κ ּ κԴϴ)

#########################
### ִ  
max_clients 900 
###  ҽ (ä) ִ  
max_clients_per_source 900
max_sources 10
###    ִ  
max_admins 5
### 뿪 
throttle 10.0                                                                

#########################
### н  κԴϴ. ⺻ н hackme Դϴ.
encoder_password hackme
admin_password hackme
oper_password hackme                                                           
#############
###   κԴϴ. 
#hostname 192.168.1.1
# ۿ  Ʈ  ݴϴ.
port 8000 
port 8001
#    ̳ IP   ݴϴ.
server_name your.server.name                                                   
2-4 icecast ϱ

 icecast  غ.
[root@mins bin]# ./icecast 

⺻    Ͽ ϸ, ɼǿ   ˰  icecast -h   մϴ.

---
3. shout

3-1 shout ?
shout  icecast  ڵ Ǿ mp3  ִ α׷Դϴ.
δ ǽð liveice  Ͽ CPU, RAM  ٴ    ̸ ڵ ϴ ð  ܺԷ ҰϿ ǽð  ٴ  ִ.

3-2 shout ġ
http://www.icecast.org  shout  ٿ ޾,   ġ մϴ.

[root@mins /usr]# tar xvzf shout-0.8.0.tar.gz
[root@mins shout-0.8.0]# make
[root@mins shout-0.8.0]# make install

ġ Ϸ Ǹ icecast/bin 丮 shout  ȭ ִ° ȮϽǼ ֽϴ.

3-3 shout 
shout        ʾƵ, Ŀǵ λ󿡼 ɼ ־ Ǳ⿡, ⿡ ϰ ߿κи   Ѵ.

shout.conf  ⺻ icecast/etc/  ã , ## κ ̴ּ.

[root@mins etc]# cp shout.conf.dist shout.conf
[root@mins etc]# vi shout.conf

###############
##  ̸ ش. icecast     localhost  Ѵ.
server_name localhost 
## Ʈ 
port 8000
## icecast   ص ȣ ´. (hackme  )
password hackme
mount default                                                                

###############
## ۱ ̸Դϴ. 
name Radio_AP
desc The_best_monkey_music_monkeys_can_buy
genre Monkey_Music
url http://www.apan.com/
#,    
public yes                                                                     
###############
short_titles yes
## 뷡    ݴϴ. 
title_streaming yes
id3 no
autocorrect yes                                                              
  
###############
## MP3  Ʈ   ( 쿡 playlist )
playlist playlist
##  ְ Ǿ ݺ 
loop yes
##   
shuffle no
  
3-4 shout ϱ
  ϱ  ۿ Ʈ ۼѴ.
⿡  playlist  Ϸ ۼ غҴ.

[root@mins etc]# cat playlist
/home/radio/DJDOC5/01 INTRO(ͽŻ).mp3
/home/radio/DJDOC5/02 (Acoustic).mp3
/home/radio/DJDOC5/03 L.I.E.mp3
/home/radio/DJDOC5/04 Nuclear_Lunch_the_Detect.mp3
/home/radio/DJDOC5/05 Boogi_Night.mp3
/home/radio/DJDOC5/05_.mp3                                             

Ʈ    Ͽ    ɾ Ͽ,

[root@mins etc]# find /home/radio/ -name "*.mp3" > playlist

xmms  쿡 xmms  Ʈ  ״ Ͽ ϴ.

 shout   ϰ Ǹ,  ۵ȴ.

[root@mins bin]# ./shout

տ ̹ shout.conf  ˸° ϿǷ ٸ ɼ  ϴ. 

shout   ̴ Ϲ ɼ  .

 -C   
 -D  뷡   뷡  
 -P н 
 -l 뷡   
 -p ÷ Ʈ 
 -r ϰ 
 -z ׶忡 
 -h 

---
4. liveice

4-1 liveice ?
livceice  shout   ý ڿ   Ѵٴ   liveice  ǽð MP3  ڵ Ͽ icecast   ϸ, ܺ Է ϴٴ  , θ ̰ ִ α׷̴.

4-2 liveice ġ
liveice  cvs  ƿƼ ̿Ͽ (κ ǿ ԵǾ ֽϴ)ġ մϴ.   ۾ ġ Ҽ ֽϴ.

[root@mins /usr]# export CVSROOT=:pserver:anonymous@cvs.icecast.org:/cvsroot
[root@mins /usr]# cvs login
(Logging in to anonymous@cvs.icecast.org)
CVS password:                                                                

н ̴. ̰ ״ ͸ ָ ȴ. 
Ʈ ׳ ,   ̴.  ġ ۾ ϰڴ.

[root@mins /usr]# cvs checkout liveice

 liveice 丮 ̵ Ͽ..

[root@mins liveice]# autoconf
[root@mins liveice]# ./configure
[root@mins liveice]# make

Ʒ ʿ ȭϵ /icecast/bin  ϴ  liveice  ġ Ĩϴ.

liveiceconfigure.tk
liveice
liveice.cfg
frontend.tcl
simple_frontend.tk

*  : http://cvs.icecast.org/cvsweb.cgi/  , liveice-xmms  ִ.  X   ʾ Ẹ , Ƹ winamp ó ϰ  Ҽ ִ ÷ ε ʹ.   ϰ ϰ ϴ е ѹ ġ  Ѵ.

4-3 notlame ġ
liveice  ϱ  notlame ̶ ڵ α׷ ġ Ѵ.
 Ʈ ٿ  , ġ  Ǭ ̳ʸ /icecast/bin  ϸ Ǳ⿡  ϰڴ.
http://hive.me.gu.edu.au/not_lame/

4-4 liveice 

X 츦 ϴ  liveiceconfigure.tk  ϸ, liveice.cfg  Ҽ ֽϴ. ⿡   غ, 뷫 ؾ    ϴ.

# basic options
# , н带 մϴ. н hackme
SERVER localhost
PORT 8000
PASSWORD hackme                                                             
 
#  ٿ  not_lame θ  ݴϴ.
USE_LAME3 ./notlame

# ī带  ݴϴ.
SOUNDCARD

# name# name                          -n
#  ŸƲ
NAME Szyzyg - Scott's Mp3 Collection and Other Wierd Stuff                     
# password                       -P
# hackme  
PASSWORD hackme                                                              

# Ʈ ȭ 
PLAYLIST playlist                                                              
4-5 liveice ϱ
[root@mins bin]# ./icecast

 ϰ Ǹ,  â ߸  Ű   Ҽ ֽϴ.

Action                Channel 1 Key   Channel 2 Key
~~~~~~                ~~~~~~~~~~~~~   ~~~~~~~~~~~~~
 Ʈ ̵          1               a
 Ʈ ̵          q               z
/                   2               s
 ä                   w               x
                    3               d
                    e               c
ӵ                    4               f
ӵ                    r               v
//        5               g
 ä                   t               b
ϰ                u               m                              

̽ٸ  ũ Ȱȭ Ǹ, #  Ʈ ٽ нϴ.
ϳ ä ְ ɶ, ٸ ϳ äη  ã   ϸ ˴ϴ.

X  ¶   GUI ¿ ϰ Ҽ ֽϴ.

[root@mins bin]# ./frontend.tcl | liveice

---
5.  
 MP3 ÷̾ Ͽ    ִ.
xmms  winamp   Ctrl + L Ű  URL ּâ ߴµ,
̰ http://ּ:8000  Է ϸ ణ ۸ ð   ´.

---
  ߰ؾߵ ̳ ߸  CHoims@hitel.net  ֽñ ٶϴ.








