Old 10th May 2012, 16:50   #1
dicion
Junior Member
 
Join Date: Jun 2011
Posts: 12
backupfile and streambackupfile_X issues

Hey all, so in response to another problem I'm having, I'm setting up backupfile for my streams. There's not really much data out there on it, other than it has to be a mp3 of the same bitrate/samplerate/channels as the stream it's filling in for.

I have sc_trans connecting to the dnas, running 3 streams. a 128, a 320, and an 80kbit aac

I have 3 files named standby128.mp3 standby320.mp3 and standby80.mp3
They are encoded at the bitrates specified in the filename, 44100hz, stereo. Same as sc_trans is using to the server.

I have the following defined in the dnas config:

backupfile=/path/to/standby%d.mp3

streambackupfile_1=/path/to/standby%d.mp3
streambackupfile_2=/path/to/standby%d.mp3
streambackupfile_3=/path/to/standby%d.mp3

the sc_trans config has the streams defined as follows:

encoder_1=mp3
bitrate_1=128000
encoder_2=mp3
bitrate_2=320000
encoder_3=aacp
bitrate_3=80000


When I manually drop sc_trans to test, is starts to play the file, but it is horribly choppy and unlistenable, with 5-10 second pauses between 1-2 seconds of audio.

Anyone have any ideas what could be causing this?
dicion is offline   Reply With Quote
Old 10th May 2012, 17:20   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
what player are you using to test it with? if it's the site flash player then what you're describing is completely expected with it stopping and starting.

however the intro and backup files can cause issues either from tags on the files to way that it's done in that the file is basically just loaded and dumped onto the stream and not all players can cope with the de-sync in the stream which will happen due to the source disconnect and the dump behaviour.

there is more chance of things working reliably if the intro / backup file has been done via sc_trans compared to using the options as you are in the DNAS since sc_trans will correctly decode the files so they are more likely to sync into the stream correctly.


relying on these options as a means to keep going is really not ideal (irrespective of the version of the DNAS being used) though i've made some improvements internally to the handling but it's not really going to be a complete solution.

i will look into the other old thread you've posted in regarding the other sc_trans issue when i've got a bit more time.

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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