Choppy Flash Audio

Playing flash videos (youtube and standalone flash) gives me choppy audio and video.

It seems intermittent, I was playing youtube videos earlier with no problems ... now I can't.

Using:

  • 64 bit 12.04
  • Google Chrome 64 bit
  • Nvidia drivers from PPA
  • Flash plugin version: 11.2.202.236

Could anyone offer any advice? Thank you.

Constantin


Solution 1:

I have experienced this too. Everything works fine but after a period of time, the sound becomes choppy in flash videos.

Restarting pulseaudio worked for me. To kill pulseaudio:

pulseaudio -k

To restart pulseaudio:

pulseaudio -D

Another way to do it, but you would be setting pulseaudio to be run a system wide daemon.

To do this, in /etc/default/pulseaudio, set:

PULSEAUDIO_SYSTEM_START=1 

Then run:

sudo /etc/init.d/pulseaudio restart

Solution 2:

What I tried in the same situation was:

  • remove the flash plugin installed by firefox itself, install the one from the repository (apt-get install adobe-flashplugin). The problem changed (instead of slow and choppy it was now too fast and only clicks for audio).
  • try to use gnash instead, but the gnash packages in the repository seem to not install a firefox plugin at all.
  • switch youtube to html5, but the video I wanted wasn't available in WebM, and installing x264 and chromium didn't help either

In the end, I used the DownloadHelper addon to simply download the video (but that is of course a VERY ugly solution for only a few use cases.

Solution 3:

Some people in forums suggests to right click->settings->display and disable hardware acceleration.