【问题标题】:mpd not using lame or vorbis encodersmpd 不使用 lame 或 vorbis 编码器
【发布时间】:2015-06-02 00:34:11
【问题描述】:

我正在尝试通过 mpd 运行 httpd 流。我的配置相当简单:

# --------  AUDIO FOR STREAM ---------------------
audio_output {
    type          "httpd"
    name          "My HTTP Stream"
    encoder       "lame"        # optional, vorbis or lame
    port          "8000"
#    quality        "5.0"            # do not define if bitrate is defined
    bitrate       "128"            # do not define if quality is defined
#    format        "44100:16:1"
#    max_clients    "0"            # optional 0=no limit
}

但是当我运行 mpd 时出现以下错误:

Mar 28 15:40 : fatal_error: line 337: No such encoder: lame

当我尝试使用 vorbis 时也会发生同样的情况。我检查了我的 mpd 版本,这是输出:

$ mpd --version
Music Player Daemon 0.19.8
...
Encoder plugins:
  null wave
...

目前看来,它似乎没有安装 lame/vorbis 编码器插件。我目前正在使用 OS X,所以我通过自制软件安装了 mpd。任何想法如何解决这一问题?

【问题讨论】:

    标签: macos encoder lame mpd


    【解决方案1】:

    无论出于何种原因,即使我安装了 lame + vorbis 库作为依赖项,但当我安装 mpd 时,它们并没有作为编码器插件安装。

    为此,您必须使用编码器作为选项运行 brew 命令。

    brew install mpd --with-lame

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-01-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多