You are not logged in.
Pages: 1
I noticed a problem with certain video files where speech volume component is just too low. I googled a bit and it seems that the problem is that it tries to play surround sound on stereo speakers and it fails to blend everything in as it should. If I play the same video in mplayer, everything is normal.
Does anyone else have the same problem? Anyone know how to fix this?
I tried changing the output module in vlc audio settings, but the problem would remain no matter what I chose.
Thanks
Last edited by pootzko (2011-10-28 19:30:00)
...I put on my robe and a wizard hat...
Offline
Use downmix_51to20 in my ~/.asoundrc
Offline
I had the same problem, found a different stanza for .asoundrc but it didn't work. Kaffeine, however, did so I used that for a while. Will now try downmix - thanks
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
Use downmix_51to20 in my ~/.asoundrc
Should I just put this:
pcm.downmix_51to20 {
# From http://www.halfgaar.net/surround-sound-in-linux
type route
#slave.pcm "default"
slave.pcm "dmixed"
# Front and rear, at 33% of original signal strength
ttable.0.0 0.33
ttable.1.1 0.33
ttable.2.0 0.33
ttable.3.1 0.33
# Center channel routing (routed to front-left and front-right),
# 6dB gaindrop (gain half of main channels) per channel
ttable.4.0 0.16
ttable.4.1 0.16
# LFE channel routing (routed to front-left and front-right),
# 6dB gaindrop (gain half of main channels) per channel
ttable.5.0 0.16
ttable.5.1 0.16
}
into my .asoundrc (I didn't have one before, I just created it in my home directory), or do I need to put anything else into my asoundrc?
Last edited by pootzko (2011-10-30 08:47:43)
...I put on my robe and a wizard hat...
Offline
That is my understanding. I just copied that as well.
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
If you're gonna do that, switch the commented slave.pcm line to be the "dmixed" line.
Test with:
speaker-test -D downmix_51to20 -c 6 -t wav
Offline
this is what I get:
$ speaker-test -D downmix_51to20 -c 6 -t wav
speaker-test 1.0.24.2
Playback device is downmix_51to20
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM dmixed
Playback open error: -2,No such file or directory
I don't get it which file am I missing? hm..
Last edited by pootzko (2011-10-30 11:09:01)
...I put on my robe and a wizard hat...
Offline
I was kinda hoping this would be blatantly obvious to everyone:
slave.pcm "default"
A hash at the start of the line means it's a commented line, and doesn't take effect.
Offline
aaah, ok. sorry.. I know what hashes are for, but how I read it, I thought you wanted the default one to be commented out, and dmixed to be active, which was strange to me because it was already like that.. now when I read your post more carefully, I see what you meant. sorry for that, and thank you for your patience.
this is what I get now:
$ speaker-test -D downmix_51to20 -c 6 -t wav
speaker-test 1.0.24.2
Playback device is downmix_51to20
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Broken configuration for playback: no configurations available: Invalid argument
Setting of hwparams failed: Invalid argument
...I put on my robe and a wizard hat...
Offline
Have you got other stuff in your ~/.asoundrc? Messed around with pcm.!default, for example? Show your full file.
Also, try adding plug: like so:
speaker-test -D plug:downmix_51to20 -c 6 -t wav
Offline
my full asoundrc is just your downmix_51to20 function and nothing else
pcm.downmix_51to20 {
# From http://www.halfgaar.net/surround-sound-in-linux
type route
slave.pcm "default"
#slave.pcm "dmixed"
# Front and rear, at 33% of original signal strength
ttable.0.0 0.33
ttable.1.1 0.33
ttable.2.0 0.33
ttable.3.1 0.33
# Center channel routing (routed to front-left and front-right),
# 6dB gaindrop (gain half of main channels) per channel
ttable.4.0 0.16
ttable.4.1 0.16
# LFE channel routing (routed to front-left and front-right),
# 6dB gaindrop (gain half of main channels) per channel
ttable.5.0 0.16
ttable.5.1 0.16
}
with plug i get this:
$ speaker-test -D plug:downmix_51to20 -c 6 -t wav
speaker-test 1.0.24.2
Playback device is plug:downmix_51to20
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
Broken configuration for playback: no configurations available: Invalid argument
Setting of hwparams failed: Invalid argument
Last edited by pootzko (2011-10-31 15:26:09)
...I put on my robe and a wizard hat...
Offline
#slave.pcm "default"
slave.pcm "dmixed"
Shirley you can't be serious. I just told ya!!
If you haven't defined "dmixed", then don't try to use it. It's - that - simple.
Offline
sorry, I just copied the one from my previous post.. forgot that I changed it after you told me to set it to "default". so it is set to "default" atm.
...I put on my robe and a wizard hat...
Offline
Pages: 1