PHP Classes

File: README.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of sk89q  >  PHP Shoutcast Server  >  README.txt  >  Download  
File: README.txt
Role: Documentation
Content type: text/plain
Description: Readme
Class: PHP Shoutcast Server
Implement a Shoutcast music streaming server
Author: By
Last change:
Date: 6 years ago
Size: 1,005 bytes


Class file image Download
PHP Shoutcast Server
Copyright (c) 2005 and onward sk89q <>
Licensed under the GNU General Public License v3


* PHP 5.0 or later
* Sockets


PHP Shoutcast Server is a proof-of-concept Shoutcast server written
in PHP. The project was started 18 June, 2005. It encodes tracks on
the fly using LAME and has a very basic in-built HTTP server.


Open up config.php and change the path to point to a directory
containing MP3 files.

Download the LAME executable encoder and put it into the same directory.
xcLame.exe 3.92 was used during development.

Execute run.php through the command line.

To listen, connect to with a compatible player.

Sample output:
Playing: The Verve - Bitter Sweet Symphony (Instrumental version).mp3

<Users Listening: 1>
*        WinampMPEG/5.54

The HTTP server can be found at: