Page 1 of 1

mplayer sound is low

Posted: Fri Aug 27, 2010 9:50 pm
by Anonymo
Using Archlinux and SMPlayer. When sound is set to 5.1, the volume is really low. If set to stereo, it's better.
This is my mplayer .config

Sound is fine in VLC

Code: Select all

[default]
# Write your default config options here!

#======
# Video
#======

# Set video driver.
vo=gl_nosw

# Use double-buffering. (Recommended for xv with SUB/OSD usage)
double=yes

#======
# Audio
#======

# Set audio driver.
ao=oss

# Set mixer channel
mixer-channel=Master

# Ajust volume differences. *
a52drc=1

# Fix A/V sync problems. *
mc=0.2
autosync=30


#==========
# Subtitles
#==========

# VobSubs
#========

# Align subs. (-1: as they want to align themselves)
spualign=-1

# Anti-alias subs. (4: best and slowest)
spuaa=4

# Set language.
slang=fi,fin,en,eng

# Text-based subtitles
#=====================

# Find subtitle files. (1: load all subs containing movie name)
sub-fuzziness=1

# Set font.
font=/home/osmo/.fonts/microsoft/vista/Calibri.ttf

# Set font encoding.
subfont-encoding=unicode

# Set subtitle file encoding.
unicode=yes
utf8=yes

# Resample the font alphamap. (1: narrow black outline)
ffactor=1

# Set subtitle position. (100: as low as possible)
subpos=100

# Set subtitle alignment at its position. (2: bottom)
subalign=2

# Set font size. (2: proportional to movie width)
subfont-autoscale=2

# Set font blur radius. (default: 2)
subfont-blur=2.0

# Set font outline thickness. (default: 2)
subfont-outline=2.0

# Set autoscale coefficient. (default: 5)
subfont-text-scale=4.4

# OSD
#====

# Set autoscale coefficient. (default: 6)
subfont-osd-scale=4.4

#===========
# Appearance
#===========

# Disable screensaver.
stop-xscreensaver=yes

# Position window. (50%:50%: center of screen)
geometry=50%:50%

Re: mplayer sound is low

Posted: Sat Aug 28, 2010 10:13 am
by cesium
Can you paste 'ossmix -a' output?

Re: mplayer sound is low

Posted: Sat Aug 28, 2010 7:12 pm
by Anonymo
cesium wrote:Can you paste 'ossmix -a' output?


Code: Select all

[raul@Arrakis ~]$ ossmix -a
Selected mixer 0/Sound Blaster X-Fi (SB046x/067x/076x)
Known controls are:
play [<leftvol>:<rightvol>] (currently 14.4:14.4 dB)
rec [<leftvol>:<rightvol>] (currently 14.4:14.4 dB)
recsrc <mic|line|video|aux|none> (currently line)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 96000) (Read-only)
vmix0-src <Fast|High|OFF> (currently High)
vmix0-outvol <monovol> (currently 25.0 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm2 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("npviewer.bin")
vmix0.pcm3 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm5 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)

Selected mixer 1/USB sound device
Known controls are:
SNDCTL_MIX_READ(onoff): Broken pipe
rec.mute1 ON|OFF (currently ON)
SNDCTL_MIX_READ(mono2): Broken pipe
rec.vol <monovol> (currently -1)
SNDCTL_MIX_READ(onoff): Broken pipe
rec.agc ON|OFF (currently ON)
SNDCTL_MIX_READ(onoff): Broken pipe
rec.mute2 ON|OFF (currently ON)
rec-altset <OFF|1|2> (currently 1)


Thanks for the help cesium. I been troubleshooting and went to the extreme and booted into Windows :P

I installed mplayer and it seems to be really low sound as well. Might be an mplayer problem.

Re: mplayer sound is low

Posted: Sun Aug 29, 2010 4:30 am
by cesium
The oss_sbxfi driver doesn't support 5.1.... So it's not surprising it doesn't work right. Probably you should keep it at stereo?

Re: mplayer sound is low

Posted: Mon Sep 06, 2010 3:19 am
by Anonymo
cesium wrote:The oss_sbxfi driver doesn't support 5.1.... So it's not surprising it doesn't work right. Probably you should keep it at stereo?


For most video, I can hear sound in all the speakers. Just certain mpegs don't work.

Re: mplayer sound is low

Posted: Mon Sep 06, 2010 12:49 pm
by cesium
If so, than it sounds like mplayer issue... What happens if you use "mplayer -af channels=6"?

Re: mplayer sound is low

Posted: Tue Sep 07, 2010 11:27 pm
by Anonymo
cesium wrote:If so, than it sounds like mplayer issue... What happens if you use "mplayer -af channels=6"?


Still no sound.