Music Player Daemon Community Wiki


522pages on
this wiki
Add New Page
Talk0 Share

I use the following shell script as a CGI script with my webserver. It starts vlc and transcodes the mms stream to OggVorbis, sending it to stdout. The "exec" is necessary so that vlc gets really killed if the client closes the connection.

export TERM=vt100
echo Content-Type: text/plain
exec vlc --quiet mms:// --sout '#transcode{acodec=vorb,ab=128}:standard{access=file,mux=ogg,dst=-}' 2>/dev/null
Save the script as something ending in .ogg so that mpd knows its an ogg stream it is receiving.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.