Go Back   Winamp Forums > SHOUTcast > SHOUTcast Technical Support

Reply
Thread Tools Search this Thread Display Modes
Old 2nd August 2012, 21:55   #1
spywaredz
Junior Member
 
Join Date: Aug 2012
Posts: 7
Transcast start error

I install transcast for auto dj.(Linux Server) But its not working.. Problem's picture:
spywaredz is offline   Reply With Quote
Old 2nd August 2012, 22:04   #2
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,474
that is a massively old and out-dated version of the Transcoder. all i can say is to try using the current one (as per http://forums.winamp.com/showthread.php?t=324877), otherwise there is no official support available with the version you are trying to use.

-daz
DrO is offline   Reply With Quote
Old 2nd August 2012, 23:44   #3
spywaredz
Junior Member
 
Join Date: Aug 2012
Posts: 7
but my shoutcast version 1.9.8 and i try install transcoder 2 but i cant build configuration please help me..
spywaredz is offline   Reply With Quote
Old 3rd August 2012, 00:03   #4
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,474
the v2 Transcoder will work with a v1 DNAS (since it was released before the v2 DNAS was released so it was built to work with a v1 DNAS from the start).

what have you actually tried to do with setting up a v2 Transcoder install?
looked at the example configs?
tried using the configuration builder?

-daz
DrO is offline   Reply With Quote
Old 3rd August 2012, 10:53   #5
spywaredz
Junior Member
 
Join Date: Aug 2012
Posts: 7
i tried everyone. but i cant. wait i recording video..
spywaredz is offline   Reply With Quote
Old 3rd August 2012, 17:37   #6
spywaredz
Junior Member
 
Join Date: Aug 2012
Posts: 7
Video:http://www.youtube.com/watch?v=FxAmE...ature=youtu.be help me
spywaredz is offline   Reply With Quote
Old 3rd August 2012, 17:49   #7
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,474
the Transcoder does not handle relative paths for the config file when trying to run it as a daemon - you need to specify the _full_ path for the config file (until a newer build of the Transcoder is released which has this limitation removed).

i wouldn't run the Transcoder as a daemon until i've got everything else running correctly with it - as i think you're going to have more issues once you've got it running with the correct configuration file.

-daz
DrO is offline   Reply With Quote
Old 3rd August 2012, 20:33   #8
spywaredz
Junior Member
 
Join Date: Aug 2012
Posts: 7
I dont understand. What should I do?
spywaredz is offline   Reply With Quote
Old 4th August 2012, 01:39   #9
spywaredz
Junior Member
 
Join Date: Aug 2012
Posts: 7
hey i tried something and segmentation fault
---------------------------------------
[root@server shout]# ./sc_trans sc_trans.conf
2012-08-04 05:32:31 I msg:<***> Logger startup
2012-08-04 05:32:31 D msg:<***>
2012-08-04 05:32:31 I msg:***************************************************************
2012-08-04 05:32:31 I msg:** TRANScast Distributed Network Audio Content Provider
2012-08-04 05:32:31 I msg:** Copyright (C) 2000-2011 Nullsoft, Inc. All Rights Reserved.
2012-08-04 05:32:31 I msg:** Use "sc_trans filename.conf" to specify a config file.
2012-08-04 05:32:31 I msg:***************************************************************
2012-08-04 05:32:31 I msg:[MAIN] TRANSCast/posix(linux x86) v2.0.0.54 (Oct 7 2011) starting...
2012-08-04 05:32:31 I msg:[MAIN] PID: 32078
2012-08-04 05:32:31 I msg:[MAIN] Loaded config from sc_trans.conf
2012-08-04 05:32:31 I msg:[MAIN] TimeMultiplier = 1, TimeShift = 0
2012-08-04 05:32:31 E msg:[CALENDARMGR] Could not load calendar file (calendar.xml) could not open file.
2012-08-04 05:32:31 I msg:[VUPUSH] 0 VU images loaded for left channel
2012-08-04 05:32:31 I msg:[VUPUSH] 0 VU images loaded for right channel
2012-08-04 05:32:31 I msg:[PLAYLISTMGR] Playlist load from file ./playlists/playlist.lst
2012-08-04 05:32:31 I msg:[PLAYLISTMGR] Caching playlist ./playlists/playlist.lst
2012-08-04 05:32:31 I msg:[PLAYLISTMGR] Load complete
2012-08-04 05:32:31 I msg:[MAIN] Streaming thread starting
2012-08-04 05:32:31 I msg:[RESAMPLER] Deactivated 44100/2 == 44100/2
2012-08-04 05:32:31 I msg:[SOURCEANDENDPOINTMANAGER] Encoder thread 1 starting
2012-08-04 05:32:31 E msg:thread::start() - Could not start thread
Segmentation fault
-------------------------------------------------

----------------sc_trans.conf file----------------
;; VU Images
vuimagedirectory=shout/vuimages/

;; ENCODER OPTIONS
encoder=aac
bitrate=96000
samplerate=44100
channels=2

;;; NETWORK OPTIONS
outprotocol=1
serverip=95.173.167.24
serverport=8009
password=*****


;;;; LOGGING OPTIONS:
;where does the log file go
logfile=./sc_trans.log
; 1 to do screen logging else 0
screenlog=1

;;;;;; METADATA CONTROL
; my stream name
streamtitle=Dubbox Dubstep Radio
; url related to my stream
streamurl=http://www.dubboxradio.com
; my genre
genre=Dubstep
; register with yp
public=1

;;;; PLAYLIST CONTROL
; your playlist
playlistfile=./playlists/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=2

; file must be at least 20 seconds or we don't crossfade
xfadethreshold=20
; drop folder for priority playlists
playlists=shout/playlists/
; where finished priority playlists get copied
archive=shout/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=8882
; dj password
djpassword=*****
; idle time until auto-dump
autodumpsourcetime=30
; record dj broadcasts here
djbroadcasts=shout/broadcasts/


;; REPLAY GAIN CONTROL:
applyreplaygain=0
calculatereplaygain=0

;;; OTHER:
adminport=9993
adminuser=admin
adminpassword=*****

----------------------------------


What should I do?
spywaredz is offline   Reply With Quote
Old 4th August 2012, 18:04   #10
spywaredz
Junior Member
 
Join Date: Aug 2012
Posts: 7
sc_trans encode change to mp3 from aac

----------------sc_trans.conf---------------
;; VU Images
vuimagedirectory=shout/vuimages/

;; ENCODER OPTIONS
encoder=aac
bitrate=96000
samplerate=44100
channels=2


;;; NETWORK OPTIONS
outprotocol=1
serverip=95.173.167.24
serverport=8009
password=*****


;;;; LOGGING OPTIONS:
;where does the log file go
logfile=./sc_trans.log
; 1 to do screen logging else 0
screenlog=1

;;;;;; METADATA CONTROL
; my stream name
streamtitle=Dubbox Dubstep Radio
; url related to my stream
streamurl=http://www.dubboxradio.com
; my genre
genre=Dubstep
; register with yp
public=1

;;;; PLAYLIST CONTROL
; your playlist
playlistfile=./playlists/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=2
; file must be at least 20 seconds or we don't crossfade
xfadethreshold=20
; drop folder for priority playlists
playlists=shout/playlists/
; where finished priority playlists get copied
archive=shout/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=8015
; dj password
djpassword=*****
; idle time until auto-dump
autodumpsourcetime=30
; record dj broadcasts here
djbroadcasts=shout/broadcasts/


;; REPLAY GAIN CONTROL:
applyreplaygain=0
calculatereplaygain=0

;;; OTHER:
adminport=8017
adminuser=admin
adminpassword=*****
----------------------------

how i change to mp3 encode setting? i tried but its now worked.
spywaredz is offline   Reply With Quote
Old 5th August 2012, 17:04   #11
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: Somewhere on this planet.
Posts: 2,216
Send a message via Skype™ to thinktink
...
encoder=mp3
;mp3quality=0
;mp3mode=0
bitrate=96000
samplerate=44100
channels=2

...

You also need to purchase an mp3 encoding license before mp3 will work and put the name and code into the configuration.
http://shop.winamp.com/servlet/Promo...omoID.48873700
thinktink is offline   Reply With Quote
Old 6th August 2012, 15:00   #12
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,474
Quote:
Originally Posted by DrO View Post
the Transcoder does not handle relative paths for the config file when trying to run it as a daemon - you need to specify the _full_ path for the config file (until a newer build of the Transcoder is released which has this limitation removed).
Quote:
Originally Posted by spywaredz View Post
I dont understand. What should I do?
it means you have to do ./sc_trans /full/path/to/sc_trans.conf and not ./sc_trans sc_trans.conf if trying to use it as a daemon until the next public update happens.


with everything else posted, i'm not sure why encoder=aac was put in the config file when it's only allowed to be mp3 or aacp.


as for E msg:thread::start() - Could not start thread that basically means you don't have the appropriate permissions on the machine you are trying to run sc_trans to be able to run it i.e. the host has limited what can be run and is something you would need to confirm with your host provider. the Transcoder probably shouldn't segfault under that scenario though if it cannot create the threads needed then segfaulting is no different from what you'd be getting otherwise.

-daz
DrO 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