[Mplayer-users] Audio problem: it has 'wheezing' artifacts

Nick Kurshev nickols_k at mail.ru
Tue Jun 5 12:10:13 CEST 2001


On Mon, 4 Jun 2001 15:40:58 +0400 (MSD), Alex Kanavin wrote:

>My system is Celeron-266, S3 Virge/DX 2 MB, Red Hat 7.1, XFree 4.0.3.
>dmesg says the following about the soundcard:
>Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
>sb: Creative ViBRA16X PnP detected
>sb: ISAPnP reports 'Creative ViBRA16X PnP' at i/o 0x220, irq 5, dma 1, 3
>SB 4.16 detected OK (220)
>SB16: Bad or missing 16 bit DMA channel
>sb: 1 Soundblaster PnP card(s) found.
>While playing mpeg-1 files from the harddrive or VideoCDs, the sound is,
>well, hoarse. Don't know how to describe it exactly. If you've tried to
>play an audio file on PC speaker with interrupts turned on, it's quite
>like that.
At first:
Did you tuning of your Linux driver for SB16?
It seems that you have misconfigured Linux driver. 
I have Creative SB16 (Vibra 16c) PnP but my card never used dma 3 (16-bit DMA channel).
Second: by default Linux assigned 1K dma buffer for SB16.
Did you increase that (at least up to 32K)?

>-noalsa, -framedrop, -hardframedrop, -abs 1000000, hdparm -u 1, setting up
>mtrr, playing via x11 driver all don't help. -vo null does help however,
>but that's not a solution. :) The video card is fast enough and the sound
>card is ok I think, because mtvp, smpeg, and windows media player all play
>the same files and discs without a hitch. Might be a problem with mplayer.
 - if sound clicks when playing from ...

>[ak at cave ak]$ mplayer/main/mplayer -vcd 1
>Here's what it says:
>MPlayer 0.17cvs-010530-03:08  (C) 2000-2001 Arpad Gereoffy
><arpi at thot.banki.hu>
>Reading config file: /etc/mplayer.conf: No such file or directory
>Reading config file: /home/ak/.mplayer/config
>Reading /home/ak/.mplayer/codecs.conf: 15 audio & 28 video codecs
>font: can't open file: /home/ak/.mplayer/font/font.desc
>track 01:  adr=1  ctrl=4  format=2  00:02:00  mode: 0
>track 02:  adr=1  ctrl=4  format=2  00:34:02  mode: 0
>==> Found audio stream: 0
>==> Found video stream: 0
>Detected MPEG-PS file format!
>mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
>Using MMX for IDCT transform
>Using MMX for motion compensation
>VIDEO:  MPEG1  352x288  (aspect 8)  25.00 fps  1439.5 kbps (179.9 kbyte/s)
>[V] filefmt:2  fourcc:0x10000001  size:352x288  fps:25.00  ftime:=0.0400
>Found audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
>dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
>mp3lib: Processor ID: 650
>mp3lib: i586 processor detected.
>AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 28000->176400
>Found video codec: [mpeg12] drv:1 (MPEG 1 or 2)
>VO: [xv] 352x288 => 352x288  YV12
>Xvideo image format: 0x32595559 (YUY2) packed
>Xvideo image format: 0x32315659 (YV12) planar
>Xvideo image format: 0x30323449 (I420) planar
>using Xvideo port 43 for hw scaling
>[xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 352 dh: 288
>Disabling DPMS
>stat: 1
>audio_setup: sample format: 0x10  (requested: 0x10)
>audio_setup: using 44100 Hz samplerate (requested: 44100)
>audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
>Audio buffer size: 65536 bytes, delay: 0.372s
>Start playing...
>[xv] dcx: 1 dcy: 23 dx: 0 dy: 0 dw: 352 dh: 288
>A:   3.4 (   3.0)  V:   4.4  A-V: -1.271 ct: -0.224   58  19%  0% 4.9% 0
>Exiting... (Quit)
>Successfully enabled DPMS
This output requires more detail information, like:
How you build mplayer and so on.

Best regards! Nick

Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net

More information about the MPlayer-users mailing list