nickdesaulniers / audiostream

Stream and transcode your music library over HTTP
42 stars 8 forks source link

audiostream

===============

Stream and transcode your music library. The goal is to make software you want to use, for instance an itunes-like audio jukebox player experience in the browser. HTML5 audio is tricky because not all browser's support all codecs/containers. This app uses ffmpeg, a free open source media transcoder, to support all browsers.

How to use

Requirements

Currently only Unix like operating systems are supported for the server. Windows support has not yet been tested. You need to install ffmpeg and have it in your path so that typing which ffmpeg in your command line produces an absolute path.

Download source

$ git clone git://github.com/nickdesaulniers/audiostream.git && cd audiostream && npm install

Configure

Modify config/config.json to add your music library's absolute paths. Notice how for paths with spaces, the spaces and parentheses needs to be escaped (a single backslash), and for JSON the escape character needs to be escaped (two backslashes).

Run

npm start or $ node app.js

View

$ open localhost:3000

Notes

Contributing

Authors

Browser HTML5 audio container compatibility

http://html5doctor.com/html5-audio-the-state-of-play/#support