digitalmars.D - [OT] Getting Flash to work in Firefox on Linux
- "Andrei Alexandrescu (See Website For Email)" <SeeWebsiteForEmail erdani.org> Feb 23 2007
- Clay Smith <clayasaurus gmail.com> Feb 23 2007
- Michiel <nomail please.com> Feb 24 2007
- Frits van Bommel <fvbommel REMwOVExCAPSs.nl> Feb 24 2007
- Alberto <reda zioale.it> Feb 24 2007
- Michiel <nomail please.com> Feb 24 2007
- Alberto <reda zioale.it> Feb 24 2007
- Michiel <nomail please.com> Feb 24 2007
- Alberto <reda zioale.it> Feb 24 2007
- kenny <funisher gmail.com> Feb 24 2007
- Michiel <nomail please.com> Feb 24 2007
- kenny <funisher gmail.com> Feb 25 2007
- kenny <funisher gmail.com> Feb 25 2007
- Michiel <nomail please.com> Feb 25 2007
- kenny <funisher gmail.com> Feb 25 2007
- Michiel <nomail please.com> Feb 25 2007
- kenny <funisher gmail.com> Feb 25 2007
- Michiel <nomail please.com> Feb 25 2007
- Bill Baxter <dnewsgroup billbaxter.com> Feb 24 2007
- Lionello Lunesu <lio lunesu.remove.com> Feb 26 2007
Michiel wrote (in a different thread):kenny wrote:I don't know about ubuntu, but in gentoo, flash sound wouldn't work while I was using flash 7. I upgraded to netscape-flash-9 and everything is hunky dory now. The problem is, your sound device is being used by something else (lsof | grep /dev/snd). It's because the old flash used oss, I think, and the new one uses alsa.
I wish I could say the same. I run Gentoo and can't get any sound out of Firefox. I already upgraded to netscape-flash-9. I enabled ALSA support and OSS support in the kernel, installed alsa-oss... I'm out of ideas.
I'm (roughly) in the same boat. This seems to be a topic in which quite some people took interest, so by this I'm starting a new thread. If anyone has ideas or pointers, please post here - thanks! Andrei
Feb 23 2007
Try using the Video Downloader firefox extension to download the video ( https://addons.mozilla.org/firefox/2390/ ), and then use mplayer to play the video. ~ Clay Andrei Alexandrescu (See Website For Email) wrote:If anyone has ideas or pointers, please post here - thanks! Andrei
Feb 23 2007
Clay Smith wrote:Try using the Video Downloader firefox extension to download the video ( https://addons.mozilla.org/firefox/2390/ ), and then use mplayer to play the video.
Of course, but that's not the point. We just want the sound to work in Firefox. :) Anyway, I've watched part of the video with Video Downloader. He's just repeating the D documentation, and I've read that already. -- Michiel
Feb 24 2007
Michiel wrote:Anyway, I've watched part of the video with Video Downloader. He's just repeating the D documentation, and I've read that already.
There was also some talk about future directions, IIRC mostly near the end.
Feb 24 2007
I have gentoo, and I have flash working too (video and audio). I have tested firefox and konqueror, without problems. I know that can be "problems" with gentoo 64bit (I have amd64), but gentoo users have solved flash problems from a while.. The best thing is to upgrade to flash 9 (the official version for linux was relased in january 17, 2007), many audio problems has been fixed (from flash 9 beta2).
Feb 24 2007
Alberto wrote:I have gentoo, and I have flash working too (video and audio). I have tested firefox and konqueror, without problems. I know that can be "problems" with gentoo 64bit (I have amd64), but gentoo users have solved flash problems from a while.. The best thing is to upgrade to flash 9 (the official version for linux was relased in january 17, 2007), many audio problems has been fixed (from flash 9 beta2).
I've used Flash 9 now for a couple of months. Is the 'official' version not in portage yet? -- Michiel
Feb 24 2007
I've used Flash 9 now for a couple of months. Is the 'official' version not in portage yet?
KEYWORDS="-* amd64 x86" that from the adobe site: Version: 9,0,31,0 Platform: Linux Browser: Firefox, Mozilla, SeaMonkey Date Posted: 1/16/2007 Language: English it is the lastest flash version (and the ufficial)
Feb 24 2007
Alberto wrote:I've used Flash 9 now for a couple of months. Is the 'official' version not in portage yet?
KEYWORDS="-* amd64 x86" that from the adobe site: Version: 9,0,31,0 Platform: Linux Browser: Firefox, Mozilla, SeaMonkey Date Posted: 1/16/2007 Language: English it is the lastest flash version (and the ufficial)
Right. I've used that version for a good while now. The sound still doesn't work. -- Michiel
Feb 24 2007
Right. I've used that version for a good while now. The sound still doesn't work.
99% it's a configuration problem, for example, have you compiled/loaded oss module?
Feb 24 2007
Michiel wrote:Alberto wrote:I've used Flash 9 now for a couple of months. Is the 'official' version not in portage yet?
KEYWORDS="-* amd64 x86" that from the adobe site: Version: 9,0,31,0 Platform: Linux Browser: Firefox, Mozilla, SeaMonkey Date Posted: 1/16/2007 Language: English it is the lastest flash version (and the ufficial)
Right. I've used that version for a good while now. The sound still doesn't work.
can you paste me "lsof | grep snd" if you don't have lsof, emerge lsof The reason why I say this is because if you have a device using the old oss interface, I've seen my sound not work before. running that command, I can find out what devices are using my sound, to close them
Feb 24 2007
kenny wrote:can you paste me "lsof | grep snd" if you don't have lsof, emerge lsof The reason why I say this is because if you have a device using the old oss interface, I've seen my sound not work before. running that command, I can find out what devices are using my sound, to close them
The output is empty. Though let me clarify: I do get sound out of other applications (like Xine). But only one application at a time. Any ideas? -- Michiel
Feb 24 2007
Michiel wrote:kenny wrote:can you paste me "lsof | grep snd" if you don't have lsof, emerge lsof The reason why I say this is because if you have a device using the old oss interface, I've seen my sound not work before. running that command, I can find out what devices are using my sound, to close them
The output is empty. Though let me clarify: I do get sound out of other applications (like Xine). But only one application at a time. Any ideas?
when I do: L3 ~ # ls /dev/snd/ controlC0 pcmC0D0c pcmC0D0p seq timer does yours look like that too? It looks like xine is using a different interface to the sound than it should. For example, I emerged gxine so I could show you: L3 ~ # lsof | grep xine | grep snd gxine 6950 root mem CHR 116,16 2975 /dev/snd/pcmC0D0p gxine 6950 root 9u CHR 116,0 2966 /dev/snd/controlC0 gxine 6950 root 15r CHR 116,33 3091 /dev/snd/timer ... truncated ... I'm not exactly sure, but I'd look into that.
Feb 25 2007
kenny wrote:Michiel wrote:kenny wrote:can you paste me "lsof | grep snd" if you don't have lsof, emerge lsof The reason why I say this is because if you have a device using the old oss interface, I've seen my sound not work before. running that command, I can find out what devices are using my sound, to close them
Though let me clarify: I do get sound out of other applications (like Xine). But only one application at a time. Any ideas?
when I do: L3 ~ # ls /dev/snd/ controlC0 pcmC0D0c pcmC0D0p seq timer does yours look like that too? It looks like xine is using a different interface to the sound than it should. For example, I emerged gxine so I could show you: L3 ~ # lsof | grep xine | grep snd gxine 6950 root mem CHR 116,16 2975 /dev/snd/pcmC0D0p gxine 6950 root 9u CHR 116,0 2966 /dev/snd/controlC0 gxine 6950 root 15r CHR 116,33 3091 /dev/snd/timer ... truncated ... I'm not exactly sure, but I'd look into that.
let me clarify, I mean I think *your* xine is using a different interface than it should. Which one is it using for you? Also, if you lsof | grep /dev/dsp does anything come up?
Feb 25 2007
kenny wrote:when I do: L3 ~ # ls /dev/snd/ controlC0 pcmC0D0c pcmC0D0p seq timer
controlC0 midiC0D0 midiC0D1 midiC0D2 midiC0D3 seq timerdoes yours look like that too? It looks like xine is using a different interface to the sound than it should. For example, I emerged gxine so I could show you: L3 ~ # lsof | grep xine | grep snd gxine 6950 root mem CHR 116,16 2975 /dev/snd/pcmC0D0p gxine 6950 root 9u CHR 116,0 2966 /dev/snd/controlC0 gxine 6950 root 15r CHR 116,33 3091 /dev/snd/timer ... truncated ... I'm not exactly sure, but I'd look into that.
let me clarify, I mean I think *your* xine is using a different interface than it should. Which one is it using for you? Also, if you lsof | grep /dev/dsp does anything come up?
I get nothing from the lsof commands. -- Michiel
Feb 25 2007
Michiel wrote:kenny wrote:when I do: L3 ~ # ls /dev/snd/ controlC0 pcmC0D0c pcmC0D0p seq timer
controlC0 midiC0D0 midiC0D1 midiC0D2 midiC0D3 seq timerdoes yours look like that too? It looks like xine is using a different interface to the sound than it should. For example, I emerged gxine so I could show you: L3 ~ # lsof | grep xine | grep snd gxine 6950 root mem CHR 116,16 2975 /dev/snd/pcmC0D0p gxine 6950 root 9u CHR 116,0 2966 /dev/snd/controlC0 gxine 6950 root 15r CHR 116,33 3091 /dev/snd/timer ... truncated ... I'm not exactly sure, but I'd look into that.
I get nothing from the lsof commands.
well, hmmm it appears your problem is not having the pcm* devices. Those are pretty important, because they're what receive the data to be put on the speakers. Perhaps something's not right in udev or your kernel?
Feb 25 2007
kenny wrote:it appears your problem is not having the pcm* devices. Those are pretty important, because they're what receive the data to be put on the speakers. Perhaps something's not right in udev or your kernel?
Well, I assure you I have done nothing exotic as root. Anyway, it's just a slight annoyance. I might look deeper into it some day. -- Michiel
Feb 25 2007
Michiel wrote:kenny wrote:it appears your problem is not having the pcm* devices. Those are pretty important, because they're what receive the data to be put on the speakers. Perhaps something's not right in udev or your kernel?
Well, I assure you I have done nothing exotic as root. Anyway, it's just a slight annoyance. I might look deeper into it some day.
in your kernel, do you have: CONFIG_SND_PCM_OSS: OSS PCM (digital audio) API that's the last thing I can think of, other than possibly udev isn't getting those devices. you definitely need the pcm devices, I know that :)
Feb 25 2007
kenny wrote:it appears your problem is not having the pcm* devices. Those are pretty important, because they're what receive the data to be put on the speakers. Perhaps something's not right in udev or your kernel?
Anyway, it's just a slight annoyance. I might look deeper into it some day.
in your kernel, do you have: CONFIG_SND_PCM_OSS: OSS PCM (digital audio) API that's the last thing I can think of, other than possibly udev isn't getting those devices. you definitely need the pcm devices, I know that :)
Yes, I do have that built in the kernel. -- Michiel
Feb 25 2007
Frits van Bommel wrote:Michiel wrote:Anyway, I've watched part of the video with Video Downloader. He's just repeating the D documentation, and I've read that already.
There was also some talk about future directions, IIRC mostly near the end.
yes -- like returning tuples! That's the first I've heard that it's on Walter's todo list. --bb
Feb 24 2007
Andrei Alexandrescu (See Website For Email) wrote:Michiel wrote (in a different thread): > kenny wrote: > >> I don't know about ubuntu, but in gentoo, flash sound wouldn't >> work while I was using flash 7. I upgraded to netscape-flash-9 and >> everything is hunky dory now. The problem is, your sound device is >> being used by something else (lsof | grep /dev/snd). It's because the >> old flash used oss, I think, and the new one uses alsa. > > I wish I could say the same. I run Gentoo and can't get any sound out of > Firefox. I already upgraded to netscape-flash-9. I enabled ALSA support > and OSS support in the kernel, installed alsa-oss... I'm out of ideas. I'm (roughly) in the same boat. This seems to be a topic in which quite some people took interest, so by this I'm starting a new thread. If anyone has ideas or pointers, please post here - thanks! Andrei
I have Ubuntu 6.10, 64-bit, and got Flash 9 to work in Firefox with sound and everything. I just followed this guide: http://ubuntuforums.org/showthread.php?t=341727 I did have a audio recording problem in Skype, which I solved by removing /etc/asound.conf. L.
Feb 26 2007









Alberto <reda zioale.it> 