Go Back   Winamp Forums > SHOUTcast > SHOUTcast Technical Support

Reply
Thread Tools Search this Thread Display Modes
Old 21st May 2012, 04:02   #1
OryHara
Junior Member
 
Join Date: May 2012
Posts: 9
sc_transcoder troubles

Hi all, I got this problem with the sc transcoder that i'm running on a linux vps, centos 6.2 distro . it will not stream any music to the shoutcast server on that vps, lol. it tries to play shoutcast.mp3, but it won't play anything.

heres the log

Quote:
2012-05-21 09:43:52 I msg:<***> Logger startup
2012-05-21 09:43:52 D msg:<***>
2012-05-21 09:43:52 I msg:***************************************************************
2012-05-21 09:43:52 I msg:** TRANScast Distributed Network Audio Content Provider
2012-05-21 09:43:52 I msg:** Copyright (C) 2000-2011 Nullsoft, Inc. All Rights Reserved.
2012-05-21 09:43:52 I msg:** Use "sc_trans filename.conf" to specify a config file.
2012-05-21 09:43:52 I msg:***************************************************************
2012-05-21 09:43:52 I msg:[MAIN] TRANSCast/posix(linux x86) v2.0.0.54 (Oct 7 2011) starting...
2012-05-21 09:43:52 I msg:[MAIN] PID: 574
2012-05-21 09:43:52 I msg:[MAIN] Loaded config from sc_trans_basic.conf
2012-05-21 09:43:52 I msg:[MAIN] TimeMultiplier = 1, TimeShift = 0
2012-05-21 09:43:52 E msg:[CALENDARMGR] Could not load calendar file (calendar.xml) could not open file.
2012-05-21 09:43:52 I msg:[VUPUSH] 101 VU images loaded for left channel
2012-05-21 09:43:52 I msg:[VUPUSH] 101 VU images loaded for right channel
2012-05-21 09:43:52 I msg:[PLAYLISTMGR] Playlist load from file playlists/main.lst
2012-05-21 09:43:52 W msg:[PLAYLISTMGR] The playlist entry /servers/sc_trans/music/main/No_Excuses_In_Da_Bowl.mp3 generated no entries
2012-05-21 09:43:52 I msg:[PLAYLISTMGR] Caching playlist playlists/main.lst
2012-05-21 09:43:52 I msg:[PLAYLISTMGR] Load complete
2012-05-21 09:43:52 I msg:[MAIN] Streaming thread starting
2012-05-21 09:43:52 I msg:[RESAMPLER] Deactivated 44100/2 == 44100/2
2012-05-21 09:43:52 I msg:[SOURCEANDENDPOINTMANAGER] Encoder thread 1 starting
2012-05-21 09:43:52 I msg:[SOURCEANDENDPOINTMANAGER] Broadcast thread 1 starting
2012-05-21 09:43:52 I msg:[MAIN] Playlist decoder thread starting
2012-05-21 09:43:52 I msg:[RGCALC] Thread running
2012-05-21 09:43:52 I msg:[UVOX2] 1413755800 Giving replay gain calculator a head start
2012-05-21 09:43:52 I msg:[UVOX2] 1413755800 Running
2012-05-21 09:43:52 I msg:[UVOX2] 1413755800 Creating stream socket
2012-05-21 09:43:52 I msg:[UVOX2] 1413755800 Connecting to stream host
2012-05-21 09:43:52 I msg:[SOURCERELAY] Thread starting
2012-05-21 09:43:52 I msg:[DECODE] Giving replay gain calculator a head start
2012-05-21 09:43:52 I msg:[DECODE] Begin decoding
2012-05-21 09:43:52 I msg:[DECODE] Next file is /servers/sc_trans/music/main/shoutcast.mp3
2012-05-21 09:43:52 I msg:[AAC] AAC setup complete
2012-05-21 09:43:54 I msg:[DECODE] Next file is /servers/sc_trans/music/main/shoutcast.mp3
2012-05-21 09:43:56 I msg:[DECODE] Next file is /servers/sc_trans/music/main/shoutcast.mp3
2012-05-21 09:44:22 E msg:[UVOX2] 1413755800 Server went away
2012-05-21 09:44:22 E msg:[UVOX2] 1413755800 Waiting 30 seconds
2012-05-21 09:44:48 I msg:[UVOX2] 1413755800 Creating stream socket
2012-05-21 09:44:48 I msg:[UVOX2] 1413755800 Connecting to stream host
2012-05-21 09:45:18 E msg:[UVOX2] 1413755800 Server went away
2012-05-21 09:45:18 E msg:[UVOX2] 1413755800 Waiting 30 seconds
2012-05-21 09:45:44 I msg:[UVOX2] 1413755800 Creating stream socket
2012-05-21 09:45:44 E msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console
2012-05-21 09:45:44 I msg:[UVOX2] 1413755800 Connecting to stream host
2012-05-21 09:45:44 E msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console
2012-05-21 09:46:14 E msg:[UVOX2] 1413755800 Server went away
2012-05-21 09:46:14 E msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console
2012-05-21 09:46:14 E msg:[UVOX2] 1413755800 Waiting 30 seconds
2012-05-21 09:46:14 E msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console
2012-05-21 09:46:40 I msg:[UVOX2] 1413755800 Creating stream socket
2012-05-21 09:46:40 E msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console
2012-05-21 09:46:40 I msg:[UVOX2] 1413755800 Connecting to stream host
2012-05-21 09:46:40 E msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console
2012-05-21 09:47:09 E msg:[UVOX2] 1413755800 Server went away
2012-05-21 09:47:09 E msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console
2012-05-21 09:47:09 E msg:[UVOX2] 1413755800 Waiting 30 seconds
2012-05-21 09:47:09 E msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console
2012-05-21 09:47:35 I msg:[UVOX2] 1413755800 Creating stream socket
2012-05-21 09:47:35 E msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console
2012-05-21 09:47:35 I msg:[UVOX2] 1413755800 Connecting to stream host
2012-05-21 09:47:35 E msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console
2012-05-21 09:48:05 E msg:[UVOX2] 1413755800 Server went away
2012-05-21 09:48:05 E msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console
2012-05-21 09:48:05 E msg:[UVOX2] 1413755800 Waiting 30 seconds
2012-05-21 09:48:05 E msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console
how do i fix this? pls help
OryHara is offline   Reply With Quote
Old 21st May 2012, 10:18   #2
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,204
the connection to the DNAS server isn't working / responding correctly which is why you're getting the 'Server went away' messages as it implies the DNAS initially replied but then closed the connection.

