将音频广播到网站

发布于 2024-07-27 05:21:27 字数 46 浏览 5 评论 0原文

我正在寻找学习材料、示例、 了解我需要从酒吧音频广播直接广播到网站的内容。

I am looking for learning materials , examples ,
learning what I need to broadcast from a pub Audio Broadcast directly to Web site.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

烟花肆意 2024-08-03 05:21:27

我宁愿将问题分为三个部分:

  1. 获取音频流
  2. 广播该流
  3. 将流集成到您的网站中

典型的场景是 1. 您在家录制节目,2. 将流发送到您的托管服务器它被广播。 3- 您的用户可以直接从您的网站收听节目。

当然,对于有限的受众,可以合并步骤 1 和 2。
对于所有这些步骤,有多种技术,并非所有技术都仅限于 MP3。

他们的选择取决于几个参数,例如服务器运行的操作系统、价格、流量的安全性等。

广播网站的常见做法是提供几种不同的技术,具体取决于客户端播放它们的能力。
现在的另一个选择是使用广泛安装的附加组件,例如闪存,在大多数情况下,这将是最简单的选择,也是我推荐的选择。

关于流本身,我看到的主要技术有:

  • MP3 (shoutcast/icecast)
  • Real Audio
  • Windows Media Server 技术(通常是 WMA)

MP3

最容易设置,在所有平台上都有很多免费工具。

  1. 生成流
    您可以使用 VLCIceCast 和许多其他工具可从音频源生成 mp3 流。
  2. 广播流
    您可以使用 IceCast 直接从您的系统广播它,或者将其转发到您的 ISP 以获得更大的带宽。 您的 ISP 需要提供兼容的服务器应用程序。

真实音频

不是免费的。 可以通过 http 或真实协议进行流式传输(然后需要在服务器上安装专用的服务器应用程序)。

整个链条或多或少都属于 Real 工具。
一些信息

Windows Media Server

仅限 Windows,如果需要通过服务器进行广播则不是免费的。

您可以使用 Windows Media Encoder 获取有效的流,您可以直接在 Internet 上进行流传输,也可以将其设置为 Windows Media Server 的源。

这里有一些文档

我个人的建议是从直接推送到互联网的 VLC 流开始,然后使用 Flash 播放器在网页上使用它。
然后,您可以逐步设置 Icecast 服务器,并根据需要将其移动到专用服务器。

您可以在 Google 上找到有关所有这些主题的大量文档。

I would rather split the problem in three parts:

  1. Get an audio stream
  2. Broadcast the stream
  3. Integrate the stream in your web site

A typical scenario would be 1. you record a show at home, and 2. send the stream to your hosted server from where it is broadcasted. 3- Your users can listen to the show directly from your website.

Of course, for a limited audience, steps 1 and 2 can be merged.
For all these steps, there are several technologies, not all of them restricted to MP3.

Their choice depends on several parameters like the OS your server is running on, the price, the security of the flow etc.

A common practice for radio websites has been to offer several different technologies, depending on the client ability to play them.
Another option now is to use a very widely installed add-on, like flash, which will be in most cases the easiest option and my recommended choice.

Regarding the stream by itself, the main technologies I see are:

  • MP3 (shoutcast/icecast)
  • Real Audio
  • Windows Media Server technologies (usually WMA)

MP3

The easiest to set up, a lot of free tools available on all platforms.

  1. Generate the stream
    You can use VLC or IceCast and lots of other tools to generate an mp3 stream from your audio source.
  2. Broadcast the stream
    You can broadcast it directly from your system using IceCast or forward it to your ISP to get a larger bandwidth. Your ISP needs to offer a compatible server application.

Real Audio

Not free. Can be streamed either from http or real protocol (then needs a dedicated server app on the server).

The whole chain is then more or less proprietary to Real tools.
Some info here.

Windows Media Server

Windows only, not free if needs to be broadcasted via a server.

You can get a valid stream using Windows Media Encoder, that you can either directly stream on the Internet or set as a source of a Windows Media Server.

Some docs here.

My personal advice would be to start with a VLC stream directly pushed to the Internet and use a flash player to consume it on your web page.
Then, you can gradually set up an icecast server and move it to a dedicated server if needed.

You will find plenty of documentation on all these subjects on Google.

ぽ尐不点ル 2024-08-03 05:21:27

这里有两个独立的问题:

1)如何将酒吧广播的声音转换为流媒体 MP3?

2) 如何将流媒体MP3集成到网站中?


For part 1 I don't have much experience and it is not really a programming issue - I suggest browsing radio forums like this one until you find some useful advice on what gear you need.

对于第 2 部分,Icecast (www.icecast.org) 是一个流媒体服务示例,可用于将流媒体 MP3 集成到您的网站中。 IC Radio (www.icradio.com),伦敦帝国学院互联网广播电台使用它(作为一名学生,我在这个电台上播放过节目)。

There are two separate questions in one here:

1) How to convert the sound from the pub broadcast into a streaming MP3?

2) How to integrate a streaming MP3 into a website?


For part 1 I don't have much experience and it is not really a programming issue - I suggest browsing radio forums like this one until you find some useful advice on what gear you need.

For part 2, Icecast (www.icecast.org) is an example of a streaming media service that can be used to integrate streaming MP3 into your website. IC Radio (www.icradio.com), the Imperial College London internet radio station uses it (as a student I had a show on this station).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文