Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-17-2007, 10:45 PM   #1
Registered: Sep 2003
Location: Canada
Distribution: Fedora 25
Posts: 338

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 06:54 PM.
Old 02-17-2007, 11:11 PM   #2
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, 11:11 PM   #3
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 210Reputation: 210Reputation: 210
You could just kill the sound server, it should automatically restart when you access a function that requires sound.
Old 02-19-2007, 05:32 PM   #4
Registered: Sep 2003
Location: Canada
Distribution: Fedora 25
Posts: 338

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:
MPlayer 1.0pre7-4.0.0 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Resolving for AF_INET...
Connecting to server[]:1755 ...
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:
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, 09:04 PM   #5
Senior Member
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,226
Blog Entries: 4

Rep: Reputation: 132Reputation: 132
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

Old 05-21-2007, 01:41 AM   #6
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?

Old 05-21-2007, 04:23 AM   #7
LQ 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, 03:33 PM   #8
Registered: Sep 2003
Location: Canada
Distribution: Fedora 25
Posts: 338

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 ;-)


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 6 03-26-2016 06:00 AM = no sound Micro420 Ubuntu 6 07-21-2006 01:53 AM
I can't hear Youtube anatman Linux - Newbie 5 06-09-2006 04:49 PM
sound card configured. can hear testsound. cant hear cd's tdr_nj Red Hat 2 04-19-2004 10:36 PM
Canít hear sound after running Sound Config Al Bundy Linux - General 27 07-31-2003 06:38 AM > Forums > Linux Forums > Linux - Software

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

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