Posts Tagged ‘shoutcast’
-
Streaming audio to icecast/shoutcast server on debian linux
After a long battle, I got it:
I installed lame from source. Then, I downloaded ices0 (which is only for mp3 files). I had to change the configure file because it wasn’t finding shout. I probably don’t need all of these, but it doesn’t hurt.
# seed pkg-config with the default libshout location
PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/local/lib/pkgconfig}
PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/include}
PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/pkgconfig}Then did:
make
make installAnd that was it!
Well, almost… the last stretch was gratifyingly easy. It turns out xml support was not installed when I complied ices0, so… I did it all in the command line:ices -h [myserver] -m / -p [myport] -P [mypass] -t icy -F playlist -v
My server was hosted by serverroom.us
However, since I don’t want to enter all that stuff each time, I made a bash script that encapsulates it and I just call that script (which I put in /usr/local/bin) and I pass in the playlist file (file containing paths to mp3 files).
About me
I live in Denver, Colorado and work as a contractor for HAIKU Learning Systems, Inc., an online learning company. I did my Master's in Music Informatics at Indiana University and got a B.A. in Computer Science and Mathematics, with a minor in Music from Carroll College in Helena, Montana.