播放 mp3 的最佳方式

发布于 2024-09-17 11:42:09 字数 940 浏览 14 评论 0原文

我需要组织从我的机器到世界其他地方的 mp3 流。人们建议我将 MPDIcecast2 作为前端。一切都很好,除了一件事 - 音乐正在以 Ogg Vorbis 的形式传输,而不是我实际需要的。

MPD 的配置文件有一个片段:

audio_output {
    type                    "shout"
    name                    "Radio"
    host                    "localhost"
    port                    "8000"
    encoding                "mp3"
    mount                   "/radio.ogg"
    password                "mypass"
    bitrate                 "256"
    format                  "44100:16:2"
    protocol                "icecast2"
    description             "radio stream"
}

但是,Icecast 的状态页面显示它正在流式传输 ogg,而不是 mp3。 MPD 的版本是 0.13.2,运行在 Debian Lenny 上。怎么了?

任何帮助将不胜感激。

PS我编译了LAME编码器。

I need to organize mp3-streaming from my machine to the rest of the world. People advised me to use MPD with Icecast2 as frontend. Everything is ok except one thing — music is being streamed as Ogg Vorbis, not what actually I need.

There's a snippet of MPD's config file:

audio_output {
    type                    "shout"
    name                    "Radio"
    host                    "localhost"
    port                    "8000"
    encoding                "mp3"
    mount                   "/radio.ogg"
    password                "mypass"
    bitrate                 "256"
    format                  "44100:16:2"
    protocol                "icecast2"
    description             "radio stream"
}

But, Icecast's status page says it's streaming ogg, not mp3.
MPD's version is 0.13.2 running on Debian Lenny. What's wrong?

Any help will be appreciated.

P.S. I have LAME encoder compiled.

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

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

发布评论

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

评论(1

飘然心甜 2024-09-24 11:42:09

所以我的问题就解决了。我刚刚使用 --enable_shout 和 --enable_ffmpeg 键编译了 0.15.2 版本的 MPD。

So my question is solved. I just compiled 0.15.2 version of MPD with --enable_shout and --enable_ffmpeg keys.

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