| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Sat Mar 22, 2008 10:17 am Post subject: [Solved]fallback-override is ignored unless client restarts |
|
|
Ok so I'm trying to get icecast to stream silence whenever the source is disconnected and it does but when the source comes back on the clients still only hear silence until they restart the stream by disconnecting and reconnecting. I have tried this with two separate clients (mplayer and totem) and they both exhibit the same behavior so that should indicate that this is a server error but I can't figure out whats wrong
The relevant part of my config:
| Code: |
<mount>
<mount-name>/mpd.ogg</mount-name>
<fallback-mount>/silence2.ogg</fallback-mount>
<fallback-override>1</fallback-override>
<burst-size>0</burst-size>
|
As you can see the override value is set, what is also worth noting is that the silnce2.ogg is only 30 seconds long so it can't be a client buffering problem. Any suggestions about what might be wrong?
Last edited by Anonymous on Sat Mar 22, 2008 5:22 pm; edited 1 time in total |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Mar 22, 2008 3:36 pm Post subject: |
|
|
Be wary that silence compresses really well with ogg vorbis. A buffer of say 64k ogg vorbis silence can be several minutes playback. Use ogg123 on the silence2.ogg file to verify. You may find that encoding the silence with a min bitrate setting may be helpful
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sat Mar 22, 2008 5:02 pm Post subject: |
|
|
Well the file was created with audacity and ogg123 verifies that it's 30 seconds long also its 8Kb in size. I tried changing mplayers buffer size to 32Kb (its minimum) and since ogg123 reports that the silence has a bitrate of 0.3kb/s that should mean that if the buffer is filled with silence then it should never be more then 100 seconds but after 450 seconds I got this
| Code: |
Demuxer info Name changed to Miseria Cantare - the Beginnin
Demuxer info Artist changed to AFI
Demuxer info Album changed to Sing the Sorrow
A: 29.7 (29.7) of 0.0 (unknown) 1.9% 0%
Exiting... (End of file)
|
Which would be correct if not for two things
1) it takes to long to switch back
2)it quits due to the fact that it believes that the stream ends when it switches back to the main stream
So any suggestions of how I should solve this?
Edit: I finally understood what you mean so setting a min bitrate solves number 1 but theres still number 2
Edit2: for some reason using a higher bitrate on the silence solved that as well so thanks alot for your help |
|
| Back to top |
|
 |
|