Old 12th September 2003, 22:35   #1
ealpert1
Junior Member
 
Join Date: Sep 2003
Posts: 6
New user LINUX/shoutcast/holycast/liveice/sc_trans questions

I'm running on a debian box. Playing back on a Windoze with winamp 3.


I've succesfully got a stream going and I've successfully used liveice, holycast, and sc_trans to stream.

With liveice and sc_trans is there a way to keep them from using lame? I have all my files encoded to MP3 and just want to stream them and not have them reencoded using lame. too much of a CPU hit plus it screws up the quality.

Is there anyway to get any of these tools to send the ID3 information? I'm stuck using holycast right now since it's the only thing that doesn't appear to try to reencode and is much lighter weight on the CPU.

I don't know if this is a winamp config issue or not. I'm running holycast with shuffle play. For some reason winamp stops at the end of each tracker and I have to press play again to continue. holycast is definitely streaming coninuously.

Why do I get the following error message? Are there specific bitrates the have to be supported?

<09/12/03@16:41:05> [yp_add] yp.shoutcast.com gave error (nak)
<09/12/03@16:41:05> [yp_add] yp.shoutcast.com gave extended error (invalid bitrate)

The I'm using 48kbps at 22khz.


Well that should do it. my URL is http://COtapers.org:6887

Thanks,

-ethan
ealpert1 is offline   Reply With Quote
Old 13th September 2003, 05:06   #2
DJ AmPs
Major Dude
 
DJ AmPs's Avatar
 
Join Date: Mar 2002
Location: g
Posts: 1,603
If you are familiar with Perl, give libshout and Shout perl libraries a shot. I've got a couple streams successfully broadcasting directly from files on a Redhat box. CPU usage is less than 0.1% and sound quality is tits.

I haven't attempted to read ID3 yet... I suppose it wouldn't be too difficult to find some libraries and add the capability.

BTW, your stream says 0kbps. That's definately invalid -- something's misconfigured with your source.
DJ AmPs is offline   Reply With Quote
Old 14th September 2003, 00:05   #3
sogster
Junior Member
 
Join Date: Sep 2003
Posts: 3
holyshout (or libshout i should say) has a bug that sets the bitrate to 0 in the icy headers to the server if you are not re-encoding. I like you needed a command line streamer that would send the file "the way it is"...(why all of these programs think they need to reencode and burn cpu cycles for mp3's with the same bitrate is beyond me.)

needless to say -- I just modified the code for libshout to hardcode the bitrate I needed, and recompiled holyshout. Sloppy but it works. I also hacked holyshout to use curl to send the id3 info to the server on songchange....again sloppy because I shell out from C...but it works great.

If you are interested I could send you the details.
sogster is offline   Reply With Quote
Old 14th September 2003, 04:45   #4
DJ AmPs
Major Dude
 
DJ AmPs's Avatar
 
Join Date: Mar 2002
Location: g
Posts: 1,603
I don't have that issue with libshout-perl and Shout1.0-perl.

In fact it's interesting, I can set the bitrate arbitrarily, such as 129kbps =)
DJ AmPs is offline   Reply With Quote
Old 14th September 2003, 17:45   #5
DJ AmPs
Major Dude
 
DJ AmPs's Avatar
 
Join Date: Mar 2002
Location: g
Posts: 1,603
BTW, here's what I'm using:

libshout-1.0.6

libshout-perl-1.00

# obtained from the Icecast CVS repository.
DJ AmPs is offline   Reply With Quote
Old 14th September 2003, 22:13   #6
ealpert1
Junior Member
 
Join Date: Sep 2003
Posts: 6
Sogster: I guess I'd like to see your perl stuff..lmk...thx


DJAmps: thx for the reply. If you have a sec can you post the CVS link. I'll go look around maybe there's even a libshot debian package

-ethan
ealpert1 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump