[MPlayer-users] Solaris audio plays constant high pitch

Andrew Ronin arsf10 at yahoo.com
Sun May 26 10:23:02 CEST 2002


i'm running 0.90pre4 on a sun blade 1000 with solaris 5.8 sparc
compiled with gcc 3.03.

i've tried several media types, but for audio out, i only get a high
pitch flat tone. i've tried permutations of -ao sun, sdl, sdl:esd with
-vo x11, gl, gl2, sdl with the same results. i can make out a barely
audible, possibly correct audio in the background. video plays fine.

a similar problem on linux 2.2.20 was reported on the mailing list

http://www.mplayerhq.hu/pipermail/mplayer-users/2002-January/009837.html

but wasnt resolved. couldnt find anything else in the docs, faq.

on the same machine, i've built and used other apps that use audio
such as xmms, mpg123, xine (with same media) without a problem, so
i've probably done something bad here.

thanks.

------
$ mplayer -v 1 -ao sun /data/mpg/test.mpg

MPlayer 0.90pre4-3.0.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

Reading /export/home/ar/.mplayer/codecs.conf: 34 audio & 92 video codecs
CommandLine: '-v' '1' '-ao' 'sun' '/data/mpg/test.mpg'
get_path('font/font.desc') -> '/export/home/ar/.mplayer/font/font.desc'
Font /export/home/ar/.mplayer/font/font.desc loaded successfully! (206 chars)
Using Unoptimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/export/home/ar/.mplayer/input.conf'
Parsing input config file /export/home/ar/.mplayer/input.conf
Input config file /export/home/ar/.mplayer/input.conf parsed : 50 binds
Playing 1
Not an URL!
File not found: '1'
Playing /data/mpg/test.mpg
Not an URL!
File size is 442845172 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 30e730  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 30e730  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 30e730  
Checking for MOV
DEMUXER: freeing demuxer at 30e730  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 30e730  
Checking for REAL
DEMUXER: freeing demuxer at 30e730  
DEMUXER: freeing demuxer at 30e730  
DEMUXER: freeing demuxer at 30e730  
DEMUXER: freeing demuxer at 30e730  
DEMUXER: freeing demuxer at 30e730  
DEMUXER: freeing demuxer at 30e730  
system stream synced at 0x0 (11)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG1  352x288  (aspect 8)  25.00 fps  1557.5 kbps (194.7 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:352x288  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/export/home/ar/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
init layer2&3 finished, tables done
mp3lib: using generic decore!
MPEG 1.0, Layer II, 44100 Hz 128 kbit Stereo, BPF: 418
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x20  ratio: 16000->176400
==========================================================================
Opening Video Decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288, Mpeg PES  
[PP] Sorry, postprocessing is not available
vo_debug: query(Mpeg PES) returned 0x0 (i=0) 
Couldn't find matching colorspace - retrying with -vop scale...
SwScale: -1 x -1 (-1=no scaling)
vo_debug: query(Mpeg PES) returned 0x0 (i=0) 
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using mlib for IDCT transform
libmpeg2: Using mlib for motion compensation
VDec: vo config request - 352 x 288, Planar YV12  
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x401 (i=0) 
vo_debug: query(Planar I420) returned 0x0 (i=1) 
vo_debug: query(Planar IYUV) returned 0x0 (i=2) 
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
video_out->init(352x288->384x288,flags=0,'MPlayer',0x32315659)
VO: [gl2] 352x288 => 384x288 Planar YV12 
VO: Description: X11 (OpenGL) - multiple textures version
VO: Author: Arpad Gereoffy & Sven Goethel
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF G:FF00 B:FF0000)
vo: X11 running at 1920x1200 with depth 24 and 32 bits/pixel (":0" => local display)
[gl2] OpenGL Driver Information:
	vendor: Sun Microsystems, Inc.,
	renderer ZFB, VIS,
	version 1.2 Sun OpenGL 1.2.3 for Solaris
[gl2] You have an OpenGL >= 1.2 capable drivers, GOOD (16bpp and BGR is ok !)
Using mlib for colorspace transform
[gl2] YUV init OK!
[gl2] Creating 1x1 textures of size 512x512 ...
[gl2] antialiasing off
[gl2] bilinear linear
[gl2] Using image_bpp=24, image_bytes=3, isBGR=0, 
	gl_bitmap_format=GL_RGB, gl_bitmap_type=GL_UNSIGNED_BYTE, 
	gl_alignment=8, rgb_size=0 (0,0,0), a_sz=0, 
	gl_internal_format=GL_RGB8, tweaks=none
