快捷搜索:   服务器  安全  linux 安全  MYSQL  dedecms

网络广播


  这是拿之前旧的文件改的, 主要测试平台是 Redhat 7.2/7.3 , 也曾经
  有在机器上 make 出问题没找出原因, 如果关于这部份有问题的话, 欢
  迎和弟联络, 也欢迎架好广播后提供网址分享给大家听喔. :)
  
  另外还有一份进阶设定的文件, 弟才整理一半, 会尽快整理好放上来. :)
  
  icecast:
  1. 下载点: www.icecast.org
  2. tar zxvf icecast-1.3.12.tar.gz
  3. cd icecast-1.3.12;
   ./configure --prefix=/usr/local/icecast --with-python --with-libwrap
  
   // 可以考虑加上 --with-crypt , 但是在设定密码时必需要有办法找出加密后
   的内容
  
  4. make; make install
  5. cd /usr/local/icecast/conf
  6. mv icecast.conf.dist icecast.conf
   其它三个 .dist 档比照处理
  7. vim icecast.conf
   修改下列资料
   location
   rp_email
   server_url
   max_clients
   max_clients_per_source
   encoder_password
   admin_password
   oper_password
   hostname
   server_name
  
   其它的视需要修改, 如 port 等.
  
  8. cd ../bin ; 启动 icecast , -b 是强制让 icecast 进入背景模式
   ./icscast -b
  
  配合套件.
  1. MuSE
   muse.dyne.org : MuSE-0.7.1.tar.gz
   ./configure --prefix=/usr/local/muse --with-x --with-gtk-prefix --with-glib-prefix --with-ogg-prefix --with-vorbis-prefix
   make
   make install
   /usr/local/muse/bin/muse &
  
   先选择 "Lets stream" button , 设定 icecast 和 lame 的部份, 然后 connect
   原视窗下方可以看出是否 connect 成功. 接下来请参考该网站的说明.
  
  2. liveice
   http://star.arm.ac.uk/~spm/software/liveice.html: liveice.tar.gz
   ./configure
   make
   在该目录下会产生 liveice ,liveiceconfigure.tk
   执行 liveiceconfigure.tk 会协助设定 liveice.cfg 设定档.
   cp liveice.cfg /etc/
   后面的使用目前测试无效
  
  3. iceS
   www.icecast.org: ices-0.2.3.tar.gz
   ./configure --prefix=/usr/local/ices --with-lame --with-vorbis --with-perl --with-python-includes=/usr/include/python2.2
   make
   make install
   cd /usr/local/ices/etc
   mv ices.conf.dist ices.conf
   vim ices.conf : 修改 password 及其它视需要修改的地方
   vim /etc/playlist : 一行一首 mp3 , /path/to/mp3
   cd /usr/local/ices/bin
   ./ices -F /etc/playlist -B
   # -B 是让 ices 进入背景模式
  
   用 wimamp or xmms : 选择播放位置 http://your.url:8000/
   wow.... success !!
  
  4. darkice :
   没测试, 看来似乎主要是将音效卡的 line in 做 encode 送到 icecast
顶(0)
踩(0)

您可能还会对下面的文章感兴趣:

最新评论