Go Back   Winamp Forums > SHOUTcast > SHOUTcast Technical Support

Reply
Thread Tools Search this Thread Display Modes
Old 21st May 2004, 14:55   #1
shoutcastnewbie
Junior Member
 
Join Date: May 2004
Posts: 11
Sending Out Multi-bitrate Streams (Linux)

I read the "Sending Out Multi-bitrate Streams" thread but unfortunately I don't use Windows, just Linux. How can I set that up on linux?

Thank you.
shoutcastnewbie is offline   Reply With Quote
Old 23rd May 2004, 16:02   #2
knkoehn
Junior Member
 
Join Date: May 2004
Location: Wichita, KS
Posts: 6
Send a message via ICQ to knkoehn Send a message via AIM to knkoehn Send a message via Yahoo to knkoehn
I too am using the sc_trans_linux but unfortunately it does not support relaying right now (from what the config says). In order to stream two feeds at different bandwidths of the same content you would have two instances of the sc_serv program running with DIFFERENT config files. You could use say 128k.conf and 56k.conf. When you load each instance of the sc_serv program up you will load them like this:

./sc_serv 128k.conf
./sc_serv 56k.conf

The nice thing about this is when you do a 'ps ax' to list the processes they will show up like this:

31937 ? S 0:00 ./sc_serv 128k.conf

See? Easily recognizable. Remember that those two config files/servers must run on DIFFERENT ports. So use something like 8080 and 8082 or something like that. Remember too that Shoutcast uses two ports (in and out). The second step to this is to create two config files for your sc_trans_linux program. This is where you obviously setup your bitrates and such (you should know this). You can do the same for the config files, just name them 128k.conf and 56k.conf and run the program with the respective files.

./sc_trans_linux 128k.conf

It will show up in your process as the following:

15376 ? S 0:00 ./sc_trans_linux 128k.conf

But like I said... sc_trans_linux currently does not support relaying but I *hope* it does (hint hint :P) Right now I'm looking at another piece of software called IceCast that supposedly supports that. Unfortunately it adds a THIRD program into the mix though. I wish it was easier for us Linux users! lol...

Kelly Koehn
www.dancehits.us
knkoehn is offline   Reply With Quote
Reply
Go Back   Winamp 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