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.
Hi. I don't know why but mplayer won't play my mp3s any longer. I tried switiching the ao driver. I normally use esd. I tried alsa, alsa5, oss, and arts. Esd, alsa, and oss will play the file but i don't hear anything. Alsa5 and arts will not even play it saying the ao device could not be initilized. here is output from both cases.
[jeff@localhost lost_and_found]$ mplayer -ao esd forget_to_remember.mp3
MPlayer 1.0pre6-3.3.3 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Playing forget_to_remember.mp3.
Audio file detected.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
[AO ESD] latency: [server: 0.28s, net: 0.00s] (adjust 0.28s)
AO: [esd] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Video: no video
Starting playback...
A: 2.3 (02.3) 1.1%
the above is with esd.
[jeff@localhost lost_and_found]$ mplayer -ao alsa5 forget_to_remember.mp3
MPlayer 1.0pre6-3.3.3 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Playing forget_to_remember.mp3.
Audio file detected.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
Exiting... (End of file)
and with alsa5. i've tried different mp3s, checked the connections of the speakers, tried with headphones. Im not too sure why this occured. Could my sound card possibily be shot? (computer is old - going on 4 years with the stock sound card) If it is possibily my sound card what test can i do to makek sure? Any help would be appreciated. Thanks in advance.
i tried all the drivers displayed from mplayer -ao help but none worked. oss seems to try playing it almost at a faster pace. mpegpes acts similar to alsa5 (was a driver mentioned in the man page for mplayer) and doesn't look like it is playing it at all. Im running fedora core 2 with the gnome desktop. The speaker/megaphone (whatever it is) icon in the lower right corner is set to the highest. I tried turing up the volume using the command line keys. Other then that icon in the lower right hand corner i don't know how to check the volume (pcm, pcm2, or master)
edit: I don't know if this is related or will help any but a few weeks ago i tried making a shell script to alert me and i tried using the echo /a (i believe that is the one that is supposed to make the beep) but it wouldn't beep.
Last edited by dr_zayus69; 05-04-2005 at 02:41 PM.
i tried using sndconfig to try to get everything working again and i get this error message
You don't seem to be running a kernel with modular sound │
│ enabled. (soundcore.o was not found in the module search path). │
│ To use sndconfig, you must be running a kernel with modular │
│ sound, such as the kernel shipped with Red Hat Linux or a 2.2 │
│ or greater kernel.
im using a 2.6 kernel. but what strikes me as odd....
... lsmod says i have snd modules. Are those not all the ones im supposed to have? i tried compiling a custom kernel so my guess is in doing that i messed up and the sound modules (correct ones) didn't get installed. would the only way to get them working is to recompile? im going to boot into my other kernels and see if i have this same issue.
edit: well that was a lost cause my other two kernels loaded but during start up kuduz rain but my keyboard was not detected so it timed out and i obviously couldn't log in with no keyboard. right now linux is not helping my blood pressure!
Last edited by dr_zayus69; 05-05-2005 at 12:06 PM.
hi. i still have not figured out why my sound won't play. i get this error when trying to loop a video with mplayer afterwhile. it might give some insight to what is wrong (but i can't tell from it)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
MPlayer interrupted by signal 11 in module: init_video_codec
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
also i was able to play an mp3 in knoppix of my usb stick so i know that it is not a defective sound card. any help would be appreciated. thanks in advance.
bump: i apologize i don't like bumping but i have gone thru the kernel howto, im going thru the sound howto right now, i've searched with google - and i still have no clue on how to get my computer to start playing sound again sans a fresh install of everything. im at my wits end.
i think i have found the most prominement clue so far. Doing tail /var/log/messages i came apon this error message
May 26 12:54:38 localhost modprobe: FATAL: Error running install command for sou nd_slot_1
the only problem is i am not entirely sure of it's meaning besides the fact that it is a red flag. any help understanding it would be apreciated. thanks in advanced.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.