LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Suse/Novell (http://www.linuxquestions.org/questions/suse-novell-60/)
-   -   Flash videos in Firefox without any sound - OpenSUSE 11.1 (http://www.linuxquestions.org/questions/suse-novell-60/flash-videos-in-firefox-without-any-sound-opensuse-11-1-a-705366/)

colucix 02-17-2009 09:20 AM

Flash videos in Firefox without any sound (OpenSUSE 11.1)
 
Have someone experienced this problem in the latest release of OpenSUSE and eventually have found a solution? I have OpenSUSE 11.1, running KDE 3.5.10, Firefox 3.0.5 and flash-player 10.0 r15. When I try to see a flash movie in Firefox I can see the video but no sound.

The sound is good if I run other multimedia applications, like Amarok or Mplayer. The volume is at maximum level. The PCM input in Kmixer is enabled. I tried to uninstall and reinstall flash-player: it worked the first time only, that is I heard sound in flash video, but after reboot it did not work anymore.

Any advice? Thank you!

Drakeo 02-18-2009 06:37 PM

as root copy the /usr/lib/mozilla/plugins/flashplayer.so to /usr/lib/firefox3.0.5/plugins
for some reason your system is not linking tht plugin after a restart of the system any way you could reinstall firefox. or place the plugin in the folder if it does not work.


Back up all stored passwords go to your /home/username/.mozilla/firefox and delete the folder now when you restart firefox it will search those plugins and write a new ini if you also have a /home/username/.firefox you will have to remove it.

The new 3.0.5 is using the newer xulruner also. not sure on your system but this is a must if you went from an older mozilla-firefox to firefox3.0.5 the difference is the older was part of the kde mozilla integration. so we had some different issues.

I am using 3.0.5 in pclinux2008 and this was the same fix I had to do. I really like the 3.0.6 in slackware-current the addon features are wonderful better than 3.0.5 good luck.

colucix 02-19-2009 03:03 AM

Hi Drakeo. Thank for the tips. I have followed your suggestions and now it works: I hear sound again in flash videos. I will keep an eye on that to see if it is stable now.

I don't know what xulrunner is. I have mozilla-xulrunner190 already installed on my system. Has it any role in playing flash videos in Firefox or is it related to some other functionality?

Many thanks! :)

Nick_Battle 04-10-2009 12:25 PM

I was also getting the symptoms described - under SUSE 11.1, KDE3.5 and Firefox, Flash video showing but sound not (and video very jumpy), though sometimes reloading FF or just reloading the *page* would get it working.

Based on the suggestion in this thread, I looked at the /usr/lib/mozilla and /usr/lib/firefox directories.

The firefox directory does not have a plugins subdirectory. The mozilla directory does, but the mozilla directory itself had 0700 permissions (root), so it was not searchable by normal users.

Doing "chmod a+rx mozilla" as root in /usr/lib *seems* to have fixed it. :-)

Surely /usr/lib/mozilla should have world-readable permissions?

Cheers,
-nick

colucix 04-10-2009 12:53 PM

Nice tip. I got it working by putting libflashplayer.so under the $HOME/.mozilla/plugins directory, but I cannot tell you exactly why it did not work before, since I had the same situation upon the first installation. Anyway, I don't see any problem by changing permissions of /usr/lib/mozilla. Maybe someone else has a clue.

Thanks for replying. Cheers! :)

Nick_Battle 06-30-2009 01:44 PM

Quote:

Originally Posted by Nick_Battle (Post 3504814)
Doing "chmod a+rx mozilla" as root in /usr/lib *seems* to have fixed it. :-)

OK, that didn't actually work... but it took me a while to get round to admitting it!

I noticed that there were some errors in the log about pulseaudio failing to grab the audio device as it was busy (this is at KDE startup), and it appeared that re-starting pulse (kill the old one, then pulseaudio --start) got Firefox's flash player going.

So that made me wonder why flash was using pulse, when I've tried to set up KDE to use alsa - to avoid the horrible "BRRRR!!!!" you get at the start of playback otherwise.

A quick Google later, and I found the following:
http://project.revolutionlinux.com/PulseAudio

In particular, it says: "If everything fails, it falls back to the ALSA driver that's built directly into FlashPlayer 9.

You can force any interface by setting environment variables:

* FLASH_FORCE_PULSEAUDIO = 1 (or) FLASH_FORCE_ESD / FLASH_FORCE_ALSA / FLASH_FORCE_OSS"

So I tried setting export FLASH_FORCE_ALSA=1 (in .bashrc), and... fingers crossed... it's been OK since.

HTH :-)

Cheers,
-nick

leonand 07-30-2009 03:59 AM

I had pretty much exactly the same problem as in colucix's description.

I got it to work by going to YaST Control Center / Hardware / Sound. And under the "Other" button (to the right) there had appeared a "PulseAudio Configuration..." option. Clicking it brought up a dialog with only one option: "Enable PulseAudio Support", which wasn't checked!

So after checking it all problems I had with the PulseAudio driver disappeared.

/leonand

colucix 07-30-2009 04:09 AM

Thank you, leonand and Nick_Battle. I will take your suggestions into account the next time I don't hear sound in flash videos! ;)

alcer123 01-31-2011 10:14 PM

Pulse audio activation causes
 
Actually it did the opposite to me as Leanand, by enabling pulse audio, the sound disappeared in flash under Firefox (Flash 10.1). However, after disanabling agin, the problem did not go away. But, it fix my mic rpoblem, it did not work before. I am still torubleshooting (X200 Thinkpad).

Salud y Dinero a todos,
Al Cervantes


All times are GMT -5. The time now is 09:09 PM.