are you using the inheritconfig option in the sc_trans configuration?

have you checked the DNAS server's log to see what that is showing with the sc_trans connection attempts?

-daz
DrO is offline   Reply With Quote
Old 21st May 2012, 14:57   #3
OryHara
Junior Member
 
Join Date: May 2012
Posts: 9
it doesnt have the inherit config option

heres what the dnas log says.

<05/21/12@09:43:34> [SHOUTcast] DNAS/Linux v1.9.8 (Feb 28 2007) starting up...
<05/21/12@09:43:34> [main] pid: 552
<05/21/12@09:43:34> [main] loaded config from sc_serv.conf
<05/21/12@09:43:34> [main] initializing (usermax:32 portbase:8000)...
<05/21/12@09:43:34> [main] No ban file found (sc_serv.ban)
<05/21/12@09:43:34> [main] No rip file found (sc_serv.rip)
<05/21/12@09:43:34> [main] opening source socket
<05/21/12@09:43:34> [main] source thread starting
<05/21/12@09:43:34> [main] opening client socket
<05/21/12@09:43:34> [main] Client Stream thread [0] starting
<05/21/12@09:43:34> [main] client main thread starting
<05/21/12@09:43:34> [source] listening for connection on port 8001
<05/21/12@09:44:16> [dest: 216.160.99.3] server unavailable, disconnecting
OryHara is offline   Reply With Quote
Old 22nd May 2012, 05:04   #4
OryHara
Junior Member
 
Join Date: May 2012
Posts: 9
kk, i managed to get it to read the playlist now i get this

