Videos don't have sound
Hey everybody.
I installed Slackware and I've really liked it, but I have had some problems with sound, specially in videos. Initially it was with mp3s, but I installed "gst-plugins-ugly" and now it's working fine. nevertheless, sound in videos (you tube and downloaded ones(mp4)) still doesn't work; It's really strange since mp3 work and system sound work too. *I already instaled ALSA. |
So your video player's sound output is getting directed to the wrong place.
What player do you use? |
Quote:
I use Mplayer and sometimes Kplayer, but nither of the installed players work anyway. |
If you have a Video Card with an HDMI output (most cards these days), make sure your video player is not sending sound to HDMI by default. This drove me nuts on my Nvidia GT430 so that I just blacklisted the Alsa nvidia HDMI modules. Also, KDE can be tricky in how you tell phonon to route sound from Alsa and which "hardware" device.
These CLI commands are your best friends for audio troubleshooting: alsamixer aplay speaker-test |
Quote:
When i wrote speaker-test, I got this: Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise ALSA lib pcm_hw.c:1741: (_snd_pcm_hw_open) Unknown field slave Playback open error: -22,Argumento inválido (Invalid Argument) Last two lines seem to tell there's a problem. |
I have the same thing and multiple cards and I had to point alsa to the card I wanted to use. hope this helps.
|
Quote:
|
sure open a terminal and type alsamxer that will be your default card. that is what it placed it as. and if that is not the card you want as default then we go on to other things to do. in alsamixer press F6 to see all your devices. http://alsa.opensrc.org/Alsamixer
or you can also as root use this cat /proc/asound/cards Quote:
so I finally just edited my /etc/modprobe.d/sound.conf Quote:
that's what matters. This tells alsa what slot to use for the first second third device after that all the other sound devices load after them. Note the do not edit yes well ok I do edit it. Learned it from Alsa manual. |
Quote:
Quote:
I'm begging to think it has something to do with the drivers, 'cause Amarok reproduces MP3 correctly, but xmms tells me to check if my soundcard is configured or if the output plugin is the right one or if a program is locking the soundcard. And Audacious gives this error Quote:
but in Kinfo center they all appear anyway: Quote:
|
Sometimes I have a similar problem with SMPlayer, a different frontend for MPlayer. I usually resolve it by deleting ~/.config/smplayer.
|
Quote:
Code:
asus-gentoo ~ # lspci -vv|grep Audio |
Quote:
lspci shows: Quote:
|
Code:
nano /etc/modprobe.d/alsa-base.conf Code:
options snd-hda-intel model=generic Code:
options snd-hda-intel index=0 |
Quote:
this problem is kinda' weird |
I was seeing the audio configuration in Amarok, and i saw that phonon is in charge of managing audio devices, it detects a lot, but the only one that works is HDA Intel PCH (92HD91BXX Analog) there are also the HDMI ones but they don't sound, I imagine they do when a wire pluged. The rest have error messages, except hw:0,3 it doesn't show any error messages, but simply doesn't sound, yesterday it did, I don't know what hapenned. the fact is that when the mouse pinter stands still over the HDA Intel PCH (92HD91BXX Analog) it says that it has two devices "in it"
Quote:
I don't know if this can help somehow. |
All times are GMT -5. The time now is 08:09 AM. |