LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-17-2007, 09:45 PM   #1
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
Can't hear sound in YouTube after running mplayer radio


This problem is consistent and reproducible.
If I listen to mplayer radio, then I can't hear sound in YouTube.

I've tried looking at ps -ef
Nothing errant seems to be running.

I have to re-boot. ???
Info appreciated

Last edited by alar; 02-18-2007 at 05:54 PM.
 
Old 02-17-2007, 10:11 PM   #2
alienux
Member
 
Registered: Sep 2006
Location: Dayton, Ohio
Distribution: Slackware 12, Fedora Core, PCLinuxOS
Posts: 194

Rep: Reputation: 30
What desktop environment do you use? Check your sound system settings and see if there are any "auto-suspend" options for sound. I used to have a similar problem, but found out that it was b/c in KDE, auto-suspend was set to 60 seconds, so unless I waited 60 seconds after other audio events to open my browser, then try to view a page with audio, I couldn't hear anything. I changed those settings to a much lower value to take care of it.

May not be the same issue you're experiencing, but I would start there at least.
 
Old 02-17-2007, 10:11 PM   #3
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,297

Rep: Reputation: 205Reputation: 205Reputation: 205
You could just kill the sound server, it should automatically restart when you access a function that requires sound.
 
Old 02-19-2007, 04:32 PM   #4
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Original Poster
Rep: Reputation: 36
I'm using Gnome. I just rebuilt the system last fall and took only default sound settings... There are reasons why running "sndconfig" was easier ;-)

I don't see anything that looks like a sound server running to kill. mplayer stops running when I close it...

This isn't time based either...

mplayer always works:
Code:
MPlayer 1.0pre7-4.0.0 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Resolving media.ckua.com for AF_INET...
Connecting to server media.ckua.com[66.244.199.217]:1755 ...
connected
Clip info:
 name: CKUA Radio Network
 comments: CKUA Radio Network Web Streaming
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 32000 Hz, 1 ch, s16le, 20.0 kbit/3.91% (ratio: 2500->64000)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
Checking audio filter chain for 32000Hz/1ch/s16le -> 32000Hz/2ch/s16le...
AF_pre: 32000Hz/1ch/s16le
AO: [oss] 32000Hz 2ch s16le (2 bps)
Building audio filter chain for 32000Hz/1ch/s16le -> 32000Hz/2ch/s16le...
Video: no video
Starting playback...
My Mozilla Firefox Browser settings are:
Code:
Real Media: /usr/bin/gmplayer
Windoh Media: /usr/bin/gmplayer
Quick Time: /usr/bin/gmplayer
Playlist (pls/m3u): /usr/bin/xmms 
Mp3/ACC: /usr/bin/xmms 
Wave/ Midi: /usr/bin/gmplayer
Flash: ----
There is no default setting for Flash - but I think I have it installed.
I think I've narrowed down the problem.

I just tested in SeaMonkey and Sound is Back! on UTube or Flash
or whatever it is that is different than mplayer....

So, it's my mozilla settings that are wrong!
Why does it work after re-boot though?

What would mozilla like to see as a Flash setting? Am I barking up the right tree?

At least I have figured out a work around...

Comments welcome

BTW: This wasn't intended to be a CKUA plug, but what the heck!
It's a great station!
 
Old 05-16-2007, 08:04 PM   #5
JockVSJock
Member
 
Registered: Jan 2004
Posts: 602

Rep: Reputation: 31
I've noticed the same problem on my system:

-Slackware 11.0
-2.6 kernel

When I'm listening to streaming audio and say want to watch something from youtube/google video, there won't be any video sound. If I kill say XMMS and then restart the browser, and try to watch something from youtube/google video, then there is
sound.


thanks
 
Old 05-21-2007, 12:41 AM   #6
shinycisco
LQ Newbie
 
Registered: Aug 2003
Location: California
Distribution: Suse, Ubuntu, PCLinuxOS
Posts: 28

Rep: Reputation: 15
pclinuxos with KDE has the same problem, any ideas?

tia
 
Old 05-21-2007, 03:23 AM   #7
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Have you tried installing alsa-oss? There appears to be something of a bug in the Linux flash player that could be solved by making sure that you have oss.
 
Old 06-07-2007, 02:33 PM   #8
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Original Poster
Rep: Reputation: 36
That appears to have worked! I have sound now; and seeing as it's working at this minute I don't feel like trying to break it. Will post if/when it does ;-)
 
  


Reply


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
any way to stream youtube videos directly with mplayer ?? alred General 3 11-03-2006 02:44 AM
Youtube.com = no sound Micro420 Ubuntu 6 07-21-2006 12:53 AM
I can't hear Youtube anatman Linux - Newbie 5 06-09-2006 03:49 PM
sound card configured. can hear testsound. cant hear cd's tdr_nj Red Hat 2 04-19-2004 09:36 PM
Canít hear sound after running Sound Config Al Bundy Linux - General 27 07-31-2003 05:38 AM


All times are GMT -5. The time now is 03:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration