用于网络广播的 Ubuntu

use*_*100 7 streaming internet-radio

我打算使用 Icecast2 建立一个纯粹用于网络广播的流媒体服务器。在 Ubuntu 安装过程中我需要哪些软件包以及我可能需要的任何第三方应用程序。

我将使用 BUTT(使用此工具进行广播)编码器,并希望能够在任何计算机上运行 BUTT,以便其他人可以从任何地方向我的服务器进行广播。

我正在寻找有关如何实现上述目标的提示或教程。我主要需要关于配置 Ubuntu Server 和 icecast2 的信息。

还有图形用户界面?如果是的话是什么。最好是轻便的。我选择 Ubuntu 是因为它的安全性和可靠性级别。

我希望有人能帮助我,因为我打算把它变成一个社区广播电台。非常感谢

千赫

Fra*_*nas 1

apt-get 安装icecast2

之后我们必须编辑/etc/icecast2/icecast.xml。大多数默认值目前应该可以正常工作,但您应该更改 ... 部分中的密码。源密码是 Ices2 稍后用于连接到 Icecast2 的密码;admin-password 是管理员将在 Icecast2 的 Web 界面中使用的密码;我们不会使用中继密码,但无论如何您都应该更改它。

vi /etc/icecast2/icecast.xml

[...]
    <authentication>
        <!-- Sources log in with username 'source' -->
        <source-password>password1</source-password>
        <!-- Relays log in username 'relay' -->
        <relay-password>password2</relay-password>

        <!-- Admin logs in with the username given below -->
        <admin-user>admin</admin-user>
        <admin-password>password3</admin-password>
    </authentication>
[...]
Run Code Online (Sandbox Code Playgroud)

然后编辑 /etc/default/icecast2 并将 ENABLE 设置为 true:

vi /etc/default/icecast2

# Defaults for icecast2 initscript
# sourced by /etc/init.d/icecast2
# installed at /etc/default/icecast2 by the maintainer scripts

#
# This is a POSIX shell fragment
#

# Full path to the server configuration file
CONFIGFILE="/etc/icecast2/icecast.xml"

# Name or ID of the user and group the daemon should run under
USERID=icecast2
GROUPID=icecast

# Edit /etc/icecast2/icecast.xml and change at least the passwords.
# Change this to true when done to enable the init.d script
ENABLE=true
Run Code Online (Sandbox Code Playgroud)

就这样,我们现在可以启动 Icecast2 服务器: /etc/init.d/icecast2 start

现在,您可以将浏览器定向到 http://:8000/(将 192.168.0.100 替换为您自己的 IP 地址或 FQDN)并通过 Web 界面进行浏览。

根据您的预期用途,还有一些设置需要更改。但这应该可以帮助您开始。


小智 0

我对此没有经验,但这里有 Sourcefabric 的 Airtime 。

看起来很棒而且很简单,还有专业版。