Koozali.org: home of the SME Server

Altering the Jukebox Streaming Bitrate

Tom

Altering the Jukebox Streaming Bitrate
« on: March 13, 2001, 02:19:43 PM »
I've installed the Jukebox RPM's and they work brilliantly - even amazingly. On the local lan they are great, but the bitrate would quickly chew up my internet bandwidth if they were to stream outside the LAN.

Question:  has anyone managed to alter the streaming bitrate of the Jukebox feature of e-smith?

Cheers all

Tom

try2break

Re: Altering the Jukebox Streaming Bitrate
« Reply #1 on: March 15, 2001, 11:06:10 PM »
Short answer: NO
Perhaps you aren't familiar with the way the jukebox operates, but it is not possible to change the stream rate without running something like a Shoutcast server.  The reason is, the jukebox feature only streams static files on your hd, while shoutcast dynamically re-encodes the music (or line level input) to whatever bitrate you like.  The e-smith jukebox will play the file at whatever bitrate it was encoded at.
Shoutcast is what you are looking for, but you also need another computer to do the playing/re-encoding of the MP3s.  It then sends a stream to the shoutcast server, then shoutcast broadcasts to the 'Net.  I am pretty sure you can't play use Linux to do the playing/re-encoding part.  Anyone want to challenge me on this?  I hope I am wrong.

Tom Peck

Re: Altering the Jukebox Streaming Bitrate
« Reply #2 on: March 15, 2001, 11:29:41 PM »
try2break wrote:
>
> Short answer: NO
> Perhaps you aren't familiar with the way the jukebox
> operates, but it is not possible to change the stream rate
> without running something like a Shoutcast server.  The
> reason is, the jukebox feature only streams static files on
> your hd, while shoutcast dynamically re-encodes the music (or
> line level input) to whatever bitrate you like.  The e-smith
> jukebox will play the file at whatever bitrate it was encoded
> at.
> Shoutcast is what you are looking for, but you also need
> another computer to do the playing/re-encoding of the MP3s.
> It then sends a stream to the shoutcast server, then
> shoutcast broadcasts to the 'Net.  I am pretty sure you can't
> play use Linux to do the playing/re-encoding part.  Anyone
> want to challenge me on this?  I hope I am wrong.

Thanks try2break (nice name)

I've looked into it further, and have decided to setup another linux box to do the stream encoding (via a program using lame) and to send that stream to the e-smith server, where I will install an Icecast RPM (if i can find one..).  Not ideal, but easier than trying to do it all from the e-smith server...  no compile functions makes it pain in the neck...

What did you mean by "I am pretty sure you can't play use Linux to do the playing/re-encoding part."  If you mean you can't use the same box to encode, stream, and play at the same time - then you are wrong..  i've successfully setup Icecast / IceS in the past, and played with XMMS...

I've been hunting hi and dry for a descent web controlled mp3 encoder / streamer, and think i have found a descent one - database driven web controlled mp3 streaming - I like it.

-- sorry, gone off topic, and even more...  what is the easiest way to setup e-smith to be able to compile software (configure / make / install)?

ta

Tom

try2break

Re: Altering the Jukebox Streaming Bitrate
« Reply #3 on: March 17, 2001, 09:31:51 PM »
Grea news about being able to encode and stream from Linux.  I was under the impression that the technology wasn't available yet.  I'm glad I'm wrong.
As for the compile question, you should be able to use stock redhat 7.0 make RPMs