Chromium doesn't play sound
Solution 1
here's a simpler way to fix it: sudo apt-get install chromium-codecs-ffmpeg-extra
. Source: Bug #991758
Solution 2
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).
- 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.
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.
Solution 3
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.
Related videos on Youtube
Madara's Ghost
I have resigned and will no longer be available to keep good on the promise below. I will keep it linked here for posterity, and I hope it inspires others to go that way. I offer a 500 point bounty for every good canonical you post. Contact me in chat for more details (I'm usually in the PHP or JavaScript room) Madara Uchiha, second Rikudo. ex-♦ Moderator on Stack Overflow and Anime and Manga. The most powerful shinobi of the time. Mess with me, and I will drop a meteor on your head. Plus I program in JavaScript, HTML, Java, PHP, CSS, And several other languages. Pleased to meet you :) Avatar From EspadaZero@DeviantArt Madara_Uchiha @ Miaou
Updated on September 18, 2022Comments
-
Madara's Ghost almost 2 years
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.
Example of what happens when YouTube video is playing
-
jackthehipster over 8 yearsThat's the correct answer in my opinion. No need to fuss around with the files manually.