Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mplayer audio output
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Sat Mar 27, 2004 6:23 am    Post subject: mplayer audio output Reply with quote

Hi all
i have alsa-1.0.3 on my system and my xmms runs with it.......i tried to recompile my mplayer with
Quote:
USE="alsa" emerge mplayer
but no use and it still doesnt support alsa.
but of recent i am getting no sound in mplayer either? and it gives this pain
Quote:
audio_setup: Can't open audio device /dev/sound/dsp: No such file or directory
Could not open/initialize audio device -> no sound.
Audio: no sound


well i dont know what to do :( :( :(
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
lunarg
Guru
Guru


Joined: 07 Jan 2004
Posts: 508
Location: Peer, Belgium

PostPosted: Sat Mar 27, 2004 9:54 am    Post subject: Reply with quote

Do you have the right permissions set on your system. To have access, your user(s) need to be in the audio group.
Also, if you're running KDE, it's possible that artsd is running on your system, occupying your audio device. In that case, turn it off, or use the arts plugin for mplayer.

EDIT: you could also install alsa-oss, and use OSS emulation
_________________
Registered linux user #341804
Visit Black Manticore: http://www.blackmanticore.com/
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Sat Mar 27, 2004 11:44 am    Post subject: Reply with quote

my user is a member of "users,wheel,audio"
and i have installed the alsa-oss :? :? :? actually it so happened that i had lost my grub so i reinstalled it with the gentoo cd ,just the grub installation steps from the installation.
i dint do nything 4 the user so i think it lost perms( i also couldnt su so i had to add the wheel grp) but even now the sound isnt working.........and 4 some reason mplayer(0.92) wouldnt recompile with alsa support. :( :(
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
lunarg
Guru
Guru


Joined: 07 Jan 2004
Posts: 508
Location: Peer, Belgium

PostPosted: Sat Mar 27, 2004 12:41 pm    Post subject: Reply with quote

It might be necessary to check the permissions on /dev/sound/* as it could be that the group 'audio' no longer has access (as in the default install).

For the mplayer problem, you could try unmerging it, then remerge it. This sometimes solves strange problems like the one you have.
_________________
Registered linux user #341804
Visit Black Manticore: http://www.blackmanticore.com/
Back to top
View user's profile Send private message
tokoloshe
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2003
Posts: 116

PostPosted: Sat Mar 27, 2004 3:50 pm    Post subject: Reply with quote

type: mplayer -ao help
this command shows all available sound plugins in mplayer, check if any alsa plugin is there. If there is one, type mplayer -ao <plugin_name> <filename>
alsa by default doesn't use /dev/dsp, unless you enable oss emulation
did you enable alsa-oss emulation in /etc/modules.d/alsa??
good luck
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Sat Mar 27, 2004 6:49 pm    Post subject: Reply with quote

:cry: :cry: nothing has worked :cry: :cry:
please help!!!

/dev/sound/dsp doesnt even exist!!!!! i have used alsa-oss emulation and mplayer 0.92 isnt compiling with alsa support......what i am now thinking is installing it manually......but since the codecs are in /usr/lib/win32/ how do i compile mplayer to use that directory as default for codecs?????
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
stateq2
Apprentice
Apprentice


Joined: 11 Sep 2003
Posts: 242
Location: us

PostPosted: Sat Mar 27, 2004 6:51 pm    Post subject: Reply with quote

what kernel are you using?
_________________
unite
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Sat Mar 27, 2004 8:10 pm    Post subject: Reply with quote

Quote:
2.4.20-gentoo-r6

_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
tokoloshe
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2003
Posts: 116

PostPosted: Sat Mar 27, 2004 8:36 pm    Post subject: Reply with quote

which mplayer are you trying to emerge??
did you emerge alsa-lib?? if not, maybe you should give it a try, and then reemerge mplayer.
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Sun Mar 28, 2004 12:05 am    Post subject: Reply with quote

i have already told the version of mplayer-- 0.92.........(the latest available in portage).........and i have all the alsa installed........its working in others.......xmms and vlc namely. :cry: :cry: :cry:
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
boban
n00b
n00b


Joined: 29 Mar 2004
Posts: 1

PostPosted: Mon Apr 05, 2004 4:24 pm    Post subject: Reply with quote

edited /etc/mplayer.conf

sound is set to off dont know why, fixed it for me ...
Back to top
View user's profile Send private message
heman667
n00b
n00b


Joined: 12 Apr 2004
Posts: 1
Location: Germany

PostPosted: Mon Apr 12, 2004 4:50 pm    Post subject: Reply with quote

Hi
i had the same problem but i solved it. I merged mplayer 1.0pre3-3.3.2
now i can use the alsa-lib 1.0.3b-r2. With the old mplayer i got the same error "Could not open /dev/sound ..."

Try it :)
Back to top
View user's profile Send private message
asjapulk
n00b
n00b


Joined: 15 Apr 2004
Posts: 71

PostPosted: Thu Apr 15, 2004 11:31 am    Post subject: same problem here Reply with quote

I have the same problem.
[ebuild R ] media-video/mplayer-0.92-r1 -3dfx +3dnow +X -aalib +alsa +arts -dga -directfb -dvb -dvd +encode +esd -fbcon -ggi +gif -gnome +gtk +gtk2 +jpeg -lirc -matrox +oggvorbis +opengl +oss -samba +sdl +sse +svga +truetype +xmms +xv 0 kB
Tryed to re-emerge it too (this time with no gtk, arts & esd support as I dont need them)..still the same.

But -ao help doesnt show alsa(9) & it cant use it too. mplayer over oss works. I have 2.6.4 kernel with alsa compiled into it. other apps use alsa fine.
Maybe it's a bug in 0.92-r1 package? Can I emerge a newer version (how) or do I have to d/l sources and compile it "manually"?
Back to top
View user's profile Send private message
WingGnDm
n00b
n00b


Joined: 12 Apr 2004
Posts: 23

PostPosted: Thu Apr 15, 2004 2:25 pm    Post subject: Reply with quote

You are having the same problem from the other forum. Go to https://forums.gentoo.org/viewtopic.php?t=158936&highlight=alsa+mplayer and read my last post. Have fun guys.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum