Re: [Savonet-users] Problems with drops when streaming to icecast

2014-04-04 Thread Marius Flage
Hi! *bump* No one has any idea how to actually fix this? Do I really have to convert to Darkice og IceS to get decent performance when streaming audio..? - Marius Den 01.04.2014 12:33, skrev Marius Flage: Hi David, nice to have you onboard this discussion as well! :) On 04/01/2014 08:07 AM,

Re: [Savonet-users] Problems with drops when streaming to icecast

2014-04-01 Thread David Baelde
Hi guys, Yes, it sounds like a clock mismatch: alsa is slower than your icecast. You need a buffer of some sort. With a normal buffer, assuming the clock on your computer is pretty much the same as icecast's clock, you'll still get the drops but inside liquidsoap so you can decide how to cope

Re: [Savonet-users] Problems with drops when streaming to icecast

2014-04-01 Thread Marius Flage
Hi David, nice to have you onboard this discussion as well! :) On 04/01/2014 08:07 AM, David Baelde wrote: For instance you could write output.icecast(...,fallback([buffer(radio),default])) where radio contains the alsa stuff, and is thus controlled by the alsa clock, and default (and the

Re: [Savonet-users] Problems with drops when streaming to icecast

2014-03-31 Thread Marius Flage
Hm, ok. Any way I can confirm this? That the sound card isn't being able to deliver at the correct sample rate? No one else on this mailing list able to shed any light on this? - Marius Den 30.03.2014 03:11, skrev John Plsek: it may not be that Liquidsoap is doing something different, it may

Re: [Savonet-users] Problems with drops when streaming to icecast

2014-03-29 Thread Marius Flage
I see it's documented, but that's just for the SVN and not available in the current latest release. But there has to be some other way of solving this? I've never had problems earlier with capturing from a sound card and encoding this to mp3? What is Liquidsoap doing differently? - Marius

Re: [Savonet-users] Problems with drops when streaming to icecast

2014-03-29 Thread John Plsek
it may not be that Liquidsoap is doing something different, it may be that the sound card is doing something different .. I'm far from being an expert on liquidsoap, but I do know that if your sound card sample rate is below what is expected, you could get exactly the problem you described On 30

[Savonet-users] Problems with drops when streaming to icecast

2014-03-28 Thread Marius Flage
Hi again! I have another problem with my stream. I'm getting input from alsa and now and then (seems to be more or less every 20 minutes), I'm getting a hang on the stream for maybe 1 second. The log for Liquidsoap outputs the following when this happens: 2014/03/29 03:21:33

Re: [Savonet-users] Problems with drops when streaming to icecast

2014-03-28 Thread John Plsek
that would suggest that your input (input.alsa) isn't quite the sample rate as required by the encoder. i.e. encoder expects 44100 samples per second, device supplies 44064 samples per second - you'll get an underrun every 20 minutes (I think) I had a similar situation with an external source -