Output from command ..
Quote:
2012-05-22 10:50:59 I msg:<***> Logger startup 2012-05-22 10:50:59 D msg:<***>
2012-05-22 10:50:59 W msg:[CONFIG] Could not find `sc_serv.conf' - loading will be aborted
2012-05-22 10:50:59 I msg:***************************************************************
2012-05-22 10:50:59 I msg:** TRANScast Distributed Network Audio Content Provider
2012-05-22 10:50:59 I msg:** Copyright (C) 2000-2011 Nullsoft, Inc. All Rights Reserved.
2012-05-22 10:50:59 I msg:** Use "sc_trans filename.conf" to specify a config file.
2012-05-22 10:50:59 I msg:***************************************************************
2012-05-22 10:50:59 I msg:[MAIN] TRANSCast/posix(linux x86) v2.0.0.54 (Oct 7 2011) starting...
2012-05-22 10:50:59 I msg:[MAIN] PID: 583
2012-05-22 10:50:59 I msg:[MAIN] Loaded config from sc_trans_simple.conf
2012-05-22 10:50:59 I msg:[MAIN] TimeMultiplier = 1, TimeShift = 0
2012-05-22 10:50:59 I msg:[VUPUSH] 101 VU images loaded for left channel
2012-05-22 10:50:59 I msg:[VUPUSH] 101 VU images loaded for right channel
2012-05-22 10:50:59 I msg:[PLAYLISTMGR] Playlist load from file playlists/main.lst
2012-05-22 10:50:59 I msg:[PLAYLISTMGR] Caching playlist playlists/main.lst
2012-05-22 10:50:59 I msg:[PLAYLISTMGR] Load complete
2012-05-22 10:50:59 I msg:[MAIN] Streaming thread starting
2012-05-22 10:50:59 I msg:[MAIN] Playlist decoder thread starting
2012-05-22 10:50:59 I msg:[SOURCERELAY] Thread starting
2012-05-22 10:50:59 I msg:[DECODE] Giving replay gain calculator a head start
2012-05-22 10:51:00 I msg:[RGCALC] Thread running
2012-05-22 10:51:00 I msg:[DECODE] Begin decoding
2012-05-22 10:51:00 I msg:[DECODE] Next file is /servers/sc_trans/music/main/No_Excuses_On_Da_Bowl.mp3
2012-05-22 10:51:00 E msg:[ID3V2] Version 2 not supported
2012-05-22 10:51:00 E msg:[ID3V2] Version 2 not supported
2012-05-22 10:51:00 E msg:[ID3V2] Version 2 not supported
OryHara is offline   Reply With Quote
Old 22nd May 2012, 10:48   #5
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,204
the DNAS log is not showing any indication of a source attempting to connect.

if this is all being done on the same machine then make sure to set serverip=127.0.0.1 in the sc_trans configuration file. if that doesn't help then you'd need to post your sc_trans config file with passwords and mp3 unlock codes removed.


i'm not sure what you're trying to say with the above post as the first log indicated a playlist was being read anyway - all i know is that the file(s) you are using have a version of the ID3v2 tag format which is not supported by this build of sc_trans.

-daz
DrO is offline   Reply With Quote
Old 22nd May 2012, 15:11   #6
OryHara
Junior Member
 
Join Date: May 2012
Posts: 9
mmm, idk about that, the file shoutcast.mp3 should be compatible, cause it comes with the transcoder lol.
OryHara is offline   Reply With Quote
Old 22nd May 2012, 15:13   #7
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,204
you most recent log shows you're trying to use '/servers/sc_trans/music/main/No_Excuses_On_Da_Bowl.mp3' which is not the shoutcast.mp3 file (which i know has compatible tags).

-daz
DrO is offline   Reply With Quote
Old 22nd May 2012, 16:14   #8
OryHara
Junior Member
 
Join Date: May 2012
Posts: 9
lol, i know that, but it does that with the shoutcast mp3 too, so im guessin it doesnt have compatible tags either o.o
OryHara is offline   Reply With Quote
Old 22nd May 2012, 16:25   #9
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,204
lets start again, are you still having issues with sc_trans connecting to the v1 DNAS you are trying to use?

as what you are posting from the logs and then saying is not making much sense (and the lack of tags being read from the files is less important compared to being able to broadcast the audio data).

-daz
DrO is offline   Reply With Quote
Old 22nd May 2012, 19:00   #10
OryHara
Junior Member
 
Join Date: May 2012
Posts: 9
nah, the connection is an easy fix, lol, its just that the transcoder wont play the music, lol.

the transcoder wont play the files from what i can tell, cause it needs those tags to play i guess, lol.
OryHara is offline   Reply With Quote
Old 22nd May 2012, 21:35   #11
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,204
as you don't seem to be serious or providing any valid information as requested (i had said to provide config files with passwords / unlock codes removed if things did not work after trying the serverip option), i'm going to leave you to it.
DrO is offline   Reply With Quote
Old 22nd May 2012, 22:42   #12
OryHara
Junior Member
 
Join Date: May 2012
Posts: 9
whatever, more like your not serious about helping me, you didnt request anyconfigs, i gave you the logs, your just bein a mudduck, so squished like a mudduck.

your the one not providing info, so go backquiet if your gonna go backstupid.
OryHara is offline   Reply With Quote
Old 23rd May 2012, 00:00   #13
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,204
Quote:
Originally Posted by DrO View Post
if this is all being done on the same machine then make sure to set serverip=127.0.0.1 in the sc_trans configuration file. if that doesn't help then you'd need to post your sc_trans config file with passwords and mp3 unlock codes removed.
i have quoted the part of post #5 where i specifically said what to try and then what to do if that did not work for the sc_trans to sc_serv issue.
DrO is offline   Reply With Quote
Old 23rd May 2012, 01:39   #14
OryHara
Junior Member
 
Join Date: May 2012
Posts: 9
mmm, i dont have any mp3 unlock codes, i got it set to stream aac+

Quote:
; NOTE: for any relative paths specified are relative to
; sc_trans and not to where the conf file is being stored


; here we will setup where the log and other related files
; will be stored. make sure that these folders exist else
; sc_trans will throw an error and will close itself down.
logfile=logs/sc_trans.log


; for the purpose of this test then we will not take into
; account the use of a calendar.xml file and so disable it
calendarrewrite=0


; for testing we will only setup a single encoder though it
; is easy to add in additional encoder configurations and
; we are using an aac plus encoder as the default due to
; the licensing requirements for mp3 encoding as detailed
; in sc_trans.txt - section 2.5).
encoder_1=aacp
bitrate_1=128000


; this is where we define the details required for sc_trans
; to connect to the sc_serv instance being used where the
; details must match those specified in sc_serv_basic.conf
outprotocol_1=3
serverip_1=127.0.0.1
; default is 8000, if not change to sc_serv's 'portbase'
serverport_1=8000
; this is the same as 'password' in sc_serv_basic.conf
password_1=blanked
; this is the same as 'streamid' in sc_serv_basic.conf for
; the stream we are acting as the source for
streamid_1=1
; this is a name for the source we're creating and is used
; with the AJAX control api or can be left blank to get a
; generic name created in the form of 'endpointX' where 'X'
; is the index of the created source from sc_trans lists.
endpointname_1=/Bob


; here you would provide any information to fill in details
; provided to clients about the stream. it us upto you what
; is entered though do not do anything which will annoy, etc
streamtitle=My Test Server
streamurl=http://www.shoutcast.com
genre=Misc


; here we specify a playlist to use as the master list from
; which to play files from.
playlistfile=playlists\main.lst


; these options will allow you access the admin interfaces
; of sc_trans though also allows the 'testui' example to be
; accessed. remember to change the password, etc as needed
adminport=7999
adminuser=admin
adminpassword=goaway


; if we want to have an intro file for when the client gets
; the stream or a backup file incase of our connection to
; the server failing then we can set these. this is needed
; as we are using 'outprotocol=3' which supports this (and
; is needed in place of the sc_serv defined values to work)
;serverintrofile=<specify_intro_filepath>
;serverbackupfile=<specify_backup_filepath>
OryHara is offline   Reply With Quote
Old 23rd May 2012, 10:06   #15
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,204
outprotocol_1=3 needs to be changed to be outprotocol_1=1 when connecting to a v1 DNAS as you are doing.
DrO is offline   Reply With Quote
Old 23rd May 2012, 15:55   #16
OryHara
Junior Member
 
Join Date: May 2012
Posts: 9
kk, its streaming my music now, it still says the thing about id3v2, but it sends the song info anyways, so idk what this id3v2 rly does lol
OryHara 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