![]() |
#161 |
Junior Member
Join Date: Jan 2009
Posts: 11
|
ok nradish, thanks for the clarification...
i'm having a problem with sc_trans having more thank two streamids... i believe it's sc_trans, and not sc_serv because: right now i've sc_serv using yp2 from streamsolutions, configured to relay the same server (my own "production station" since i don't know any public stations for relay besides my own) 5 time, like with 5 diferent mountpoins. everything is working. but when i try to run sc_trans with a playlist, and with 3 or more streamsIDs (being the only diference the bitrate) i get only two to receive a successfull ACK from yp2, and the other(s) gettting this error: 2010-04-19 11:36:39 D msg:gotResponseReqest key=2 cmd=0 Response body=[ ] 2010-04-19 11:36:39 E msg:[yp2] XML parser error: no element found at line 1 --- is anyone testing multistream and getting the same problem?! i don't know if yp2 that is being used(?)/debugged(?)/developed(?) at streamsolutions it's the same that it is supposed to be used on shoutcast in the future... but it looks like to me, that yp2 service or sc_trans messes up with more than two IDs.. any help? |
![]() |
![]() |
#162 |
Junior Member
Join Date: Apr 2010
Posts: 30
|
|
![]() |
![]() |
#163 |
Junior Member
Join Date: Jan 2009
Posts: 11
|
hey elpotente,
thanks for the link...i'm aware of that... (i might not getting the information as is, since english is not my native language). but, i do stream with 2 stream ids, with 3 or more...the sc_trans gets all f*cked up....and not working has expected... even with publicserver=never and public=0 ... please try to have sc2_trans drop 6 with 2 diferent streamids...u'll get it to work (at least if you have access to yp2 at streamsolutions [changing only the bitrate]), then kill sc2_trans...configure a third ID with a lower bitrate..and sc2_trans will get all messed up. nradish (or anyother sc2 developer), have you ever tryed 3 or more streamids ? PS - once again elpotente, thanks for the help mate. |
![]() |
![]() |
#164 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
njasm,
Streamsolutions has not been authorized by Aol to provide yp2 services and have not been given the specification. All they are doing is trying to reverse engineer it. Most likely they've just gotten it wrong. --Neil |
![]() |
![]() |
#165 |
Junior Member
Join Date: Jan 2009
Posts: 11
|
Hey Neil,
So, is there a way that i can test this new sc_trans , with multiple bitrates, right now ?! if so, what options should be set in sc_Trans and sc_serv? for what i've seen... if there is no YP2 around, and multi-bitrate/multi-mountpoint is only available with YP2, then... there is no point in testing this versions..right ?! |
![]() |
![]() |
#166 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
The only way to test right now would be to run it as a non-public server (a server that does not register with YP at all)
--Neil |
![]() |
![]() |
#167 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
The only way to test right now would be to run it as a non-public server (a server that does not register with YP at all)
--Neil |
![]() |
![]() |
#168 |
Junior Member
Join Date: Jan 2009
Posts: 11
|
it's all good.... i just need to set publicserver=never under sc2_serv, but let yp2=1, is that right ?
will the mountpoints be available for listening.. they simple will not be listed in yp, right ? |
![]() |
![]() |
#169 | |
Junior Member
Join Date: Apr 2010
Posts: 30
|
Edited: Mp3 license now working.. Maybe need to pass some time to activate
Got a problem. If I set mp3mode=1 (VBR high quality) I get this error: Quote:
Last edited by elpotente; 24th April 2010 at 20:05. |
|
![]() |
![]() |
#170 |
Junior Member
Join Date: Jan 2009
Posts: 11
|
i don't know if i can use streamtitle_X= abcd, streamtitle_Y=efgh and streamtitle_Z=ijkl .
if i should be able to use them... they're not working...my sc_serv let me access my 3 diferent mountpoints...but all have the last "streamtitle_" sent to server , in this case the Z one. anyone can show me some light on this? i believe that a sc_serv.conf starting with a ";" would be discarded...i believe this would comment out that line. if that's the case... then, i've manage to stream 3 diferent bitrates to my sc_Serv(configured only with 2 id's), and accessed the "crusher" stream for listening successfully... |
![]() |
![]() |
#171 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
|
![]() |
![]() |
#172 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
That encoder configuration probably isn't supported by the codec. Looks like
you're asking for 44100/96kb mono. Try stereo instead. |
![]() |
![]() |
#173 | |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
streamtitle is not a "multi" option as you've found out. An oversight I suppose. I always saw a single instance of sc_trans providing data for a single station (though perhaps at multiple bitrates).
--Neil Quote:
|
|
![]() |
![]() |
#174 | |
Junior Member
Join Date: Apr 2010
Posts: 30
|
Quote:
Thanks again. |
|
![]() |
![]() |
#175 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
No. 96kb is 96kb whether it's stereo, mono, surround. At a certain threshold, however, the sound quality might be lower for stereo over mono at a given bitrate.
--Neil |
![]() |
![]() |
#176 |
Junior Member
Join Date: Apr 2010
Posts: 30
|
|
![]() |
![]() |
#177 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Stereo should be just fine at 96kb. I would definitely use that instead of mono.
|
![]() |
![]() |
#178 |
Senior Member
Join Date: Jan 2010
Location: My Place
Posts: 109
|
Hi!
Does sc_trans respects gain applied by software like Mp3gain? Thanks in advance! <?php echo str_rot13("FUBHGpnfg QANF Ehyrf!"); ?> |
![]() |
![]() |
#179 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
|
![]() |
![]() |
#180 | |
Senior Member
Join Date: Jan 2010
Location: My Place
Posts: 109
|
Here is a small part of the help file of Mp3gain:
Quote:
So this means that it only works if I set applyreplaygain=1, right? applyreplaygain is not too much CPU intensive? I mean, I thought that was the functionality that analyse mp3 peak levels, not the functionality that looks for gain tags, guess I was wrong... Mp3Gain project can be found here: mp3gain.sourceforge.net Thanks in advance! <?php echo str_rot13("FUBHGpnfg QANF Ehyrf!"); ?> |
|
![]() |
![]() |
#181 |
Senior Member
Join Date: Jan 2010
Location: My Place
Posts: 109
|
Never mind, I've made a test and I got it.
Here is my conclusion, in case anyone else is interested: Tracks adjusted with Mp3Gain are played as expected by sc_trans. No need to apply replay gain in sc_trans, it will respect Mp3Gain adjustments. applyreplaygain setting in trancoder is good, as it should do the same that Mp3Gain does, the bad thing is that will eat too much CPU resources, so I prefer to adjust mp3 gain before upload files to the server. However, DJ's stream levels will sound as they send it, but hey, ask them to normalize their mp3 files too! ![]() Thanks! <?php echo str_rot13("FUBHGpnfg QANF Ehyrf!"); ?> |
![]() |
![]() |
#182 | |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
How much CPU is it really eating up?
Quote:
|
|
![]() |
![]() |
#183 |
Senior Member
Join Date: Jan 2010
Location: My Place
Posts: 109
|
sc_trans is eating a CPU average of 10% (max 13.3%, min 6.5%)
I have applyreplaygain deactivated. <?php echo str_rot13("FUBHGpnfg QANF Ehyrf!"); ?> |
![]() |
![]() |
#184 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Seems like alot, but inline with what the code is doing (a float multiply and two "ifs" to clamp the values). I'll have to look into optimizations for that.
--Neil |
![]() |
![]() |
#185 |
Junior Member
Join Date: Apr 2010
Posts: 30
|
Its posible to write comments in calendar.xml?
|
![]() |
![]() |
#186 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
|
![]() |
![]() |
#187 |
Junior Member
Join Date: Feb 2010
Posts: 15
|
api quesiton: "inline" playlists
had a quick question for you:
I'm working and a full featured php interface to sc_trans v2. Bofore I wrote a bunch of code for dealing with playlists, I thought I would ask what happens when you create a playlist using the inline method of the api? is the "inline" playlist saved as a file in the playlist directory as defined in the options? or is it just loaded into memory as long as sc_trans in running? thanks! p.s. why aren't the weblet commands in the api (post)? e.g. why have an api call for next track, but not writeconfig? |
![]() |
![]() |
#188 |
Junior Member
Join Date: Apr 2007
Location: Germany
Posts: 28
|
Jingle Rotation of Main Playlist
im confusing
![]() i will play one jingle every hour but it didnt work correctly something wrong in my calendar.xml or sc_trans.conf here my conf code: and my calendar.xml code: i start sc_trans and it plays the first entry of Tracks.lst without shuffle and the other Events are ignored and the "Tracks.lst" moved to archive folder why? how i can make my solution work? Quick fallback: Tracks.lst is the main Playlist but every full hour plays one Jingle from Jingle.lst is that possible? how? anyone has an demo config for me to get this work? please |
![]() |
![]() |
#189 |
Junior Member
Join Date: Apr 2007
Location: Germany
Posts: 28
|
okay okay all fine ive solved this big problem self
![]() ![]() ![]() ![]() ![]() |
![]() |
![]() |
#190 | |
Junior Member
Join Date: Feb 2010
Posts: 15
|
I'm having issues with sc_trans seemingly creating and scheduling playlists on its own:
I went into my api interface and found a bunch of copies of an unscheduled play list registered, in the logs i see entries like this: Quote:
main.lst is not in the events list and not in calendar.xml e.g. i'm really confused as to what the hell is happening. |
|
![]() |
![]() |
#191 |
Junior Member
Join Date: Feb 2010
Posts: 15
|
solved my problem - huge face palm. set my playlists to a directory that already HAD playlists in it.
|
![]() |
![]() |
#192 |
Senior Member
Join Date: Jan 2010
Location: My Place
Posts: 109
|
Hi!
Here is one more request: - I wold like to control de fade in/fade out separately from playlist or DJ. I mean, it would be nice if we could set a specific xfade value for when a DJ connects, and a diferent xfade value for playlists. What do you think? Is it possible? Thanks! <?php echo str_rot13("FUBHGpnfg QANF Ehyrf!"); ?> |
![]() |
![]() |
#193 |
Junior Member
Join Date: Apr 2010
Posts: 30
|
Its possible to implement a param for the playlists in the calendar in order they play without waiting the playing track ends? For radio shows the time must be at oclock and if the server is playing a set or started with a 7min track at min 59, the show dont start until min 6..
I think this could solve some other difficult situations. It could be something like inmediate="1": <event type="playlist"> <playlist loopatend="0" shuffle="0" priority="9" inmediate="1">program.lst</playlist> <calendar starttime="18:00:00" duration="02:00:00" repeat="64" /> </event> Thanks! |
![]() |
![]() |
#194 |
Senior Member
Join Date: Jan 2010
Location: My Place
Posts: 109
|
That's a nice one elpotente.
Currently I use a cron job that forwards the current song to activate the next show at the exact time. But that option would be a great built in feature, no doubt. <?php echo str_rot13("FUBHGpnfg QANF Ehyrf!"); ?> |
![]() |
![]() |
#195 |
Junior Member
Join Date: May 2010
Posts: 1
|
Can anyone explain me, why i got this error?
code: What it means? |
![]() |
![]() |
#196 |
Junior Member
Join Date: Apr 2010
Posts: 30
|
@BornKillaz: Sure mate, hope they take it in consideration.
Are you sure that your php script returns a valid mp3 path? |
![]() |
![]() |
#197 |
Junior Member
Join Date: Oct 2009
Location: Melbourne, Australia
Posts: 5
|
Finally got it working buy not sure exactly
removed
Worked out it was just a delay problem |
![]() |
![]() |
#198 | ||
Junior Member
Join Date: Jan 2009
Location: Toruń [POLAND]
Posts: 16
|
Quote:
Quote:
|
||
![]() |
![]() |
#199 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
|
![]() |
![]() |
#200 |
Senior Member
Join Date: Oct 2008
Posts: 104
|
Ok, I'm testing drop 6, and while it's streaming properly, I've got a few errors in the log, and a few things I'm not clear on.
1. Has the calendar.xml changed format? My old calendar.xml had entries like this: code: The new testui shows "undefined" for each DJ in my calendar though. 2. In the testui, I'm still not getting the VU Meter images. Just a broken image placeholder. What should I set the vuimagedirectory to? 3. I'd like to set the streamed metadata for each track from my playlist to just "Artist - Song," but even after setting what I thought was right (%R - %N), no change on the stream. 4. Specific errors that are showing up in the log now: code: code: code: code: Thanks in advance for helping with these! |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|