mpd httpd 流媒体不工作

mpd httpd 流媒体不工作

我已经安装了 mpd 并将其配置为在本地与 gmpc 完美配合。我还在手机上使用 mpdroid,我想将音乐从我的音乐库流式传输到手机。

mpdroid 的音乐控制运行正常。但当我尝试从 mpd 播放音乐时,手机没有声音,连接也未建立。

这是我的 mpd.conf 文件

#user               "mpd"
bind_to_address     "0.0.0.0"
audio_output {
    type        "alsa"
    name        "Sound Card"
    device      "hw:0,0"    # optional
    format      "44100:16:2"    # optional
    mixer_device    "default"   # optional
    mixer_control   "PCM"       # optional
    mixer_index "0"     # optional
}
audio_output {
    type        "httpd"
    name        "My HTTP Stream"
    encoder     "lame"      # optional, vorbis or lame
    port        "8000"
    quality     "2.0"           # do not define if bitrate is defined
#   bitrate     "128"           # do not define if quality is defined
    format      "44100:16:1"
}
mixer_type          "software"

这是 mpd.log

Mar 09 00:17 : player_thread: played "English Songs/Music/OSTs/(500) Days of Summer[Complete with Bonus Soundtracks][2009]/10 - Feist - Mushaboom.mp3"
Mar 09 00:26 : output: Failed to enable "My HTTP Stream" [httpd]: Failed to bind to '[::]:8000': Address already in use
Mar 09 00:26 : avahi: Service 'Music Player' successfully established.
Mar 09 00:26 : ffmpeg/mp3: Header missing
Mar 09 00:26 : ffmpeg/mp3: Could not find codec parameters (Audio: mp3, 0 channels, s16)
Mar 09 00:26 : ffmpeg/mp3: Estimating duration from bitrate, this may be inaccurate
Mar 09 00:26 : ffmpeg/mp3: Header missing
Mar 09 00:27 : output: Failed to enable "My HTTP Stream" [httpd]: Failed to bind to '[::]:8000': Address already in use

请帮助!

相关内容