Go Back   Winamp Forums > SHOUTcast > SHOUTcast Technical Support

Reply
Thread Tools Search this Thread Display Modes
Old 15th August 2005, 17:46   #1
sandyh
Junior Member
 
Join Date: Jul 2005
Posts: 37
Setting Sc_trans.conf When Using Line-in

Thanks Tom and Evil Lu for heading me in the right direction. Have found sc_trans and installed. Am setting up the sc_trans.conf file. I will not be broadcasting from mp3 files on my computer, but from another computer attached to my shoutcast computer using line in through sound card. How would I need to set up my sc_trans.conf file? When setting up the playlist file what would I need to put there? Is there anything else I would need to set up differently either here in the sc_trans.conf file or in sc_serv.conf? Thanks for the help. You guys are amazing. All that work just to help out. You have no idea how I appreciate it. Couldn't have done it without you.
sandyh is offline   Reply With Quote
Old 16th August 2005, 00:24   #2
sandyh
Junior Member
 
Join Date: Jul 2005
Posts: 37
Ok, said I probably wouldn't have any trouble installing. guess I was wrong. Here goes. Sorry for the lengthy note here. This is what I did, and this is what i got. Can you help. I am trying to set this up to be able to stream from music coming into the sound card through the line in.

sandyhaga@linux:/usr/plugin/sc_trans_040> ./sc_trans_linux sc_trans.conf
*******************************************************************************
** TRANScast Distributed Network Audio Content Provider
** Copyright (C) 2000 Nullsoft, Inc. All Rights Reserved.
** Use "sc_trans filename.conf" to specify a config file.
*******************************************************************************
[conf] Warning: invalid statement on line 1
[conf] Warning: invalid statement on line 19
[conf] Warning: invalid statement on line 20
File size limit exceeded
sandyhaga@linux:/usr/plugin/sc_trans_040>

Here is how I set up my sc_trans.conf
; Sample sc_trans/0.35-j config file
; j.frankel 12/05/00
; t.pepper 10/31/00
; (relays not supported, yo)
;
; sc_trans operates in one of two modes, either reading mp3s off disk, decoding,
; re-encoding, and then broadcasting them, or relaying from a shoutcast server,
; transcoding to a lower bitrate, and broadcasting to a new server.

; sc_trans accepts the following signals:
; HUP - flush logfiles (close and reopen) -- will make console logging stop
; WINCH - jump to next song
; USR1 - reload playlist off disk (will not interrupt current playing stream)
; USR2 - toggle shuffle on/off
; TERM - normal sc_trans shutdown (clean)

; PlaylistFile (required EVEN IF RELAYING) - playlist file (to create, use
; find /path/to/mp3/directory -type f -name "*.mp3" >
(Just a note here. I got this next couple of lines from the example 1st file that comes with sc_trans file. Said this would make it play from line in instead of from files on computer which is what I want to do. Think this is part of my problem but don't know how to fix it.)
DSP:/dev/audio
DSP:/dev/audio

; ServerIP/ServerPort are the target server to send to
ServerIP=68.170.75.66
ServerPort=8000

; Password is the password on the sc_serv you're sending to.
Password=John3:16

; StreamTitle/URL/Genre define the data that appears on the directory and in the
; stream info.
StreamTitle=WHHV Radio
StreamURL=http://68.170.75.66:8000/listen.pls
Genre=Music

; Logfile optionally denotes a text file to log sc_trans to. a kill -HUP
; will force a close and re-open of this file (but will also cease logging to
; the console)
LogFile=sc_trans.log

; Shuffle the playlist
Shuffle=1

; Bitrate/SampleRate/Channels recommended values:
; 8kbps 8000/11025/1
; 16kbps 16000/11025/1
; 24kbps 24000/22050/1
; 32kbps 32000/22050/1
; 64kbps mono 64000/44100/1
; 64kbps stereo 64000/22050/2
; 96kbps stereo 96000/44100/2
; 128kbps stere0 128000/44100/2
Bitrate=24000
SampleRate=22050
Channels=1
; Quality is from 1-10. 1 is best, 10 is fastest.
Quality=1


; Mode=0 for none, 1 for 100/100->100/0, 2 for 0/100->100/0
CrossfadeMode=1
; Length is ms.
CrossfadeLength=8000

UseID3=0

; Public determines whether or not this station will show up in the directory
Public=1

; Put stuff here for user interaction (AOL IM, ICQ, IRC)
AIM=AIMHandle
ICQ=
IRC=shoutcast

Please help. Any ideas? What have I done wrong? Appreciate your help.
sandyh 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