LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-09-2006, 06:45 PM   #1
jameslaw
Member
 
Registered: Nov 2005
Location: Trento, Italy
Distribution: Debian:testing, Ubuntu
Posts: 33

Rep: Reputation: 15
video but no sound in firefox


When I go to YouTube or something, I can see the video fine, but no sound. The Flash plugin is installed.

Sound works perfectly in Kaffeine and Amarok. I don't know where to start to look for a problem. How do I connect the sound in Firefox to output?

Jim
 
Old 06-10-2006, 02:54 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
It is a bug in Flash that hopefully will be fix if Adobe ever releases a newer Linux version. Until then you can:

Get sound working in Firefox for Flash

What worked was to 1) install alsa-oss and 2) change the FIREFOX_DSP setting in /etc/firefox/firefoxrc to "aoss"

The above works in Debian and PCLinuxOS not sure if the file would be in the same place for other
distros.
 
Old 07-01-2006, 06:17 AM   #3
weijie90
LQ Newbie
 
Registered: Apr 2005
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by craigevil
It is a bug in Flash that hopefully will be fix if Adobe ever releases a newer Linux version. Until then you can:

Get sound working in Firefox for Flash

What worked was to 1) install alsa-oss and 2) change the FIREFOX_DSP setting in /etc/firefox/firefoxrc to "aoss"

The above works in Debian and PCLinuxOS not sure if the file would be in the same place for other
distros.
Hi,
it worked for me at first, but now it doesnt. in fact, i get an xbl bining error or sth, unless i apt-get install and remove firefox.
"export FIREFOX_DSP" seems to be the prob..?
 
Old 11-03-2006, 11:15 PM   #4
mark_the_bass
LQ Newbie
 
Registered: Nov 2006
Location: Morecambe / NW UK coast
Distribution: PC Linux OS / Redhat / Mandrake
Posts: 2

Rep: Reputation: 0
Firefox audio problem .. my 10 c worth..

Hi - Same problem here.. and everywhere else i think !!

i disable "enable full duplex" in KDE sound system
and Firefox plays Google video / You tube well..
its a pain in the *** but at least i can workaround it..
- i just got to re-enable full duplex before i start Skype

hth..
Mark

Last edited by mark_the_bass; 11-03-2006 at 11:16 PM.
 
Old 12-14-2006, 09:59 PM   #5
johnnyblade
Member
 
Registered: Mar 2004
Location: Indiana
Distribution: Slackware64 13.1
Posts: 30

Rep: Reputation: 15
I'm getting similar problems with Slackware. An interesting note to this, however, is that it only affects non-root users. When I run FireFox as root, sound is just fine, but when I use it with my regular user, no sound. My guess is that the Flash plugin requires root privileges in order to use sound. So as craigevil has already stated, it's a bug that Adobe needs to fix. Y'know, nVidia has done a wonderful thing with their Linux support and I applaud their effort. I wish more commercial developers would take nVidia's example to heart. The computing world would be a far better place. God, I hate Micro$oft. (I know that's OT but I don't care. F*CK M$!)
 
Old 12-15-2006, 07:36 AM   #6
mark_the_bass
LQ Newbie
 
Registered: Nov 2006
Location: Morecambe / NW UK coast
Distribution: PC Linux OS / Redhat / Mandrake
Posts: 2

Rep: Reputation: 0
Hi Folks.. Firefox / Flash-audio problems - u may want to try this..
try enabling / disabling the ' Enable Full Duplex ' option in the KDE
sound system panel, (i'm using ALSA in PCLinuxOS' )

how this works for me is, Skype need to be full duplex of course, so when i want to
settle down and watch some Google video's i just disable the 'Full Duplex' option.
and re-enable full duplex before i try and call anyone on Skype.. or they cant hear me

it works every time, and i did'nt add or change any priveledges for my user.
i hope it works for you.

Mark
 
Old 12-15-2006, 10:33 AM   #7
rowancompsciguy
Member
 
Registered: Sep 2006
Location: Cherry Hill, NJ
Distribution: Fedora Core 6
Posts: 42

Rep: Reputation: 15
Upgrade Flashplayer

