Icecast Clone with HTML5 Audio Uses ffmpeg to decode files, lame and oggenc to encode.
Deps:
node v0.4.7
ffmpeg lame oggenc (vorbis-tools)
NPM: colors express
clone the github repo and install dependencies:
Ubuntu: FFMPEG and Vorbis Tools (oggenc) sudo apt-get ffmpeg vorbis-tools
LAME: wget http://sourceforge.net/projects/lame/files/lame/3.98.4/lame-3.98.4.tar.gz/download tar zxvf lame-3.98.4.tar.gz cd lame-3.98.4 ./configure make make install
Test installations by typing these commands, each command should show an error message (no files selected)
ffmpeg
lame
oggenc
Create a music folder Place music files in music folder. !important The file extensions in the music folder must be compatible with decoding in ffmpeg
node app.js
Listen to the stream by navigating to the IP address of the computer ie. 255.255.255.255:3000 Will stream .ogg or .mp3 based on browser
Similar artists list, client side test on ipod test on Android, (support for audio tag, no support for codecs? AKA sometimes it works, sometimes it doesn't)