Old 5th December 2005, 23:22   #1
1EightT
Junior Member
 
Join Date: Dec 2005
Posts: 13
Streaming from server to server

Hi guys, i'm new to this. I'm getting ready to do a shoutcast install, but had a couple questions. I have a dedicated server (dual xeon 4gb of ram etc). I'm setting up shoutcast on the server, but don't want to stream the songs TO the server from my home pc. Is there software that I can install server side that will stream a directory of mp3's to the shoutcast server?

Thanks for the help.
1EightT is offline   Reply With Quote
Old 6th December 2005, 00:18   #2
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
use sc_trans.
Jay is offline   Reply With Quote
Old 6th December 2005, 01:12   #3
1EightT
Junior Member
 
Join Date: Dec 2005
Posts: 13
perfect, that looks like it will do exactly what I need.
1EightT is offline   Reply With Quote
Old 6th December 2005, 03:23   #4
1EightT
Junior Member
 
Join Date: Dec 2005
Posts: 13
wow, that was super easy to setup. I got shoutcast and sc trans setup in no time. I've been trying to get icecast working for almost a week. The documentation and support sucks compared to shoutcast.
1EightT is offline   Reply With Quote
Old 9th December 2005, 17:09   #5
tuwebhost
Junior Member
 
Join Date: Dec 2005
Posts: 2
Explain how you did it

Hi: I am a newbee to this, can you explain how you install and admin and broadcast the audio from one server to another or from one pc to a server please. What Do I need to do this?
tuwebhost is offline   Reply With Quote
Old 9th December 2005, 18:15   #6
VegetaSan
Senior Member
 
VegetaSan's Avatar
 
Join Date: Jan 2004
Location: The Netherlands
Posts: 260
Ok here it goes:

Introduction
Here follows an explanation of howto setup sc_trans. Note that this application is not available for Win32, only for Mac OS X, Linux and FreeBSD.

Step 1: Download the source
Ofcourse you need the source.. so Step 1 is to download sc_trans from http://www.shoutcast.com/downloads/s..._posix_040.tgz

Step 2: Extract it on your server
Then you will need to extract the archive, and configure the sc_trans.conf to the way you want.

Step 3: Run sc_trans
Now you will need to run sc_trans on your server, and there you go.. you got sc_trans all working save and sound.

Why I dont use sc_trans
Why I dont use sc_trans is because it only can stream audio if the KHZ of it matches the one you have specified in the configuration file, for example, if you have specified:

SampleRate=32000

in your "sc_trans.conf"(config file) then you cant stream audio with for example, 44HKZ(44100) which is the only thing that prevents me from using sc_trans.

How to install on Linux...
I have no idea how to install it on Mac OS X and FreeBSD. But I do know how to install it on a linux server.

Step 1: Logon to your server
First you need to logon to your server. How I did this is via Putty(SSH-Protocol).

Once you are loged in, goto Step 2

Step 2: Download the source...
send this to the server:

wget "http://www.shoutcast.com/downloads/sc_trans_posix_040.tgz"

You will see it starts downloading the file to your current directory.

Step 3: Extract..
Once it's completed downloading from shoutcast.com, then you will need to extract the archive, you can do this by sending this to the server:

tar -zvxf sc_trans_posix_040.tgz

Once you have extracted.. you will see that a directory called "sc_trans_posix_040" has been made. Type:

cd sc_trans_posix_040

to access it, once you are in the directory, goto Step 4

Step 4: Configure sc_trans.conf
Now we need to configure sc_trans.conf to the way you like it, you see that there are a total of 5 files in the directory:

the ones you need are:
sc_trans_linux
example.lst(can delete after you have configured sc_trans.conf and made it point to another playlist)
sc_trans.conf


You can delete the other ones if you want to. You can configure sc_trans.conf with VI, or just download the SC_TRANS-configuration file, configure it on your computer, and upload it again. If you want to config it with VI, then you need to send this to the server:

vi sc_trans.conf

Once you are done configurating, goto the next step.

Step 5: Running sc_trans
Now we are at the last step; type:

./sc_trans_linux

and it will run the application.....

Outroduction :P
Like I said, I dont use sc_trans because it's not actually what I search for, because of the "SampleRate". I hope this will get fixed in the future. And I hope this helped you setting up sc_trans. And sorry for my bad english, but I think it's good enough to understand.
VegetaSan is offline   Reply With Quote
Old 9th December 2005, 19:13   #7
tuwebhost
Junior Member
 
Join Date: Dec 2005
Posts: 2
Hi VegetaSan:

thanks very much for the process explanation..

I guess i have to install and use shoutcast to use the sc trans, rigth? so I have to install shoutcast first? Because I installed it already.

Then How to I use this? I mean: sc_trans

I am talking about the client pc o other server?

thanks.

saul
tuwebhost is offline   Reply With Quote
Old 9th December 2005, 19:26   #8
VegetaSan
Senior Member
 
VegetaSan's Avatar
 
Join Date: Jan 2004
Location: The Netherlands
Posts: 260
You can run sc_trans on your pc, or the server. But like I said, it will not work on Windows. (Win32).

And yes, you have to have SHOUTcast installed somewhere, then configure sc_trans and set it to stream to your SHOUTcast. Then run sc_trans.
VegetaSan is offline   Reply With Quote
Old 15th August 2006, 15:53   #9
Swiftie
Junior Member
 
Join Date: Jan 2003
Location: United Kingdom
Posts: 49
Could any shed some light in the error that I'm receiving here plz..

code:
[STREAM] Error resolving stream host [waiting 10s]
[DECODE] Opened f*ck_radio_volume_4.mp3
[CONFIG] WARNING: No InputSamplerate defined, assuming 44100!
[CONFIG] WARNING: No InputChannels defined, assuming 2!
Warning: input file samplerate is 22754368 Hz, must be 44100!
Warning: input file samplerate is 22754368 Hz, must be 44100!
Warning: input file samplerate is 22754368 Hz, must be 44100!
[DECODE] Opened b-line-mix-for-mcs.mp3
[MAIN] Title Update Failed



I know about the resolving host, but what is the InputSamplerate?

I've checked the MP3's and they've all got an Audio Sample rate of 44

Last edited by Swiftie; 15th August 2006 at 16:09.
Swiftie is offline   Reply With Quote
Old 15th August 2006, 16:20   #10
djSpinnerCee
Forum King
 
djSpinnerCee's Avatar
 
Join Date: Aug 2004
Location: Hollis, Queens/The Bronx, NYC
Posts: 3,555
Asterisk's[*] in filenames is a bad thing.

It also seems like sc_trans "thinks" the samplrate of the MP3 in question is 22.050 Mhz.
djSpinnerCee is offline   Reply With Quote
Old 15th August 2006, 20:43   #11
Swiftie
Junior Member
 
Join Date: Jan 2003
Location: United Kingdom
Posts: 49
Quote:
Originally posted by djSpinnerCee
Asterisk's[*] in filenames is a bad thing.

It also seems like sc_trans "thinks" the samplrate of the MP3 in question is 22.050 Mhz.
I didnt really use the * in the file name. It was more a mere attempt in tryin 2 censor the name on these boards. Anyways have you got any ideas on why sc_trans would think the samplerate of the MP3's is 22.050 Mhz?

I've managed to get it working but I can't work out the error
Swiftie 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