[MPlayer-users] mplayer can't open/init audio device -> no sound

chojin at chojin.info chojin at chojin.info
Wed Oct 23 19:46:02 CEST 2002


Selon gabor <gabor at realtime.sk>:  
  
> On Wed, 2002-10-23 at 14:38, Zdenek Pizl wrote:  
> > [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]  
> > On Tuesday 22 October 2002 20:38, Marcin Bukat wrote:  
> > > > a temporary workaround could be:  
> > > > 	a. 'killall artsd' :-)  
> > > > 	b. start mplayer with soundwrapper..... for example  
"soundwrapper  
> > > > mplayer -ao oss my.avi", but i haven't tried it  
> > >  
> > > Command like /opt/kde/bin/artsdsp mplayer -ao oss my.avi fails 'cause it  
> > > seems  
> > > that Mplayer sends sound directly to /dev/dsp  
> > > killall artsd might been a solution but it is unconfortable to kill and  
> > > restart daemon enytime someone want watch movie.  
> >   
> > strange thing - I've tested it again yesterday evening and sometimes it  
> works,   
> > sometimes not. Hmmm, i changed nothing in configs and I cannot reproduce  
it  
>   
> > on demand :(  
>   
> try harder :-)  
>   
> are there other sound-applications running that time?  
> whatabout ( i don't know if it's possible ):  
> 	shutdown kde and go to the console,  
>   
> start artsd manually  
> try to "watch" a movie without video:  
> mplayer -ao arts -vo null my.avi  
  
Hello,  
  
I have a problem too under FreeBSD4.7/X4.1.2/KDE3.0.4 when I run mplayer -vo 
sdl -ao arts my.avi it says:  
MPlayer 0.90pre8-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS) 
 
CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 4) 
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0 
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx 
 
Reading /home/chojin/.mplayer/codecs.conf: 38 audio & 106 video codecs 
Font /home/chojin/.mplayer/font/font.desc loaded successfully! (206 chars) 
Using usleep() timing 
Input config file /home/chojin/.mplayer/input.conf parsed : 50 binds 
 
Playing /mnt/my.avi 
Cache fill:  0.00% (0 bytes)    Detected AVI file format! 
VIDEO:  [DIV3]  320x240  24bpp  23.98 fps  387.3 kbps (47.3 kbyte/s) 
========================================================================== 
Detected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3) 
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 
AUDIO: 12000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 4000->48000 (32.0 kbit) 
========================================================================== 
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family 
Detected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3)) 
======================================================================== 
AO: [arts] 12000Hz 2ch Signed 16-bit (Little-Endian) 
AO: [arts] Connected to sound server 
AO: [arts] Stream opened 
AO: [arts] buffer size: 20480 
AO: [arts] packet size: 2048 
Start playing... 
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12) 
VDec: using Planar YV12 as output csp (no 0) 
Movie-Aspect is undefined - no prescaling applied. 
VO: [sdl] 320x240 => 320x240 Planar YV12 
SDL: Using driver: x11 
X Error of failed request:  BadAccess (attempt to access private resource 
denied) 
  Major opcode of failed request:  148 (MIT-SHM) 
  Minor opcode of failed request:  1 (X_ShmAttach) 
  Serial number of failed request:  20 
  Current serial number in output stream:  21 
 
But, when I run mplayer -ao arts -vo null my.avi it cannot connect to 
soundserver: 
Cache fill:  0.00% (0 bytes)    Detected AVI file format! 
VIDEO:  [DIV3]  320x240  24bpp  23.98 fps  387.3 kbps (47.3 kbyte/s) 
========================================================================== 
Detected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3) 
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 
AUDIO: 12000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 4000->48000 (32.0 kbit) 
========================================================================== 
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family 
Detected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3)) 
========================================================================== 
AO: [arts] 12000Hz 2ch Signed 16-bit (Little-Endian) 
unix_connect: can't connect to server 
(unix:/tmp/mcop-chojin/chojin-15bcf-3db6cd2f) 
tcp_connect: can't connect to server (tcp:chojin:1052) 
AO: [arts] can't connect to aRts soundserver 
couldn't open/init audio device -> no sound 
Audio: no sound!!! 
Start playing... 
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12) 
VDec: using Planar YV12 as output csp (no 0) 
Movie-Aspect is undefined - no prescaling applied. 
VO: [null] 320x240 => 320x240 Planar YV12 
V:   9.7  233   2%  0%  0.0% 0 0 94% 
  
  
--   
Chojin  




More information about the MPlayer-users mailing list