If you're using the latest stable release of Flashplayer for Linux (Flashplayer 7) you may want to think about upgrading to the Flashplayer 9 beta release. Here's the link... http://labs.adobe.com/downloads/flashplayer9.html

I believe there is going to be a Flashplayer 9 final release coming out sometime early next year, but in the meantime, play around with this. Even though it's a beta, it seems pretty stable.

I hope this helps!!

Last edited by rowancompsciguy; 12-15-2006 at 10:35 AM.
 
Old 12-15-2006, 12:02 PM   #8
BlackHawk1966
LQ Newbie
 
Registered: Jan 2006
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by johnnyblade
I'm getting similar problems with Slackware. An interesting note to this, however, is that it only affects non-root users. When I run FireFox as root, sound is just fine, but when I use it with my regular user, no sound. My guess is that the Flash plugin requires root privileges in order to use sound. So as craigevil has already stated, it's a bug that Adobe needs to fix. Y'know, nVidia has done a wonderful thing with their Linux support and I applaud their effort. I wish more commercial developers would take nVidia's example to heart. The computing world would be a far better place. God, I hate Micro$oft. (I know that's OT but I don't care. F*CK M$!)
Another Slacker here. Try editing your groups file to add your user to the audio group. Works for me.
 
Old 04-08-2007, 09:54 PM   #9
SIGHUP
LQ Newbie
 
Registered: Oct 2006
Location: San Diego, CA
Posts: 6

Rep: Reputation: 0
This is an old thread but what the heck. I installed the new adobe flash player as root, but it did not work. When I installed the player as local non-root user. it installed the player on my home directory under ./mozilla (I use firefox) and voila it plays audio now!
 
Old 06-29-2007, 11:22 AM   #10
hgratp
LQ Newbie
 
Registered: Jun 2007
Posts: 1

Rep: Reputation: 0
video but no sound in firefox... how i fixed

I had the same problem using PCLinuxOS i got no sound when playing videos in youtube, system sound was working for all other programs (system, cdplayer, etc.) I did several things, not sure if all are necessary but i will post them here:

- I updated flashplayer beta to its latest release in the adobe website and followed the instructions posted by them. I used the .rpm but you can use whatever works for you. PClinuxOS uses synaptic to upgrade/add/remove programs, I removed the flashplayer beta from the system because it was still present (I could see the beta and the new installed.) This didnt work for me, I still got no sound from youtube.

- I switched the sound drivers from OSS to ALSA in the sound card configuration. In pclinuxos i went to Configure Your Computer located in the panel, inserted password (if not logged as root,) then to Hardware, then Look At And Configure Hardware and from there I changed the sound driver from OSS to ALSA. That did the trick for me! I went to youtube and got sound, no problems with flashplayer.

...but!!! since this was my first time running pclinuxos i wanted to see if it was capable of playing dvds. it wasnt, i had to download the required libraries to play dvds in mplayer. it was really simple, just went to synaptic again and downloaded libdvdcss2, the library needed to play dvds. after rebooting and trying to play the dvd i got a sound server error, dont remember what it was but i fixed it after searching some forums.

- For that I a terminal, i used Konsole, su, to enter as root, and entered 'alsaconf' so the system could configure the sound card. i guess that by doing this the alsa driver is registered in the system, i dont know i am a newbie.

After all these steps everything worked fine!!! (youtube and mplayer) couldnt be happier!!! Hope the rest works too, i dont see why not.

Sorry, I know it is a long post but since i have solved so many problems with this and other forums i wanted to give something back. Hope it helps!!! good luck...
 
Old 07-04-2007, 07:22 AM   #11
slatibartfast
LQ Newbie
 
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
I had the same problem: Flashplayer 9 plugin did not make any sound. I followed practically all suggestions from this thred and plus, but with no results... Then I swapped the Ensoniq Creative ES1370 sound card from my computer with C-Media CMI8738 and problem was solved. Maybe some Alsa drivers are incompatible with the latest Flashplayer? Just a thought.
 
Old 07-04-2007, 08:33 AM   #12
jameslaw
Member
 
Registered: Nov 2005
Location: Trento, Italy
Distribution: Debian:testing, Ubuntu
Posts: 33

