View previous topic :: View next topic |
Author |
Message |
mariourk l33t
Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Tue Feb 17, 2004 4:58 pm Post subject: AMD64, movies have no sound. |
|
|
I have a weird problem with playing movies. I emerged mplayer and it does play movies (divx, etc)
The weird thing is that there is no sound. When I press ' * ' (to increae the volume) the 'volume bar' stays empty. Totem has the exact same problem, the volume-bar is disbled so I can't change the volume. Mp3's and other audio files do play (xmms), so the problem is not in my soundcard.
What is wrong??
Thanks |
|
Back to top |
|
|
mariourk l33t
Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Tue Feb 17, 2004 5:20 pm Post subject: |
|
|
*UPDATE*
I also have this problem with DVD's |
|
Back to top |
|
|
crazycat l33t
Joined: 26 Aug 2003 Posts: 838 Location: Hamburg, Germany
|
Posted: Wed Feb 18, 2004 11:45 pm Post subject: |
|
|
change sound driver , try alsa or oss. |
|
Back to top |
|
|
mariourk l33t
Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Fri Feb 20, 2004 7:35 am Post subject: |
|
|
I all ready use alsa. I don't think it is in the sound driver because mp3's work fine.
It must be something with the codecs... |
|
Back to top |
|
|
scoobydu Veteran
Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Fri Feb 20, 2004 11:34 am Post subject: |
|
|
So you have alsa9 selected as the sound driver in mplayer? or are you using oss emulation from alsa? (alsa-oss or oss selected in the kernel).
What messages do you get from mplayer, when you try and play a divx? if usually gives an error saying it couldn't find the correct output, or output codec .... _________________ Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective| |
|
Back to top |
|
|
mariourk l33t
Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Fri Feb 20, 2004 12:23 pm Post subject: |
|
|
Yes, I have alsa selected as the sound-driver in xmms
Mplayer doesn't give any errors. It just starts playing the
movie without sound. Totem does the same. |
|
Back to top |
|
|
scoobydu Veteran
Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Fri Feb 20, 2004 12:37 pm Post subject: |
|
|
mariourk wrote: | Yes, I have alsa selected as the sound-driver in xmms
Mplayer doesn't give any errors. It just starts playing the
movie without sound. Totem does the same. |
Ok, and thats why xmms plays mp3's.
You have to do the same for mplayer. If you are using the gui you have to select 'audio', 'alsa9', or like this from the command line.
mplayer name.avi -ac -hwac3 -ao alsa9:spdif
or just
mplayer name.avi -ao alsa9
If you do this from the command line, mplayer will show you the status of what's playing, in the term.
>> Do you have alsa in your USE flags when compiling mplayer? I don't think alsa9 appears as a valid driver unless you do (that is unless you have alsa-oss loading). _________________ Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective| |
|
Back to top |
|
|
mariourk l33t
Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Mon Feb 23, 2004 6:57 pm Post subject: |
|
|
It seems that I have no /dev/mixer no /dev/dsp and no /dev/midi.
This is my /etc/modules.d/alsa:
Code: |
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.1 2003/08/05 21:07:55 johnm Exp $
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-emu10k1
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1
|
And this is my /etc/devfsd.conf (alsa part)
Code: |
# ALSA/OSS stuff
# Comment/change these if you want to change the permissions on
# the audio devices
LOOKUP snd MODLOAD ACTION snd
LOOKUP dsp MODLOAD
LOOKUP mixer MODLOAD
LOOKUP midi MODLOAD
REGISTER sound/.* PERMISSIONS root.audio 660
REGISTER snd/.* PERMISSIONS root.audio 660
|
Iam in the audiogroup. What can be wrong??[/b] |
|
Back to top |
|
|
scoobydu Veteran
Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Mon Feb 23, 2004 9:42 pm Post subject: |
|
|
When you are using alsa, you need to tell each application to use alsa.
OR
Otherwise you use alsa-oss (kernel 2.4) or alsa oss emulation within the alsa section of the 2.6 kernel.
Do you have this enabled in your kernel?? _________________ Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective| |
|
Back to top |
|
|
J.M.I.T. Guru
Joined: 15 Jan 2003 Posts: 481 Location: München, Germany
|
Posted: Tue Feb 24, 2004 7:23 am Post subject: |
|
|
mariourk wrote: | It seems that I have no /dev/mixer no /dev/dsp and no /dev/midi. |
the devices are in /dev/sound/* not in /dev and as long as xmms plays mp3s you can be sure that you have a /dev/sound/dsp...
so... have you tried what scoobydu suggested? does mplayer finally work with sound? _________________ Get a life...
Use at own risk... |
|
Back to top |
|
|
mariourk l33t
Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Tue Feb 24, 2004 12:39 pm Post subject: |
|
|
Yup, after enabeling those options in my kernel everything worked fine.
Thanks a lot guys! |
|
Back to top |
|
|
|