Hi,

You needed to play with clocks in your scripts for a good reason: the
clock from alsa is not the same as the one for icecast. Even though
you expect everything to run at 44100 hz, in practice the clock on
your soundcard is a piece of hardware which unfortunately drifts a
tiny bit, and this drift cumulates on the long run. In summary I think
that your soundcard is producing data slower than your icecast needs
and after some time, the buffer is empty and has to be refilled
(during which there should be blank). If my analysis is right, here is
what you can do:

- buffer more, i.e. change last line to "buffer(buffer=5.,radio)"
(with 5 you should experience the problem every 5*46min)

- change your soundcard (1 sec every 46min does not seem very good,
what hardware do you have?)

Cheers,

Samuel.

On Wed, Nov 13, 2013 at 10:49 PM, Matt Camp <[email protected]> wrote:
> Here's an odd one... for some reason Liquidsoap appears to run out of buffer
> every 46 minutes (give or take about a minute), causing a brief blip in the
> audio.
>
> I'm doing live input and streaming to icecast2 in he_aac_v2 via fdkaac.
>
> I've included the full log file and also the .liq file here:
> http://pastebin.com/xuurQxbt
>
> Any ideas?
>
> 2013/11/13 18:14:38 [mksafe:3] Switch to warp_prod_4886 with transition.
> 2013/11/13 19:01:31 [warp_prod_4886:3] Buffer emptied, start buffering...
> 2013/11/13 19:01:31 [mksafe:3] Switch to safe_blank with transition.
> 2013/11/13 19:01:32 [mksafe:3] Switch to warp_prod_4886 with transition.
> 2013/11/13 19:49:19 [warp_prod_4886:3] Buffer emptied, start buffering...
> 2013/11/13 19:49:19 [mksafe:3] Switch to safe_blank with transition.
> 2013/11/13 19:49:20 [mksafe:3] Switch to warp_prod_4886 with transition.
> 2013/11/13 20:36:10 [warp_prod_4886:3] Buffer emptied, start buffering...
> 2013/11/13 20:36:10 [mksafe:3] Switch to safe_blank with transition.
> 2013/11/13 20:36:11 [mksafe:3] Switch to warp_prod_4886 with transition.
> 2013/11/13 21:22:41 [warp_prod_4886:3] Buffer emptied, start buffering...
> 2013/11/13 21:22:41 [mksafe:3] Switch to safe_blank with transition.
> 2013/11/13 21:22:42 [mksafe:3] Switch to warp_prod_4886 with transition.
>
>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to