動作
Feature #77
已結束
SC
SC
Install icecast on Ubuntu
Feature #77:
Install icecast on Ubuntu
檔案
SC 是由 Sashiba Chou 於 超過 4 年 前更新
影音檔格式介紹:
https://ithelp.ithome.com.tw/articles/10201741
What is the best way to stream a audio file to website users/listeners [closed]
https://stackoverflow.com/questions/13624048/what-is-the-best-way-to-stream-a-audio-file-to-website-users-listeners
SC 是由 Sashiba Chou 於 超過 4 年 前更新
- 狀態 從 New 變更為 In Progress
SC 是由 Sashiba Chou 於 超過 4 年 前更新
- Command line:
- 執行icecast2
sudo systemctl start icecast2.service
- 執行mpd
sudo systemctl start mpd
or
sudo /etc/init.d/mpd start
- Configure files
- icecast2: /etc/icecast2/icecast.xml
- mpd: /etc/mpd.conf
- 執行流程
- 啟動icecast2
- 啟動mpd
- 執行
mpc add [files]
mpc play
SC 是由 Sashiba Chou 於 超過 4 年 前更新
- 完成比例 從 0 變更為 100
- 安裝流程
- 安裝icecast2
sudo apt-get install icecast2
- reference:
- 安裝MPD
sudo apt-get install mpd
sudo apt-get install mpc
- reference:
SC 是由 Sashiba Chou 於 超過 4 年 前更新
SC 是由 Sashiba Chou 於 超過 4 年 前更新
- 狀態 從 In Progress 變更為 Closed
SC 是由 Sashiba Chou 於 超過 4 年 前更新
h2. Ubuntu指令
- 查看port被哪些占用(以port 6600為例)
sudo lsof -i :6600
sudo netstat -anp | grep ":6600"
- 停止mpd socket(尤其出現Failed to bind socket: Address already in use)
sudo systemctl stop mpd.socket
動作