Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have Chromium installed on Ubuntu 13.04, but aside from flash things, it seems I can't get a sound out of it.

For instance, I installed an extension, SpeakIt, which is supposed to read paragraphs aloud, but I get no sound out of it. The test includes listening to an audio file, I don't get anything out of that either.

I do hear sounds when played by YouTube, which makes me believe that the computer's sound itself isn't a problem, only Chromium's (because Flash makes sounds).

I don't hear sounds the browser plays (like Google Translate's speak).

What can I do to troubleshoot? What could be the problem?

When looking in the Sound > Applications submenu, it doesn't even show up there. When I play a YouTube video, it does show.

Image Example of what happens when YouTube video is playing

share|improve this question
    
If you guys need more information about the problem, don't be shy and comment me about it :) –  Madara Uchiha Jun 12 '13 at 12:47

3 Answers 3

up vote 3 down vote accepted
+50

I had this problem too. This is an old bug about Chromium: Issue 22152: <audio> tag doesn't work for extension resources. Anyway, I didn't understand how they fixed there (actually I have not bothered myself) - if they fixed (is written that it is fixed). Because of that I won't explain what is happening there.

I fixed it by following the following steps:

  • Download and install Google Chrome.
  • Replace /usr/lib/chromium-browser/libffmpegsumo.so file with /opt/google/chrome/libffmpegsumo.so (preventive, you can make a copy of the original file).

Replace libffmpegsumo.so

  • Optional, uninstall Google Chrome if you don't need anymore or if you don't intend to use it in the future.
  • Open Chromium browser and check if you can hear sounds now, in Google Translations for example.

Check if sound is working


I think, not sure, that this happens because many of the audio and video codecs included in Chrome aren't included in Chromium due to licensing, patents and stuff like this.

share|improve this answer
    
Thank you! I will try and get back to you. –  Madara Uchiha Jun 12 '13 at 15:06
    
Just out of curiosity, what program did you use for your screenshots? Shutter? –  Madara Uchiha Jun 12 '13 at 15:56
1  
@MadaraUchiha Yes, very useful in this sense and very easy to edit a screenshot. –  Radu Rădeanu Jun 12 '13 at 16:13

here's a simpler way to fix it: sudo apt-get install chromium-codecs-ffmpeg-extra. Source: Bug #991758

share|improve this answer
    
Thanks! I'll give it a try and get back to you! –  Madara Uchiha Aug 30 '13 at 8:46

No need for install, just download the package and extract, like:

sudo dpkg -x google-chrome-stable_current_amd64.deb ./google
sudo cp /usr/lib/chromium-browser/libffmpegsumo.so /usr/lib/chromium-browser/libffmpegsumo.so.backup
sudo cp /home/YOURUSERNAME/Downloads/google/opt/google/chrome/libffmpegsumo.so /usr/lib/chromium-browser/libffmpegsumo.so

Ok, restart chromium.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.