Hi everyone.
I've just attempted to install SC_Trans Drop 4 on Ubuntu 10.04, but am having some issues. I managed to do this on Windows last year, but can't remember how I fixed my issue.
After editing sc_trans_demo.conf, I then renamed this to sc_trans.conf (mainly because it's a more user-friendly filename).
I then typed the following into the SSH prompt, after placing the sc_trans file in the root of my sc_trans dir:
./sc_trans sc_trans.conf
I received the following log output:
2011-01-08 19:30:59 I msg:<***> Logger startup
2011-01-08 19:30:59 I msg:<***> version 0.2.0.0 build 0.0.21.0
2011-01-08 19:30:59 D msg:<***>
2011-01-08 19:30:59 I msg:[VUPush] 0 VU images loaded
2011-01-08 19:30:59 I msg:[VUPush] 0 VU images loaded
2011-01-08 19:30:59 I msg:[playlistMgr] playlist load from file ./playlist.lst
2011-01-08 19:30:59 I msg:[playlistMgr] Caching playlist ./playlist.lst
2011-01-08 19:30:59 I msg:[playlistMgr] load complete
2011-01-08 19:30:59 I msg:*******************************************************************************
2011-01-08 19:30:59 I msg:** TRANScast Distributed Network Audio Content Provider
2011-01-08 19:30:59 I msg:** Copyright (C) 2000 Nullsoft, Inc. All Rights Reserved.
2011-01-08 19:30:59 I msg:** Use "sc_trans filename.conf" to specify a config file.
2011-01-08 19:30:59 I msg:*******************************************************************************
2011-01-08 19:30:59 I msg:[TRANSCast] DNAS/posix v 0.2.0.0 b 0.0.21.0 (Dec 10 2008) starting up...
2011-01-08 19:30:59 I msg:[MAIN] PID: 7601
2011-01-08 19:30:59 I msg:[MAIN] Loaded config from sc_trans.conf
2011-01-08 19:30:59 I msg:[MAIN] Streaming thread starting
2011-01-08 19:30:59 I msg:[resampler] deactivated 44100/2 == 44100/2
2011-01-08 19:30:59 I msg:[MAIN] Encoder thread 0 starting
2011-01-08 19:30:59 I msg:[MAIN] broadcast thread 0 starting
2011-01-08 19:30:59 I msg:[MAIN] Playlist decoder thread starting
2011-01-08 19:30:59 I msg:[mp3enc] 943589359/44100/2/128000 Fraunhofer IIS MP3s Encoder V04.01.00 (build 2007-03-15)
2011-01-08 19:30:59 I msg:Using internal encoder sample rate of 44100 Hz, bandwidth 15804 Hz, MDCT low pass active
2011-01-08 19:30:59 I msg:[mp3enc] 943589359/44100/2/128000 mp3 setup complete
2011-01-08 19:30:59 I msg:[STREAM] 936760939 giving replay gain calculator a head start
2011-01-08 19:30:59 I msg:[rgCalc] thread running
2011-01-08 19:30:59 I msg:[STREAM] 936760939 running
2011-01-08 19:30:59 I msg:[STREAM] 936760939 Creating stream socket
2011-01-08 19:30:59 I msg:[STREAM] 936760939 Resolving stream host
2011-01-08 19:30:59 I msg:[decode] giving replay gain calculator a head start
2011-01-08 19:30:59 I msg:[decode] begin decoding
2011-01-08 19:30:59 I msg:[playlistMgr] deactivating playlist playlist id=-1
2011-01-08 19:30:59 E msg:[decode] Playlist has run dry
2011-01-08 19:30:59 I msg:[decode] Exiting decoder thread
2011-01-08 19:30:59 I msg:[STREAM] 936760939 Connected to host server
2011-01-08 19:30:59 I msg:[microServer] Listening for connection on port 9877
2011-01-08 19:30:59 I msg:[MAIN] Broadcast Receiver thread starting
2011-01-08 19:30:59 I msg:[MAIN] Exiting loop
2011-01-08 19:30:59 I msg:[mp3enc] 943589359/44100/2/128000 Exiting encoder thread
2011-01-08 19:31:00 I msg:[rgCalc] thread exiting
2011-01-08 19:31:04 I msg:[mp3enc] 943589359/44100/2/128000 bIn=0 bOut=0 bps=0 Bps=0
2011-01-08 19:31:04 I msg:[resampler] tIn=0 tOut=0 bIn=0 bOut=0
2011-01-08 19:31:04 I msg:[crossfader] in=0 out=0
2011-01-08 19:31:04 I msg:<***> Logger shutdown
Here's the contents of my sc_trans.conf file:
;; VU Images
vuimagedirectory=./vuimages
;; ENCODER OPTIONS
encoder=mp3
bitrate=128000
samplerate=44100
channels=2
;;; NETWORK OPTIONS
outprotocol=1
serverip=MyServerIP
serverport=MyServerPort
password=PWSD
;;;; LOGGING OPTIONS:
;where does the log file go
logfile=./sc_trans.log
; 1 to do screen logging else 0
screenlog=0
;;;;;; METADATA CONTROL
; my stream name
streamtitle=MyStreamTitle
; url related to my stream
streamurl=MyStreamURL
; my genre
genre=MyGenre
; other assorted stuff
;aim=myaimaddr
;irc=myirc
;icq=myicq
; register with yp
public=0
;;;; PLAYLIST CONTROL
; your playlist
playlistfile=./playlist.lst
; by default we shuffle the playlist. Lets turn that off
shuffle = 1
; set our crossfade time to 2 seconds. zero means no xfade
xfade=8
; file must be at least 20 seconds or we don't crossfade
xfadethreshold=20
; drop folder for priority playlists
playlists=./playlists
; where finished priority playlists get copied
archive=./playlists/archive
;;; LIVE CAPTURE:
; don't capture
capture=0
; set capture parameters
;capturedevice=Sound Blaster
;captureinput=Line-In
;capturesamplerate=44100
;capturechannels=2
;;;; DJ SUPPORT:
; dj listen port
djport=MyDJPort
; dj password
djpassword=MyDJPWSD
; idle time until auto-dump
autodumpsourcetime=30
; record dj broadcasts here
djbroadcasts=./recordings
;; REPLAY GAIN CONTROL:
applyreplaygain=0
calculatereplaygain=0
;;; OTHER:
adminport=MyAdminPort
adminuser=MyAdminUsername
adminpassword=MyAdminPass
And finally, the file which I believe is the root of my problem, here's the playlist.lst file:
./MP3/*.mp3
Not sure if this is relevant at all, but when I first ran SC Trans, I was told that the playlists folder didn't exist (for priority playlists). Therefore, I created the playlists/archive folder (I assume I don't need to put anything in there?)
So as you can see, I don't really have any idea of what hte problem can be, does anyone have any ideas?
Thanks a lot.
Elliott.
Edit: I've just realised that I've only got one file in the /MP3 dir, would this make any difference?
I've just attempted to install SC_Trans Drop 4 on Ubuntu 10.04, but am having some issues. I managed to do this on Windows last year, but can't remember how I fixed my issue.
After editing sc_trans_demo.conf, I then renamed this to sc_trans.conf (mainly because it's a more user-friendly filename).
I then typed the following into the SSH prompt, after placing the sc_trans file in the root of my sc_trans dir:
./sc_trans sc_trans.conf
I received the following log output:
2011-01-08 19:30:59 I msg:<***> Logger startup
2011-01-08 19:30:59 I msg:<***> version 0.2.0.0 build 0.0.21.0
2011-01-08 19:30:59 D msg:<***>
2011-01-08 19:30:59 I msg:[VUPush] 0 VU images loaded
2011-01-08 19:30:59 I msg:[VUPush] 0 VU images loaded
2011-01-08 19:30:59 I msg:[playlistMgr] playlist load from file ./playlist.lst
2011-01-08 19:30:59 I msg:[playlistMgr] Caching playlist ./playlist.lst
2011-01-08 19:30:59 I msg:[playlistMgr] load complete
2011-01-08 19:30:59 I msg:*******************************************************************************
2011-01-08 19:30:59 I msg:** TRANScast Distributed Network Audio Content Provider
2011-01-08 19:30:59 I msg:** Copyright (C) 2000 Nullsoft, Inc. All Rights Reserved.
2011-01-08 19:30:59 I msg:** Use "sc_trans filename.conf" to specify a config file.
2011-01-08 19:30:59 I msg:*******************************************************************************
2011-01-08 19:30:59 I msg:[TRANSCast] DNAS/posix v 0.2.0.0 b 0.0.21.0 (Dec 10 2008) starting up...
2011-01-08 19:30:59 I msg:[MAIN] PID: 7601
2011-01-08 19:30:59 I msg:[MAIN] Loaded config from sc_trans.conf
2011-01-08 19:30:59 I msg:[MAIN] Streaming thread starting
2011-01-08 19:30:59 I msg:[resampler] deactivated 44100/2 == 44100/2
2011-01-08 19:30:59 I msg:[MAIN] Encoder thread 0 starting
2011-01-08 19:30:59 I msg:[MAIN] broadcast thread 0 starting
2011-01-08 19:30:59 I msg:[MAIN] Playlist decoder thread starting
2011-01-08 19:30:59 I msg:[mp3enc] 943589359/44100/2/128000 Fraunhofer IIS MP3s Encoder V04.01.00 (build 2007-03-15)
2011-01-08 19:30:59 I msg:Using internal encoder sample rate of 44100 Hz, bandwidth 15804 Hz, MDCT low pass active
2011-01-08 19:30:59 I msg:[mp3enc] 943589359/44100/2/128000 mp3 setup complete
2011-01-08 19:30:59 I msg:[STREAM] 936760939 giving replay gain calculator a head start
2011-01-08 19:30:59 I msg:[rgCalc] thread running
2011-01-08 19:30:59 I msg:[STREAM] 936760939 running
2011-01-08 19:30:59 I msg:[STREAM] 936760939 Creating stream socket
2011-01-08 19:30:59 I msg:[STREAM] 936760939 Resolving stream host
2011-01-08 19:30:59 I msg:[decode] giving replay gain calculator a head start
2011-01-08 19:30:59 I msg:[decode] begin decoding
2011-01-08 19:30:59 I msg:[playlistMgr] deactivating playlist playlist id=-1
2011-01-08 19:30:59 E msg:[decode] Playlist has run dry
2011-01-08 19:30:59 I msg:[decode] Exiting decoder thread
2011-01-08 19:30:59 I msg:[STREAM] 936760939 Connected to host server
2011-01-08 19:30:59 I msg:[microServer] Listening for connection on port 9877
2011-01-08 19:30:59 I msg:[MAIN] Broadcast Receiver thread starting
2011-01-08 19:30:59 I msg:[MAIN] Exiting loop
2011-01-08 19:30:59 I msg:[mp3enc] 943589359/44100/2/128000 Exiting encoder thread
2011-01-08 19:31:00 I msg:[rgCalc] thread exiting
2011-01-08 19:31:04 I msg:[mp3enc] 943589359/44100/2/128000 bIn=0 bOut=0 bps=0 Bps=0
2011-01-08 19:31:04 I msg:[resampler] tIn=0 tOut=0 bIn=0 bOut=0
2011-01-08 19:31:04 I msg:[crossfader] in=0 out=0
2011-01-08 19:31:04 I msg:<***> Logger shutdown
Here's the contents of my sc_trans.conf file:
;; VU Images
vuimagedirectory=./vuimages
;; ENCODER OPTIONS
encoder=mp3
bitrate=128000
samplerate=44100
channels=2
;;; NETWORK OPTIONS
outprotocol=1
serverip=MyServerIP
serverport=MyServerPort
password=PWSD
;;;; LOGGING OPTIONS:
;where does the log file go
logfile=./sc_trans.log
; 1 to do screen logging else 0
screenlog=0
;;;;;; METADATA CONTROL
; my stream name
streamtitle=MyStreamTitle
; url related to my stream
streamurl=MyStreamURL
; my genre
genre=MyGenre
; other assorted stuff
;aim=myaimaddr
;irc=myirc
;icq=myicq
; register with yp
public=0
;;;; PLAYLIST CONTROL
; your playlist
playlistfile=./playlist.lst
; by default we shuffle the playlist. Lets turn that off
shuffle = 1
; set our crossfade time to 2 seconds. zero means no xfade
xfade=8
; file must be at least 20 seconds or we don't crossfade
xfadethreshold=20
; drop folder for priority playlists
playlists=./playlists
; where finished priority playlists get copied
archive=./playlists/archive
;;; LIVE CAPTURE:
; don't capture
capture=0
; set capture parameters
;capturedevice=Sound Blaster
;captureinput=Line-In
;capturesamplerate=44100
;capturechannels=2
;;;; DJ SUPPORT:
; dj listen port
djport=MyDJPort
; dj password
djpassword=MyDJPWSD
; idle time until auto-dump
autodumpsourcetime=30
; record dj broadcasts here
djbroadcasts=./recordings
;; REPLAY GAIN CONTROL:
applyreplaygain=0
calculatereplaygain=0
;;; OTHER:
adminport=MyAdminPort
adminuser=MyAdminUsername
adminpassword=MyAdminPass
And finally, the file which I believe is the root of my problem, here's the playlist.lst file:
./MP3/*.mp3
Not sure if this is relevant at all, but when I first ran SC Trans, I was told that the playlists folder didn't exist (for priority playlists). Therefore, I created the playlists/archive folder (I assume I don't need to put anything in there?)
So as you can see, I don't really have any idea of what hte problem can be, does anyone have any ideas?
Thanks a lot.
Elliott.

Edit: I've just realised that I've only got one file in the /MP3 dir, would this make any difference?
Comment