LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-25-2004, 02:36 PM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Rep: Reputation: 68
No Sound in Mplayer


FC3
No sound when running Mplayer , video is great
/system settings/sound card detection Test sound , No Sound
I can play music CD's, Sound is great.
Kmix settings are turned up.
There appears to be a big problem with the snd-via82xx module in Linux.
The module is loading at bootup.

My /etc/modprobe.conf file ;

alias snd-card-0 snd-via82xx
options snd-card-0 index=0
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx

Anybody got any ideals

Thanks
jim
 
Old 11-25-2004, 03:13 PM   #2
slyman
Member
 
Registered: Jun 2004
Location: Sydney, Australia
Distribution: FC3, Linux From Scratch, Knoppix
Posts: 99

Rep: Reputation: 15
I had the same problem (MPlayer, FC3 and snd-via82xx).

Look in mplayer.conf (in /etc/mplayer - I think... at work so can't check) and uncomment and change:

ao=oss

If that doesn't work, try ao=alsa etc etc etc
 
Old 11-25-2004, 03:35 PM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
Well , what's weird is that there are no files at all in /etc/mplayer folder.
Something did not install right.
But I can get video in mplayerplugin. and there is a /etc/mplayerplugin.conf file
What are all the files that makes up a mplayer install, I must have not installed
everything.
Jim

Last edited by mickeyboa; 11-25-2004 at 03:38 PM.
 
Old 11-25-2004, 03:59 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
/etc/mplayer is not used as standard. only mplayer.conf is normally in /etc/

the drivers you have loaded there are alsa drivers, and afaik mplayer's default is still oss.
Code:
mplayer blah.avi -ao alsa
if that fails, check what audio options you actaully have:
Code:
mplayer -ao help
 
Old 11-25-2004, 05:14 PM   #5
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
I have got to be missing some mplayer files that are not installed.
The files that I have installed are;

FC3

mplayer-2.0-0.12.20041025.1.fc3.rf.i386.rpm
mplayer-fonts-1.1-2.0.rf.noarch.rpm
mplayer-skins-1.6-1.0.rf.noarch.rpm
mplayerplug-in-2.70-2.1.fc3.rf.i386.rpm

Have I forgotten install correctly.
everytime they come out with a new update the name of the files change.

Thaks much
Jim
 
Old 11-25-2004, 05:57 PM   #6
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
I forgot to mention I do not have a /etc/mplayer.conf.
I do have a /etc/mplayerplug-in.conf.
But right now I can not get a movie to load and play from firefox, it goes through the buffering
stage and then justs stops and no video.

Thanks
Jim
 
Old 11-26-2004, 04:45 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well one thing at a time. forget the plugin. get mplayer working right. also forget about config files.. just look at the command line stuff i've already been over.
 
Old 11-26-2004, 07:10 AM   #8
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
well ,Chris with your help I did get the souud working and part of it was the settings in config
files and a number of other things I don't remember.
Fedora will never b ready for prime time unless they get the sound and cdrom writing issue
staighten out.
Thank you very much.

Jim
 
Old 11-26-2004, 07:35 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
fedora isn't intended for prime time, it's a community development project. ;-)
 
Old 11-26-2004, 10:43 AM   #10
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
Before rebooting box mplayer worked great, but after rebooting ,no sound in mplayer.
Sound test in /system setting works okay.
Puzzeled !!

jim
 
Old 11-27-2004, 04:17 PM   #11
Redbone981sl
Member
 
Registered: Jul 2003
Posts: 73

Rep: Reputation: 15
run mplayer from the terminal, go to a web site, copy the link, then go to the terminal and type mplayer then paste the link. It will either run or give you reason why it did'nt run.
 
Old 11-28-2004, 07:56 AM   #12
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
I think I have "Fingered" this out , After I reboot this is when I would loose the sound.
Kristtijan under another post, "Alsamixer Saving Issues" on this forum, came up with this fix and
I tryed it, and It appears to work.
But I have one question, How would this allow for the other sound severs, or is this just a problem with alsa ?

Jim

-------------------------------------------------------------------------------------------------------------------------------------------------------------

just to update this for future references, I have manages to solve this issue.

The command alsactl restore needs to be issued for the alsamixer settings to go back to their previously stored state. My first attempt to rectify this problem was to place the command in rc.local. This did not work, and managed to find out later that KDE must be loading it's own mixer settings or something.

To get around this problem, I just put a bash script to execute when KDE loads. For anyone else having this issue, place this in you're ~/.kde/Autostart folder.

code:

#!/bin/sh

/sbin/alsactl restore



Then chmod +x <filename> and you should be good to go once KDE is restarted.

-Kristijan
 
  


Reply



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
Mplayer sound error: "Could not open/initialize audio device -> no sound" GTBlackwell Linux - Software 9 06-11-2008 02:23 PM
No sound in mplayer or mplayer firefox plugin case1984 Linux - Newbie 1 01-21-2005 12:58 AM
mplayer sound error? I have sound! necbrownie Slackware 4 01-13-2005 04:36 AM
MPlayer / Mplayer Plugin no Sound apjonesy Linux - Software 5 08-06-2004 04:27 AM
Mplayer sound gazza Linux - Newbie 1 10-27-2003 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:16 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