[gl2] Resize: 460x288
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
==========================================================================
AO: [sun] 44100Hz Stereo Signed 16-bit (Big-Endian)
AO: Description: Sun audio output
AO: Author: jk at tools.de
ao_sun: sample counter increment: 504
ao_sun: minimum sample counter increment per 10msec interval: 504
	using sample counter based timing code
Start playing...
user_data: len= 28  00 87 81 00 'encoded by TMPGEnc b12j'
*** [vo] Allocating mp_image_t, 352x288x12bpp YUV planar, 152064 bytes
*** [vo] Allocating mp_image_t, 352x288x12bpp YUV planar, 152064 bytes9%
*** [vo] Allocating mp_image_t, 352x288x12bpp YUV planar, 152064 bytes8%
[gl2] using slice method yuv
A:   1.9 V:   1.9 A-V:  0.005 ct: -0.035   27/ 27   9% 32%  1.8% 2 0 97%

--------------------------------------------------------------------------

$ ldd /usr/local/bin/mplayer
	libdvdread.so.2 =>	 /usr/local/lib/libdvdread.so.2
	librt.so.1 =>	 /usr/lib/librt.so.1
	libkstat.so.1 =>	 /usr/lib/libkstat.so.1
	libpthread.so.1 =>	 /usr/lib/libpthread.so.1
	libcurses.so.1 =>	 /usr/lib/libcurses.so.1
	libsocket.so.1 =>	 /usr/lib/libsocket.so.1
	libnsl.so.1 =>	 /usr/lib/libnsl.so.1
	libz.so =>	 /usr/local/lib/libz.so
	libgtk-1.2.so.0 =>	 /usr/local/lib/libgtk-1.2.so.0
	libgdk-1.2.so.0 =>	 /usr/local/lib/libgdk-1.2.so.0
	libgmodule-1.2.so.0 =>	 /usr/local/lib/libgmodule-1.2.so.0
	libglib-1.2.so.0 =>	 /usr/local/lib/libglib-1.2.so.0
	libdl.so.1 =>	 /usr/lib/libdl.so.1
	libXext.so.0 =>	 /usr/openwin/lib/libXext.so.0
	libX11.so.4 =>	 /usr/openwin/lib/libX11.so.4
	libm.so.1 =>	 /usr/lib/libm.so.1
	libpng.so.2 =>	 /usr/local/lib/libpng.so.2
	libjpeg.so.62 =>	 /usr/local/lib/libjpeg.so.62
	libGL.so.1 =>	 /usr/openwin/lib/libGL.so.1
	libmlib.so.2 =>	 /opt/SUNWmlib/lib/libmlib.so.2
	libSDL-1.2.so.0 =>	 /usr/local/lib/libSDL-1.2.so.0
	libc.so.1 =>	 /usr/lib/libc.so.1
	libgcc_s.so.1 =>	 /usr/local/lib/libgcc_s.so.1
	libaio.so.1 =>	 /usr/lib/libaio.so.1
	libmp.so.2 =>	 /usr/lib/libmp.so.2
	libdga.so.1 =>	 /usr/openwin/lib/libdga.so.1
	libXmu.so.4 =>	 /usr/openwin/lib/libXmu.so.4
	libesd.so.0 =>	 /opt/gnome-1.4/lib/libesd.so.0
	libaudiofile.so.0 =>	 /opt/gnome-1.4/lib/libaudiofile.so.0
	libresolv.so.2 =>	 /usr/lib/libresolv.so.2
	libXt.so.4 =>	 /usr/openwin/lib/libXt.so.4
	libSM.so.6 =>	 /usr/openwin/lib/libSM.so.6
	libICE.so.6 =>	 /usr/openwin/lib/libICE.so.6
	libintl.so =>	 /opt/gnome-1.4/lib/libintl.so
	libthread.so.1 =>	 /usr/lib/libthread.so.1
	/usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1

--------------------------------------------------------------------------




More information about the MPlayer-users mailing list