Skip to Content.
Sympa Menu

baslinux - Re: [BL] MP3 via ethernet, was Re: BL streaming MP3

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: sindi keesan <keesan AT sdf.lonestar.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] MP3 via ethernet, was Re: BL streaming MP3
  • Date: Sat, 30 Apr 2005 17:47:13 +0000 (UTC)

On Sat, 30 Apr 2005, David Moberg wrote:

----- Original Message -----
From: "sindi keesan" <keesan AT sdf.lonestar.org>

How much is 'a little disk space'?

Just enough to buffer the mp3 stream. It looks like you have plenty.

I think we could come up with
50M-100B on each machine, or add another hard drive if needed
(340MB). Right now I have mpg123 set up on the downstairs machine.
The upstairs one needs a sound card and speakers added, or we
could run it to another downstairs location which is set for sound
already (also set for Realaudio - could I also listen to that fed
to my computer, where Realaduio segfaults?)

How can you listen if it segfaults?


It works on one computer - I was wondering if you could just feed the output over the ethernet cable as some other format (wav) and play that somehow. Maybe with mplayer -ao pcm if I could get a script working. A long speaker cable would also work. Or mplayer or xine would be a better solution. RP is annoying even if it does work and they keep coming out with newer versions that need newer hardware and the old stations switch to them.

>
I was wondering if you could do a send/receive between computers,
or set up httpd and download from one computer to the other via
wget without retaining the file on the first computer - can you
split it to both play on one computer and send to another, with
some sort of double pipe?

Here's a basic plan:

On the computer connected to the Internet:

wget -O - http://www.mp3.com/some_mp3_stream.mp3 | tee buffer | nc -l -p 95

tee lets you listen to it and also send a copy elsewhere, and I have used it to watch something compiling and also save the same messages to a file.

What does 95 do or mean? nc is netcat and Steven uses it in his send/receive routines.


On the other one:

nc address_of_other_PC 95 | mpg123 -

This should start playback on the other one. To start playing on the
one connected to the Internet,

cat buffer | mpg123 -

Could this be included somehow on the other line, or in a script?


Is there some simple convertor from realaudio format to mp3 format?

If you ever get MPlayer working, see if it can decode your RA streams.

Any ideas how to get it working? In theory it is much easier than Xine to set up since no dependencies.


For anyone interested in Ogg Vorbis, try WCLU, at 28K.

Both of my MPlayers can handle Ogg (Theora (video) and Vorbis (audio))





Archive powered by MHonArc 2.6.24.

Top of Page