Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Google video/youtube.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Sun Jun 25, 2006 2:59 pm    Post subject: Google video/youtube. Reply with quote

Both google video and youtube uses flash to stream movies (on google I can ofcourse download the movies, but I'd prefer streaming).

I can watch them using firefox-bin and flash, but flash has it's incredibly annoying sound desync.

What I'd prefer to do is some way of using mplayerplug-in to stream the movies, it says it has google video support (also vlc lists google video support), but how does it work? When I use google video I get flash, no matter what.
Back to top
View user's profile Send private message
cyblord
Guru
Guru


Joined: 22 May 2006
Posts: 424

PostPosted: Sun Jun 25, 2006 8:12 pm    Post subject: Reply with quote

adding this to my ego-seach.

:( I can't even get sound with google-video/youtube.
Back to top
View user's profile Send private message
Shan
Guru
Guru


Joined: 04 Nov 2003
Posts: 558
Location: /dev/null

PostPosted: Sun Jun 25, 2006 8:38 pm    Post subject: Reply with quote

cyblord wrote:
adding this to my ego-seach.

:( I can't even get sound with google-video/youtube.


In my case while under KDE (and not using arts) if I've had something accessing /dev/dsp recently firefox wont have access to it. I've got to stop all of my other sounds, close firefox, and try again.
_________________
{ NO -U } { STRIP }
{ TINY }
Back to top
View user's profile Send private message
cyblord
Guru
Guru


Joined: 22 May 2006
Posts: 424

PostPosted: Sun Jun 25, 2006 8:42 pm    Post subject: Reply with quote

great! I got sound working for flash after restarting firefox.

is there a permanent solution though?
Back to top
View user's profile Send private message
discostu
Guru
Guru


Joined: 01 Nov 2002
Posts: 333

PostPosted: Sun Jun 25, 2006 11:58 pm    Post subject: Reply with quote

I used to have no problem with sound in firefox on youtube, google video, and other flash stuff. But one day it stopped working. I've tried quitting everything that uses sound, and restarting firefox. But still never any sound. BTW, I'm using Gnome.

I'm pretty sure I have everything I need in the kernel:
Code:
  │ │ <*> Advanced Linux Sound Architecture                                                                                                           │ │
  │ │ <*>   Sequencer support                                                                                                                         │ │
  │ │ < >     Sequencer dummy client                                                                                                                  │ │
  │ │ <*>   OSS Mixer API                                                                                                                             │ │
  │ │ <*>   OSS PCM (digital audio) API                                                                                                               │ │
  │ │ [*]   OSS Sequencer API                                                                                                                         │ │
  │ │ <M>   RTC Timer support                                                                                                                         │ │
  │ │ [*]     Use RTC as default sequencer timer                                                                                                      │ │
  │ │ [ ]   Dynamic device file minor numbers (EXPERIMENTAL)                                                                                          │ │
  │ │ [*]   Support old ALSA API                                                                                                                      │ │
  │ │ [ ]   Verbose printk                                                                                                                            │ │
  │ │ [ ]   Debug

_________________
"Disco Stu doesn't advertise."
Back to top
View user's profile Send private message
discostu
Guru
Guru


Joined: 01 Nov 2002
Posts: 333

PostPosted: Mon Jun 26, 2006 12:05 am    Post subject: Reply with quote

It seems that /dev/dsp weren't group readable/writable to audio group. chmod fixed that.
_________________
"Disco Stu doesn't advertise."
Back to top
View user's profile Send private message
electrofreak
l33t
l33t


Joined: 30 Jun 2004
Posts: 713
Location: Ohio, USA

PostPosted: Mon Jun 26, 2006 5:18 am    Post subject: Reply with quote

I'm actually not having any sound problems with firefox and other things at the same time.... But, the sound desync is VERY VERY annoying, most definitely when watching google videos.
_________________
Desktop: ABit AN8, Athlon64 X2 4400+ 939 2.75GHz, 2x1GB Corsair XMS DDR400, 2x160GB SATA RAID-0, 2x20"W, Vista Ultimate x64
Laptop: 15.4" MacBook Pro 2.4Ghz, 2x1GB RAM, 160GB, Mac OS X 10.5.1
Server: PIII 550Mhz, 3x128MB RAM, 160GB, Ubuntu Server 7.10
Back to top
View user's profile Send private message
discostu
Guru
Guru


Joined: 01 Nov 2002
Posts: 333

PostPosted: Mon Jun 26, 2006 5:33 am    Post subject: Reply with quote

electrofreak wrote:
I'm actually not having any sound problems with firefox and other things at the same time.... But, the sound desync is VERY VERY annoying, most definitely when watching google videos.


Yes, I agree this is very annoying. I don't think there is anyway to fix it. I think it's a problem with the flash player itself.
_________________
"Disco Stu doesn't advertise."
Back to top
View user's profile Send private message
electrofreak
l33t
l33t


Joined: 30 Jun 2004
Posts: 713
Location: Ohio, USA

PostPosted: Mon Jun 26, 2006 5:38 am    Post subject: Reply with quote

ugh, they fricken need a 64-bit flash. Didn't adobe buy flash and are they working on a 64-bit flash version??
_________________
Desktop: ABit AN8, Athlon64 X2 4400+ 939 2.75GHz, 2x1GB Corsair XMS DDR400, 2x160GB SATA RAID-0, 2x20"W, Vista Ultimate x64
Laptop: 15.4" MacBook Pro 2.4Ghz, 2x1GB RAM, 160GB, Mac OS X 10.5.1
Server: PIII 550Mhz, 3x128MB RAM, 160GB, Ubuntu Server 7.10
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 722
Location: Winnipeg, Canada

PostPosted: Mon Jun 26, 2006 6:57 am    Post subject: Reply with quote

I've been having the same problem aswell and after seeing this thread i thought it might be worth investigating it. It seems the current udev rules force /dev/dsp to be created in /dev/sound/dsp then symlinked to /dev/dsp which regardless of what you try to do will allways be root owned ( i tried to chown the symlink about five times without success ) leaving you with the same problem. I fixed it by deleting the /dev/dsp symlink then editing the udev rules for /dev/dsp to *not* make /dev/dsp a symlink but rather the actual character device which fixed it nicely. If there's a dev reading this ( perhaps chriswhite or the udev maintainers ) maybe fix this? The old addage "I symlinked it coz it looks cool" doesn't work here :wink:

Code:
# sound devices
KERNEL=="adsp",                 NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
KERNEL=="adsp[0-9]*",           NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
KERNEL=="audio",                NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
KERNEL=="audio[0-9]*",          NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
KERNEL=="dsp",                  NAME="%k", GROUP="audio"
KERNEL=="dsp[0-9]*",            NAME="%k", GROUP="audio"
KERNEL=="mixer",                NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
KERNEL=="mixer[0-9]*",          NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
KERNEL=="sequencer",            NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
KERNEL=="sequencer[0-9]*",      NAME="sound/%k", SYMLINK+="%k", GROUP="audio"

_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Mon Jun 26, 2006 12:57 pm    Post subject: Reply with quote

discostu wrote:
electrofreak wrote:
I'm actually not having any sound problems with firefox and other things at the same time.... But, the sound desync is VERY VERY annoying, most definitely when watching google videos.


Yes, I agree this is very annoying. I don't think there is anyway to fix it. I think it's a problem with the flash player itself.


it is the flash player, but google video does have a mime type, to open it's own custom player. And other players, such as mplayerplug-in and vlc can use that mime type to stream using that instead of flash.

The only problem is that it doesn't seem to work for me :P, it still opens using flash.
Back to top
View user's profile Send private message
Monkeh
Veteran
Veteran


Joined: 06 Aug 2005
Posts: 1656
Location: England

PostPosted: Mon Jun 26, 2006 2:02 pm    Post subject: Reply with quote

There's not much you can do about the sync issues on 64-bit. You have to either use 32-bit firefox and 32-bit flash, or 64-bit firefox and nspluginwrapper. Either way, audio has to (as far as I know anyway) get software mixed, even if you have hardware mixing. Once we have a real 64-bit flash, it should work fine.
Back to top
View user's profile Send private message
stupidkid
Apprentice
Apprentice


Joined: 17 Apr 2006
Posts: 247
Location: 127.0.0.1

PostPosted: Thu Jun 29, 2006 5:24 pm    Post subject: Reply with quote

I think it might be the fast that flash is only on version 7. Either that or it just doesn't work on Linux. Both my Gentoo desktop and Ubuntu laptop have this problem with voice syncing. Oh and mine are both x86.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Thu Jun 29, 2006 5:45 pm    Post subject: Reply with quote

well, youtube might not be fixable, but there is a mimetype for google video, and therefor (imo) it should be possible to select the player yourself.

Isn't this how the google video player works on windows? (it's based on vlc code or something iirc).
Back to top
View user's profile Send private message
rizzurant
Tux's lil' helper
Tux's lil' helper


Joined: 20 Feb 2006
Posts: 83
Location: Indonesia

PostPosted: Mon Jul 03, 2006 2:49 am    Post subject: Reply with quote

after upgrading my kernel to 2.6.16, i cant play flash anymore (firefox and opera), although plugins installed
it is the kernel ?
using alsa-driver

Code:

[root@kayak linux]# less .config |grep SND
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
CONFIG_SND_CS4231_LIB=m
# CONFIG_SND_AD1816A is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_ALS100 is not set
CONFIG_SND_AZT2320=m
# CONFIG_SND_CMI8330 is not set
--cut--
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=m
# CONFIG_SND_INTEL8X0M is not set
--cut--
Back to top
View user's profile Send private message
LordHugeMongus
n00b
n00b


Joined: 24 Aug 2003
Posts: 14
Location: Michigan

PostPosted: Mon Jul 03, 2006 5:16 pm    Post subject: Reply with quote

rizzurant wrote:
after upgrading my kernel to 2.6.16, i cant play flash anymore (firefox and opera), although plugins installed
it is the kernel ?
using alsa-driver

Code:

[root@kayak linux]# less .config |grep SND
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
CONFIG_SND_CS4231_LIB=m
# CONFIG_SND_AD1816A is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_ALS100 is not set
CONFIG_SND_AZT2320=m
# CONFIG_SND_CMI8330 is not set
--cut--
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=m
# CONFIG_SND_INTEL8X0M is not set
--cut--


i had a problem like this when i compiled a new kernel, alsa volume controls worked fine but the oss emulated /dev/dsp was muted until i ran alsaconf (in alsautils package if you don't have that installed).. once i went thru the setup everything worked fine. Oh yes, and make sure snd_pcm_oss is loaded too :) it looks like its set as a module.
Back to top
View user's profile Send private message
rizzurant
Tux's lil' helper
Tux's lil' helper


Joined: 20 Feb 2006
Posts: 83
Location: Indonesia

PostPosted: Mon Jul 03, 2006 6:23 pm    Post subject: Reply with quote

hmm, nothing changed :(
my xmms running properly, but when im browsing to youtube/google video, or other flash based site .. i got blank screen at flash section ....

but when using my old kernel, its normal, i also re-emerged the firefox ..but nothing ....

btw, thanks for the advice
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum