|
From: orzeh <or...@tl...> - 2006-12-30 01:22:22
|
hello
i'm using dxr3 for years, until 0.16 always everything went fine.
i've installed 0.16 on ubuntu 6.10 server with self made kernel 2.6.19
and after few problems mplayer start to works well (i'm wathing
xvid/dvix avi files frequently) with oss-emulation but i have this
communicate from mplayer:
[stdout]
[...]
[AO OSS] Can't set audio device /dev/dsp1 to s16le output, trying s16le...
[AO OSS] Can't set audio device /dev/dsp1 to s16le output, trying s16le...
[AO OSS] Can't set audio device /dev/dsp1 to s16le output, trying s16le...
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
[...]
[/stdout]
after while everything is playing well but often mplayer hangs up.
I decided to migrate from OSS to ALSA, recreated the config for mplayer
to this:
[mplayer.conf]
vo=dxr3:prebuf:sync
vf=expand=-1:-1:-1:-1:1
#ao=oss:/dev/dsp1 <---- old setting
ao=alsa:device=hw=1,0
af=resample=44100:0:0
subpos=87
#osdlevel=3 <----- BTW with this everything runs veeeery sloooow
subalign=0
sub-bg-alpha=100
sub-bg-color=25
subfont-autoscale=3
subwidth=95
subfont-outline=6
subfont-blur=6
monitoraspect=4:3
ffactor = 3
#framedrop = yes
cache = 8196
[/mplayer.conf]
here is my /proc/asound/cards
[code]
0 [V8237 ]: VIA8237 - VIA 8237
VIA 8237 with CMI9761 at 0xd000, irq 5
1 [EM8300 ]: EM8300 - Sigma Designs' EM8300
Sigma Designs' EM8300
[/code]
(i copied the EM8300.conf to /usr/share/alsa/cards)
and cannot get the audio from any avi - always i'm getting this:
[stdout]
[...]
==========================================================================
Opening audio decoder: [msadpcm] MS ADPCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 353.8 kbit/25.07% (ratio: 44229->176400)
Selected audio codec: [msadpcm] afm: msadpcm (MS ADPCM)
==========================================================================
[AO_ALSA] Format s16le is not supported by hardware, trying default.
<---- cannot find resolution about this error message
[AO_ALSA] Unable to set format: Invalid argument
Could not open/initialize audio device -> no sound.
Audio: no sound
[...]
[/stdout]
i don't have asound.conf in /etc or equivalent in home (this is
important?), for default ALSA card the audio playback is ok.
best regards!
orzeh
|