Fandom

Music Player Daemon Community Wiki

Hack: mms2mp3

525pages on
this wiki
Add New Page
Talk0 Share

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.

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

#!/bin/sh
export TERM=vt100
echo Content-Type: application/octet-stream
echo
exec cvlc --quiet "mms://helix10.rtvslo.si/wmtencoder/ra1.wma" --sout '#transcode{acodec=mp3,ab=128,channels=2,samplerate=44100}:standard{access=file,mux=raw,dst=-}' 2>/dev/null



Edit the mms url, add execute flag (chmod +x) and name the file name.mp3, install your favourite server with cgi support, and enjoy!

Also on Fandom

Random Wiki