Original Poster
Rep: Reputation: 15
I started this thread in Nov 2005 and I still have this problem. And folks are still replying that they have the problem. After tons of fussing around I found out that the reason, in my case, is that there is no 64-bit Flash plugin for Mozilla/Firefox. There is only a 32-bit plugin. This all started when I got a new 64-bit AMD machine. I've since built a new 32-bit machine and it worked fine right from the start.

Evidently you can't run the 32-bit plugin without the 32-bit libraries, and you can't run the 32-bit libs on a 64-bit install. There is supposedly a wrapper you can use to run the 32-bit plugins on a 64-bit machine. I could not get it to work. I've forgotten the name -- nsplugin, or something like that.

The only fix I've heard of that I have confidence in is to install a chroot environment for Mozilla that uses the 32-bit libraries and plugins. This would be pretty disruptive for me, so I haven't resorted to it yet. So, I also can't say for sure that it works. There are instructions somewhere on the web for doing this in Debian (I think).

Hope this helps.

Jim
 
Old 07-06-2007, 04:33 AM   #13
slatibartfast
LQ Newbie
 
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
From my own experience on my other, AMD64 hardware with 64bit Debian, computer: I can confirm that the chroot solution works, enabling the full functionality for Flashplayer 9, but creates other problems. I followed the instructions, to set up the chroot on debian, found somewhere on the internet And got 32bit chroot working without a problem. I created new firefox icon on the menu to run the 32bit firefox version, with the help of the dchroot utility. But now every program started from this firefox must also be 32bit compliant. Say OpenOffice.org, xine, xmms,... One has to install a 32bit version for all of them. And as a bonus, smartcard plugin can't interact with it's drivers. So to use smartcard, I have to switch to 64bit firefox :| The same goes for CUPS - some printers are useable from 32bit chroot, some are not.
 
Old 07-18-2007, 07:55 PM   #14
kyo
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Rep: Reputation: 0
I just built a AMD64 X2 box. I set up my box for dual booting and have 32-bit Linux Mint. The multimedia is working fine there. The other distro I'm using is 64-bit Kubuntu 7.1. There I'm having some difficulties; I haven't got a multimedia player working there yet. Getting flash player and acrobat reader working wasn't too hard. I used nspluginwrapper. I just needed to install it and run it for each plugin I was wrapping. It works great. It's neat the way it works. It interfaces between 64-bit firefox and the 32-bit plugins. To firefox it makes the 32-bit plugin look like a 64-bit plugin and to the plugin it makes the 64-bit firefox look like 32-bit firefox. I eventually want to use Debian testing but my hardware isn't supported yet.
 
Old 07-18-2007, 08:04 PM   #15
jameslaw
Member
 
Registered: Nov 2005
Location: Trento, Italy
Distribution: Debian:testing, Ubuntu
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by kyo
I just built a AMD64 X2 box. I set up my box for dual booting and have 32-bit Linux Mint. The multimedia is working fine there. The other distro I'm using is 64-bit Kubuntu 7.1. There I'm having some difficulties; I haven't got a multimedia player working there yet. Getting flash player and acrobat reader working wasn't too hard. I used nspluginwrapper. I just needed to install it and run it for each plugin I was wrapping. It works great. It's neat the way it works. It interfaces between 64-bit firefox and the 32-bit plugins. To firefox it makes the 32-bit plugin look like a 64-bit plugin and to the plugin it makes the 64-bit firefox look like 32-bit firefox. I eventually want to use Debian testing but my hardware isn't supported yet.

How did you install and run nspluginwrapper? I didn't work for me, but I had no idea what I was doing. I'm using Debian AMD64 testing.
 
  


Reply

Tags
firefox, flashplayer, nspluginwrapper, sound


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox mplayerplugin no video NightKids Linux - Newbie 14 10-09-2008 02:38 AM
Sound lagging behind video in Google video slackist Linux - General 1 05-15-2006 07:45 AM
firefox does not stream video after firefox automatic upgrade? kazuya1977 VectorLinux 1 02-12-2006 01:48 PM
Sound Problems: CD works, no system/mp3/video sound tabnaka SUSE / openSUSE 5 01-13-2006 12:33 PM
Video without sound; sound without video - in Debian, KDE with SB Live headisdead Linux - Hardware 0 06-20-2004 07:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration