mp3 streaming server (?) [dhcp as well]

Jake Jake at callatg.com
Sun Nov 4 02:04:00 PST 2001


Hello again,

I was thinking to add to my network, I should really have the ability to
stream mp3s.

I have about 180 gigs of music that I personaly have ripped from my own cds.
Seriously, a lot of music to not be using.

I use EAC to rip error free and LAME to encode. The encoding process is Raw
audio  ==> vbr mp3 (90kps - 320 kps). So I have great quality with good
space saving enhancements.

This will then be mounted via samba to the directory /mp3 (so only one
connection to the samba server with all the mp3s)

Then I want to have the streaming server just randomly go through the
directory /mp3 and play songs.

The question I have been having as of late is how to get a stream up and
running.

I checked out shoutcast and it looks like a pretty viable option.
Its a pretty cool looking system for broadcasting, and it shouldnt be that
hard to get it up and running, if and only if it can support streaming of
vbr files. None of the documentation covers VBR files (that I could find)
and it was last updated on 7/20/99 (so says this pages title:
http://www.shoutcast.com/support/docs/index.phtml?language=english&layout=no
rmal )

Can anyone give me any pointers?

Have any of you guys/gals set up a streaming server?

I was thinking if shoutcast works correctly I can do some pretty cool stuff:

Bind shoutcast to eth2 (802.11) for up to 88 streams (11mps) at 128k. (easy
to do via the shout cast config file)
Bind shoutcast to eth1 (802.3) for 800 streams (100mps, it can be 200 when
full duplex but I want the ability to have data transfers :) )
and finaly bind shoutcast to eth0 (802.3 to the net) for 1 stream :)

That seems more secure than just letting anyone mount my samba shares and it
also seems like the correct thing to do as far as allowing people to just
tune and and listen to my private network
goth/industrial/experimental/classical station :)

I would love to hear some soloutions or ideas, I am pretty open :)


Thanks,

-
Jake


p.s.

I also got dhcpd working and it stays up pretty well now with a simple conf
of:

#
# /etc/dhcpd.conf
#
# /etc/sysconfig/dhcpd is the file that has the varible for options ( I
chose to add "eth1 eth2" so that dhcpd binds to those two)
#
#
#
option domain-name-servers 208.201.224.11, 208.201.224.33;

subnet 10.0.0.0 netmask 255.255.255.0 {
                range 10.0.0.50 10.0.0.250;
                default-lease-time 600;
option domain-name-servers 208.201.224.11, 208.201.224.33;

subnet 10.0.0.0 netmask 255.255.255.0 {
                range 10.0.0.50 10.0.0.250;
                default-lease-time 6000;
                max-lease-time 9200;
                option subnet-mask 255.255.255.0;
                option broadcast-address 10.0.0.255;
                option routers 10.0.0.1;
                option domain-name "802.11.lostinthenoise.net";

                        host eris {
                                hardware ethernet 00:02:2d:27:2e:09;
                                fixed-address 10.0.0.23;
                        }
                }

subnet 192.168.254.0 netmask 255.255.255.0 {
                range 192.168.254.24 192.168.254.250;
                default-lease-time 6000;
                max-lease-time 9200;
                option subnet-mask 255.255.255.0;
                option broadcast-address 192.168.254.255;
                option routers 192.168.254.3;
                option domain-name "switched.lostinthenoise.net";

                        host error {
                                hardware ethernet 00:C0:F0:48:E6:DG;
                                fixed-address 192.168.254.23;
                        }
                }






More information about the talk mailing list