[MPlayer-users] Not able to hear sound on Solaris when Mplayer is used

Narendra Kumar S.S ssnkumar at gmail.com
Fri Aug 17 09:02:26 CEST 2007


Hi,

       I have mplayer installed on Solaris-10 on AMD-64 Opteron box.

       I am trying to play a ".wmv" file using mplayer.
       I am able to see the video, but there is no sound.
       When I play the same file using gmplayer, I am able to hear the
sound.

       If I use the option "mplayer -ao sun <.wmv>", I am able to hear
sound.
       But, when I become super-user and execute mplayer, I don't have to
give any option. It plays the file without any problem.

       Here is the screen dump (when I am seeing the problem):
googol:~> mplayer /temp/Afternoons_in_offices.wmv
MPlayer 1.0pre7try2-3.4.3 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Opteron Sledgehammer (Family: 8, Stepping: 10)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2



parse error at line 1861
parse error at line 1861
Playing /temp/Afternoons_in_offices.wmv.
ASF file format detected.
VIDEO:  [WMV3]  320x240  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 name:
 author:
 copyright:
 comments:
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->176400)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local
display)
==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0   size:230400  align:1
StreamCount r=0x0  1  1
Decoder supports the following YUV formats: YV12 YUY2 UYVY YVYU
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 320 x 240 (preferred csp: Packed YUY2)
VDec: using BGRA as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 320x240 => 320x240 BGRA
SwScaler: using unscaled BGRA -> BGRA special converter
Selected video codec: [wmv9dmo] vfm:dmo (Windows Media Video 9 DMO)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
/dev/dsp: No such file or directory
[AO ESD] esd_open_sound failed: Connection refused
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...
V:  29.4 764/764  6%  1%  0.0% 0 0

Exiting... (End of file)
googol:~>

       Can somebody please throw more light on this and solve the problem?

-- 
Warm Regards,
Narendra

Visit my blogs at:
http://ssnarendrakumar.blogspot.com/
   ___    ___    __    _
  /  __/  /  __/  /     | / /
_\   \   _ \   \   /   /| |/ /
\___/ \___/   /_/ |__/



More information about the MPlayer-users mailing list