Zattoo stuttering on Pulseaudio/Ubuntu Hardy
Markus Thielmann — Sun, 2008-09-07
Zattoo is a free (as in beer) P2PTV software, which offers some TV stations in some of Europe's countries.
Unfortunately, Zattoo seems to have some problems with Ubuntu Hardy's (and Intrepid's) Pulseaudio configuration.
If you're experiencing stuttering audio, it might be possible to configure the pulseaudio daemon to provide a better Zattoo experience. I'm not a Pulseaudio expert, but I managed to get an acceptable sound output when adding:
high-priority = yes
nice-level = -14
no-cpu-limit = yes
default-fragments = 8
default-fragment-size-msec = 5to /etc/pulse/daemon.conf. I found most of the variables while surfing for Pulseaudio/ALSA problems, but I still have very limited knowledge on Pulseaudio or ALSA internals. It seems some of my changes cause audio/video sync problems, fortunately the differnce is quite short.
I'd be happy to get some advice from experienced sound enthusiasts, to improve Pulseaudio/ALSA interaction.

You likely also want to use
Daniel T Chen (not verified) — Mon, 2008-09-08You likely also want to use speex-float-0 or speex-float-1 as the resampling method. Please also note that your fragments and fragment-size-msec settings are fairly specific to your configuration. There is no magic bullet or acceptable default setting. Newer PulseAudio versions will address hardware capability independently.
thank you very much for this
Ralph (not verified) — Tue, 2008-09-09thank you very much for this blog entry. I always experienced that after some seconds the sound stopped working and with your config above it seems fix it.
Post new comment