http://redmine.audacious-media-player.org/http://redmine.audacious-media-player.org/welcome/favicon.ico?15159353402019-08-15T04:18:39ZRedmineAudacious - Support #895: Stuttering with private network streamhttp://redmine.audacious-media-player.org/issues/895?journal_id=32972019-08-15T04:18:39ZJohn Lindgrenjohn@jlindgren.net
<ul><li><strong>Subject</strong> changed from <i>Networking buffering doesn't really work for certain streams</i> to <i>Stuttering with private network stream</i></li><li><strong>Tracker</strong> changed from <i>Bug</i> to <i>Support</i></li></ul><p>An audio buffer size of 100 ms could cause stuttering, have you tried something larger? The default is 500 ms, but if you're trying to get rid of stuttering, I'd try 1-2 seconds for starters.</p>
<p>I tried playing <a class="external" href="http://hi5.adagio.fm">http://hi5.adagio.fm</a> with default settings just now (128 KB, 500 ms, ALSA) and didn't experience any stuttering.</p>
<p>Changing to Support.</p> Audacious - Support #895: Stuttering with private network streamhttp://redmine.audacious-media-player.org/issues/895?journal_id=33122019-08-19T11:47:22ZArtem S. Tashkinov
<ul></ul><p>John Lindgren wrote:</p>
<blockquote>
<p>An audio buffer size of 100 ms could cause stuttering, have you tried something larger? The default is 500 ms, but if you're trying to get rid of stuttering, I'd try 1-2 seconds for starters.</p>
<p>I tried playing <a class="external" href="http://hi5.adagio.fm">http://hi5.adagio.fm</a> with default settings just now (128 KB, 500 ms, ALSA) and didn't experience any stuttering.</p>
<p>Changing to Support.</p>
</blockquote>
<p>I tried buffer size up to 5 seconds - doesn't help at all. Again I can send you the URL of this radio station privately but you seem not to be reading emails sent to your official email address or my messages end up as SPAM.</p> Audacious - Support #895: Stuttering with private network streamhttp://redmine.audacious-media-player.org/issues/895?journal_id=33132019-08-22T00:57:20ZJohn Lindgrenjohn@jlindgren.net
<ul></ul><p>You will need to post the link here, I do not provide support via email.</p> Audacious - Support #895: Stuttering with private network streamhttp://redmine.audacious-media-player.org/issues/895?journal_id=33172019-08-22T17:03:20ZJohn Lindgrenjohn@jlindgren.net
<ul><li><strong>Category</strong> deleted (<del><i>core</i></del>)</li></ul> Audacious - Support #895: Stuttering with private network streamhttp://redmine.audacious-media-player.org/issues/895?journal_id=33202019-08-23T12:12:16ZJohn Lindgrenjohn@jlindgren.net
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Rejected</i></li></ul><p>The stream you sent me by email plays without stuttering here. Closing.</p> Audacious - Support #895: Stuttering with private network streamhttp://redmine.audacious-media-player.org/issues/895?journal_id=33212019-08-23T13:05:00ZArtem S. Tashkinov
<ul></ul><p>John Lindgren wrote:</p>
<blockquote>
<p>The stream you sent me by email plays without stuttering here. Closing.</p>
</blockquote>
<p>I've found the culprit: it's the Crossfade plugin (set to two seconds).</p>
<p>As soon as I disabled it everything got fixed.</p> Audacious - Support #895: Stuttering with private network streamhttp://redmine.audacious-media-player.org/issues/895?journal_id=33232019-08-27T05:02:11ZJohn Lindgrenjohn@jlindgren.net
<ul></ul><p>I added some tracing to the ALSA plugin to show the buffer fill level, and looked at this a bit more.</p>
<p>Crossfade is a red herring. It adds a little bit of jitter on the Audacious side (about 1/2 second) which slightly worsens the problem, but the root problem is the server. It appears to be configured with a burst size of zero (Google "icecast burst size") which means that its buffering is basically useless and the entire burden falls on Audacious.</p>
<p>I am seeing occasional underruns even with a 2 second audio buffer. 5 seconds seems pretty stable here but of course it depends on network conditions, so what works for me may not be enough for you. You can try a huge buffer like 10 seconds -- that means you will wait for 10 seconds between when you hit "Play" and when you hear audio. Or you can use the old trick of pausing the stream for a few seconds, when it stutters, to buffer some audio manually.</p>
<p>It's like the early 2000's all over again. There's a reason most servers aren't configured like that.</p> Audacious - Support #895: Stuttering with private network streamhttp://redmine.audacious-media-player.org/issues/895?journal_id=33242019-08-27T08:50:48ZArtem S. Tashkinov
<ul></ul><p>John Lindgren wrote:</p>
<blockquote>
<p>I added some tracing to the ALSA plugin to show the buffer fill level, and looked at this a bit more.</p>
<p>Crossfade is a red herring. It adds a little bit of jitter on the Audacious side (about 1/2 second) which slightly worsens the problem, but the root problem is the server. It appears to be configured with a burst size of zero (Google "icecast burst size") which means that its buffering is basically useless and the entire burden falls on Audacious.</p>
<p>I am seeing occasional underruns even with a 2 second audio buffer. 5 seconds seems pretty stable here but of course it depends on network conditions, so what works for me may not be enough for you. You can try a huge buffer like 10 seconds -- that means you will wait for 10 seconds between when you hit "Play" and when you hear audio. Or you can use the old trick of pausing the stream for a few seconds, when it stutters, to buffer some audio manually.</p>
<p>It's like the early 2000's all over again. There's a reason most servers aren't configured like that.</p>
</blockquote>
<p>Thank you very much John! Very much appreciated. I will try to contact the owner of the stream and ask him to fix the streaming settings.</p>