Licensed under the GPL!			   |
see the file called LICENSE for details.   |
					   |
-------------------------------------------|

Distmp3 is a client and a daemon (both written in perl) for distributed
mp3-encoding across multiple hosts on a network.

The daemon binds port 4600 on localhost and waits for connections.
The client connects to a remote host on port 4600 and a handshake occurs.

If the handshake goes well the daemon creates two named-pipes (fifos)
for the mp3-encoding program to use. It also forks two childs as reading or
writing from/to the fifos is a blocking system call.

The client will, if the handshake goes well, open the wav-file for reading and the mp3-file for writing.

The client then starts sending raw data from the wav-file across the network to
the daemon who passes the recieved data to the output-fifo (which the 
mp3-encoding program reads its data from). 

The daemon reads the encoded mp3-data from the input-fifo (the one the 
mp3-encoder write it's encoded mp3 to) and sends it back to the client who 
writes it down in a file.

The mp3-encoding programs that I know works is 8hz-mp3. BladeEnc, l3enc, 
encoder refuses to cooperate, they probably doesn't like to not being able to 
seek to a certain position within the wav-file.

Update: Now there's a config-file, /etc/distmp3/distmp3.conf
	All options are now configured in this file,
	but it's possible to override them on the command-line.

The author of this program doesn't take any responsibility for any harm this
program may do to you, your pet hamster, or anything else.

Author: Martin Josefsson <gandalf@wlug.westbo.se>
Idea: Peter Lindqvist <nevyn@wlug.westbo.se>

Thanks to: nevyn, without him this program wouldn't exist.
