[MPlayer-users] SDL/aRts audio driver fails

brep068gw001 at sneakemail.com brep068gw001 at sneakemail.com
Wed May 15 16:39:02 CEST 2002


I have more info to add to this:

It's strange that 'artsdsp mplayer -ao oss FoodRace2.avi' doesn't work,
because I can run 'artsdsp play xyz.wav' and that works perfectly. 
Since mplayer thinks my sound device is busy when I run it through
artsdsp, my guess is that mplayer is bypassing artsdsp's sound
redirection and still trying to use the real OSS device directly.

I tried running ESD and then 'mplayer -ao sdl:esd FoodRace2.avi,' and
that works fine.  Also, 'mplayer -ao sdl:oss FoodRace2.avi' works fine
when I have no sound server running, and same with 'mplayer -ao oss
FoodRace2.avi'.  It seems that the only problem is with '-ao sdl:arts'.

I've also tried enabling network transparency in the aRts server then
trying mplayer, but it makes no difference.

Has anyone else had such problems with aRts before?  I searched the list
archives and couldn't find anyone who had a similar problem.

Thanks for any help you can give me.

Paul

On Tue, 2002-05-14 at 18:38, Paul wrote:
> Hello,
> 
> I've been trying to get mplayer to use my aRts sound server to play
> audio, but I've had no success.
> 
> I compiled mplayer with SDL sound support (which was autodetected in
> the ./configure step).  I also have the SDL libraries with aRts sound
> support compiled (running Debian Unstable with the libsdl1.2debian-all
> package installed, which supports oss, esound, alsa, and arts).  My
> aRts audio server works beautifully in KDE.
> 
> When I try to play a video that has sound and I use the '-ao sdl:arts'
> option, this is the output from mplayer:
> 
> [paul at paul:videos]$ mplayer -ao sdl:arts FoodRace2.avi 
> 
> 
> MPlayer 0.90pre4-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
> 
> CPU vendor name: AuthenticAMD  max cpuid level: 1
> CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
> extended cpuid-level: 6
> CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
> Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
> vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":0.0" => local display)
> Reading /home/paul/.mplayer/codecs.conf: can't open '/home/paul/.mplayer/codecs.conf': No such file or directory
> Reading /home/paul/local/share/mplayer/codecs.conf: 34 audio & 92 video codecs
> font: can't open file: /home/paul/.mplayer/font/font.desc
> font: can't open file: /home/paul/local/share/mplayer/font/font.desc
> Linux RTC init error: Permission denied
> Using usleep() timing
> Can't open input config file /home/paul/.mplayer/input.conf : No such file or directory
> Falling back on default (hardcoded) config
> SKIN dir 1: '/home/paul/.mplayer/Skin'
> SKIN dir 2: '/home/paul/local/share/mplayer/Skin'
> Playing FoodRace2.avi
> Detected AVI file format!
> MainAVIHeader.dwFlags: (2064) HAS_INDEX TRUST_CKTYPE
> VIDEO:  [DIVX]  320x216  24bpp  24.00 fps  555.1 kbps (67.8 kbyte/s)
> [V] filefmt:3  fourcc:0x58564944  size:320x216  fps:24.00  ftime:=0.0417
> Detected audio codec: [pcm] drv:2 (Uncompressed PCM)
> Selecting Audio Decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: srate=22050  chans=1  bps=2  sfmt=0x10  ratio: 44100->44100
> ==========================================================================
> Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
> libavcodec: CPU flags: mmx mmxext 3dnow
> Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg MPEG-4)
> ==========================================================================
> AO: [sdl] 22050Hz Mono Signed 16-bit (Little-Endian)
> SDL: Samplerate: 22050Hz Channels: Mono Format Signed 16-bit (Little-Endian)
> SDL: using arts audio driver
> SDL: Unable to open audio: No available audio device
> couldn't open/init audio device -> NOSOUND
> Audio: no sound!!!
> Start playing...
> looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
> VDec: vo config request - 320 x 216, Planar YV12  
> [PP] Sorry, postprocessing is not available
> Movie-Aspect is undefined - no prescaling applied.
> VO: [xv] 320x216 => 320x216 Planar YV12 
> Disabling DPMS
> stat: 1
> *** [vo] Exporting mp_image_t, 320x216x12bpp YUV planar, 103680 bytes
> V:   3.2   79   5%  4%  0.0% 0 0 0%
> ...
> 
> 
> I have also tried playing my video through artsdsp (after reading
> the list archives), but when I try that I get the error message "Can't
> open audio device /dev/dsp: Device or resource busy  -> no sound".
> 
> If anyone has any insight on either of these problems, I'd love to
> hear it.  Or if you need more information from me, I'll be happy to
> provide it.
> 
> Thanks,
> 
> Paul Hoepfner-Homme
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
> 
> 





More information about the MPlayer-users mailing list