• home
  • activity stream
  • contact
Home › Blogs › Markus Thielmann's blog

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 = 5

to /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.

  • Ubuntu
  • UbuntuWeblogs
  • Markus Thielmann's blog

You likely also want to use

Daniel T Chen (not verified) — Mon, 2008-09-08

You 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.

  • reply

thank you very much for this

Ralph (not verified) — Tue, 2008-09-09

thank 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.

  • reply

Post new comment

The content of this field is kept private and will not be shown publicly.
Input format
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Lines and paragraphs break automatically.
  • You can use Mediawiki syntax. It is possible that not all formatting options are supported at the moment.
    Links to other pages: [[Page Title]] or [[path/to/page|Title]].
    External links: http://example.com or [http://example.com some link title].
    Interwiki links: [[site:Page Title]].
    You can use the following interwiki links: path, gdo, wp
    Images are included with [[Image:name]]. (wikipedia help)

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Syndicate content

Markus Thielmann is a Berlin based open source enthusiast and developer. Read more...

Portrait

Tags in Tags

Adobe Firefox Flash Fun Google Marketing Microsoft Music Open Source Ubuntu UbuntuWeblogs Unbelievable
more tags

  • home
  • activity stream
  • contact