[darkice] Re: Buffer Overruns

  • From: Julian Weaver <hypotune@xxxxxxxxx>
  • To: darkice@xxxxxxxxxxxxx
  • Date: Wed, 05 Apr 2017 15:00:09 +0000

Hi Daniel,

Yes, ping -f showed masses of packet loss.
I've managed to install a switch and wire up the pi. Now running very
smoothly at a good quality.

Thank  you for your guidance on this.

best,
Julian

On Mon, Apr 3, 2017 at 7:37 PM Julian Weaver <hypotune@xxxxxxxxx> wrote:

Hi Daniel,

Thanks very much for the pointers.
I'll try those tomorrow as soon as I get over there.

best,
Julian


On Mon, Apr 3, 2017 at 7:06 PM Daniel Eckl <daniel.eckl@xxxxxxxxx> wrote:

Hi Julian,

before looking at the application layer, I'd like to make sure, that the
network connection is really stable. If I understand you right, you think
you might have a problem with bandwidth, but there is also the possibility
of packet loss. That would then slowly eat up your buffer, and reducing
bitrate would not change anything, only maybe it lasts longer then.

With WiFi connection problems I found two approaches helpful:

1: A flood ping (ping -f) as root for some seconds​ or minutes to see
short term fluctuations
2: A long term monitoring using mtr to see if maybe there are radio
interferences that only occur sporadically.

If these tests confirm that the connection is stable, we can take a look
at quality and bitrate settings of your stream.

Regards
Daniel


Am 03.04.2017 19:24 schrieb "Julian Weaver" <hypotune@xxxxxxxxx>:

hi,
I am trying to troubleshoot a newly installed wireless connection that is
failing with buffer overruns every 5 seconds or so.
It's a pi3 running locusonus' distro and well tested at my studio before
installing in its location.

Each time the feed runs well for an hour or so then starts dropping out
again.
I think it is to do with contention ratio  but the upstream was reporting
as between 5.18 - 8.58 mb/s which should be more than enough.

So I've been reducing the quality each day without solving the issue.

Which is the correct order for dropping the quality?
Should I be looking at changing bit rate, sample rate? encoding mode?

Thanks,
Julian

Today's darkice config:

[general]
duration        = 0
bufferSecs      = 5
reconnect       = yes
realtime        = yes
rtprio          = 3

[input]
device          = hw:1,0
sampleRate      = 44100
bitsPerSample   = 16
channel         = 2

[icecast2-0]
bitrateMode   = vbr
quality         = 0.1
format          = vorbis






Other related posts:

  • » [darkice] Re: Buffer Overruns - Julian Weaver