Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have done a chmod 777 on both /dev/dsp and /dev/mixer, with no luck (non-expectantly). Sound is inoperable on all file formats I've tested; which includes wmv, mpg and avi. In fact, avi files fail to even play.
Is it worth a try recompiling mplayer?
After many tries at compiling it several months ago, I gave up and ended up installing it with apt-get. Then, I decided to add essential-codecs, so I uninstalled mplayer-586 and compiled from source with no difficulties ?whatsoever?. Ever since then (I think) it has been having problems with audio. Would the codecs work if I were to install mplayer using apt-get...?
Which audio output sink are you attempting to use. For instance, aRts takes exclusive control of alsa, and as such mplayer -ao alsa foo.mp3 will fail since the alsa resource is busy. Try mplayer -ao help and then picking a different audio sink from the list that -ao help generates.
Apparently alsa was not installed on my system, so I installed it as well as its dependency, with apt-get. I also installed the alsa-module for my kernel.
Here's the options for mplayer -ao help:
mpegpes DVB audio output
oss OSS/ioctl audio output
esd EsounD audio output
nas NAS audio output
null Null audio output
pcm RAW PCM/WAVE file writer audio output
Quote:
Which audio output sink are you attempting to use.
I don't know... how do I find out?
I don't know which to select. Should aRts be available in the list?
[ edit ]
One other thing to point out...
I also receive the message Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts. but I don't know where the startup script is in Debian.
Odd, if you installed alsa it should now appear in the list, though oss works ok. My hunch would be to use -ao esd, though you want to make sure esound is al ready started before attempting to use it. If it works you can make the changes permanent in ~/.mplayer/config
How do I make sure esound is started?
Whenever I try to select a specific audio output, it lists off mplayer's basic options and keys for some reason. Therefore, I've just added ao=esd to mplayer's config file. Will this work the same as doing it from the command line?
perhaps there was some confusion, mplayer -ao esd dosn't actually do anything. You would have to do mplayer -ao esd foo.mp3. I'm not sure, you on debian, on my computer esound has an init script, but you can start it from the command line by typing esd. Also, some programs can start it automatically.
You might want to check your init scripts for something that looks like esd, and if its not there, you could always write your own and add it to the default runlevel. Glad you got it working though.
Sorry to revive this thread (as it is now unrelated to my difficulties with mplayer) but I am now not receiving any sound whatsoever from vlc, mplayer and totem. Also, when I do a dmesg | grep audio, nothing in returned. My system was shutdown due to a power outage and now my soundcard is apparently going undetected.
However, lspci reveals my audio controller just fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.