LinuxQuestions.org
Help answer threads with 0 replies.
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 05-04-2005, 12:06 PM   #1
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
Mplayer stopped playing my mp3s


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.
 
Old 05-04-2005, 01:56 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
alsa5? do

mplayer -ao help

to see your options. probably just mplayer -ao alsa etc.....
 
Old 05-04-2005, 02:13 PM   #3
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
did you check your volume control(pcm, pcm2 , master volume).
 
Old 05-04-2005, 02:36 PM   #4
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
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.
 
Old 05-05-2005, 11:50 AM   #5
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
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....

[root@localhost jeff]# /sbin/lsmod
Module Size Used by
snd_pcm_oss 40740 0
snd_mixer_oss 13824 3 snd_pcm_oss
snd_ens1371 17120 3
snd_rawmidi 17184 1 snd_ens1371
snd_seq_device 6152 1 snd_rawmidi
snd_pcm 68872 2 snd_pcm_oss,snd_ens1371
snd_page_alloc 7940 1 snd_pcm
snd_timer 17156 1 snd_pcm
snd_ac97_codec 50436 1 snd_ens1371
snd 38372 10 snd_pcm_oss,snd_mixer_oss,snd_ens1371,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer,snd_ac97_codec
gameport 3328 1 snd_ens1371
soundcore 6112 3 snd
parport_pc 19392 1
lp 8236 0
parport 29640 2 parport_pc,lp
autofs4 10624 0
sunrpc 101064 1
8139too 17792 0
mii 3584 1 8139too
ipt_REJECT 4736 1
ipt_state 1536 7
ip_conntrack 24968 1 ipt_state
iptable_filter 2048 1
ip_tables 13440 3 ipt_REJECT,ipt_state,iptable_filter
sg 27552 0
scsi_mod 91344 1 sg
binfmt_misc 7176 1
vfat 10496 0
fat 33472 1 vfat
floppy 47440 0
joydev 6976 0
dm_mod 33184 0
uhci_hcd 23708 0
button 4504 0
battery 6924 0
asus_acpi 8472 0
ac 3340 0
ipv6 184288 8
ext3 102376 2
jbd 40216 1 ext3

... 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.
 
Old 05-21-2005, 01:16 AM   #6
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
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.
 
Old 05-26-2005, 12:01 PM   #7
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
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.
 
Old 05-26-2005, 12:47 PM   #8
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
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.
 
  


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
No Sound When Playing MP3s? JockVSJock Ubuntu 4 06-27-2005 12:17 PM
hearing KDE sounds while playing mp3s in xmms or mplayer mihai451 Linux - Newbie 10 03-31-2005 02:07 AM
Playing mp3s dangerousdave Linux - Newbie 4 02-14-2005 01:00 PM
playing mp3s pcdebb Linux - Newbie 12 12-03-2003 09:36 AM
playing mp3s over a network thinguy10 Linux - Networking 2 01-12-2002 06:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:48 AM.

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