[MPlayer-users] static in sound while playing from SVCD
Dominik Mierzejewski
dominik at rangers.eu.org
Thu Mar 21 22:12:01 CET 2002
System Information
* Linux distribution or operating system:
Red Hat 7.2 (fully updated)
* kernel version:
2.4.19-pre4
* libc version:
ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1283964 gru 8 15:14 /lib/libc-2.2.4.so
lrwxrwxrwx 1 root root 13 gru 15 14:26 /lib/libc.so.6 -> libc-2.2.4.so
* X version:
X -version
XFree86 Version 4.1.0 (Red Hat Linux release: 4.1.0-15) / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.7-0.13.1smp i686 [ELF]
Build Host: stripples.devel.redhat.com
Module Loader present
* gcc and ld versions:
gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.0.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib
Thread model: posix
gcc version 3.0.4 (Red Hat Linux 7.2 3.0.4-1)
ld -v
GNU ld version 2.11.90.0.8 (with BFD 2.11.90.0.8)
* binutils version:
as --version
GNU assembler 2.11.90.0.8
Hardware & drivers
* CPU info (this works on Linux only):
cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 3
model name : AMD Duron(tm) processor
stepping : 1
cpu MHz : 700.041
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips : 1395.91
* Video card manufacturer and model, e.g.:
ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)
* Video driver type & version, e.g.:
GATOS driver
* Sound card type & driver, e.g.:
Creative SB32PnP with kernel OSS drivers
output of: mplayer -v -vcd 1
MPlayer CVS-020321-16:54-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices Duron SF Spitfire (Type: 6, Stepping: 1)
extended cpuid-level: 6
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile mplayer from sources with --disable-runtime-cpudetection
CommandLine:Reading /home/dominik/.mplayer/codecs.conf: 31 audio & 80 video codecs
get_path('font/font.desc') -> '/home/dominik/.mplayer/font/font.desc'
'-v' '-vcd' '1'
font: can't open file: /home/dominik/.mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_pie_on): Brak dostępu
Using usleep() timing
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed : 50 binds
Playing VCD track 1
track 01: adr=1 ctrl=4 format=2 00:02:00 mode: 0
VCD start byte position: 0x551B8 end: 0x31C61B1C
Cache fill: 18,18% (1524544 bytes)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for MOV
Checking for VIVO
Checking for REAL
header block 1 size: 85
system stream synced at 0xFF535 (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 0
Searching for sequence header... OK!
VIDEO: MPEG2 480x480 (aspect 2) 29,97 fps 3062,5 kbps (382,8 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:480x480 fps:29,97 ftime:=0,0334
get_path('sub/') -> '/home/dominik/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
AUDIO: srate=44100 chans=2 bps=2 sfmt=0x10 ratio: 28000->176400
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices Duron SF Spitfire (Type: 6, Stepping: 1)
extended cpuid-level: 6
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!
MPEG 1.0, Layer II, 44100 Hz 224 kbit Stereo, BPF: 731
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
==========================================================================
VDec: vo config request - 480 x 480, Planar YV12
Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.
VO: [xv] 480x480 => 640x480 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
video_out->init(480x480->640x480,flags=0,'MPlayer',0x32315659)
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
X11 opening display: :0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":0" => local display)
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 46 for hw scaling
[xv] dcx: 6 dcy: 22 dx: 0 dy: 0 dw: 641 dh: 481
Disabling DPMS
stat: 1
==========================================================================
AutoQ: setting quality to 0
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Start playing...
ao2: 44100 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
A: 0,2 V: 0,3 A-V: -0,081 ct: 0,000 1/ 1 0% 0% 0,0% 0 0 9%
user_data: len= 14 10 0E FF FF ''
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
X11 Window 6x22-640x480
X11 Window 6x22-641x481
X11 Window 6x22-641x481
X11 Window 6x22-641x481
[xv] dcx: 6 dcy: 22 dx: 0 dy: 0 dw: 641 dh: 481
A: 0,3 V: 0,3 A-V: -0,007 ct: -0,001 2/ 2 0% 0% 0,0% 0 0 9%
A: 0,3 V: 0,5 A-V: -0,139 ct: -0,004 3/ 3 0% 0% 0,0% 0 0 9%
A: 0,4 V: 0,4 A-V: -0,014 ct: -0,005 5/ 4 0% 0% 0,0% 0 0 9%
A: 0,4 V: 0,4 A-V: -0,022 ct: -0,008 6/ 5 0% 0% 0,0% 0 0 11%
A: 0,4 V: 0,6 A-V: -0,136 ct: -0,011 7/ 6 0% 0% 0,0% 0 0 12%
A: 0,5 V: 0,5 A-V: -0,017 ct: -0,013 8/ 7 0% 0% 0,0% 0 0 12%
A: 0,5 V: 0,5 A-V: -0,015 ct: -0,014 9/ 8 0% 0% 0,0% 0 0 12%
A: 0,6 V: 0,7 A-V: -0,153 ct: -0,018 11/ 9 0% 0% 0,0% 0 0 12%
A: 0,6 V: 0,6 A-V: 0,004 ct: -0,017 12/ 10 0% 0% 0,0% 0 0 16%
A: 0,7 V: 0,7 A-V: 0,002 ct: -0,017 14/ 11 0% 0% 0,0% 0 0 18%
A: 0,7 V: 0,8 A-V: -0,110 ct: -0,020 15/ 12 7% 0% 1,9% 0 0 19%
A: 0,8 V: 0,7 A-V: 0,010 ct: -0,019 16/ 13 7% 0% 1,8% 0 0 19%
A: 0,8 V: 0,8 A-V: 0,013 ct: -0,018 17/ 14 7% 0% 1,7% 0 0 19%
A: 0,8 V: 1,0 A-V: -0,130 ct: -0,021 18/ 15 7% 0% 1,7% 0 0 21%
A: 0,9 V: 0,9 A-V: 0,007 ct: -0,021 20/ 16 7% 0% 1,6% 0 0 22%
user_data: len= 14 10 0E 00 80 ''
A: 0,9 V: 0,9 A-V: -0,002 ct: -0,021 21/ 17 7% 0% 1,6% 0 0 22%
A: 1,0 V: 1,1 A-V: -0,116 ct: -0,024 22/ 18 7% 0% 1,6% 0 0 24%
A: 1,0 V: 1,0 A-V: 0,001 ct: -0,024 23/ 19 7% 0% 1,6% 0 0 24%
A: 1,0 V: 1,0 A-V: -0,001 ct: -0,024 24/ 20 7% 0% 1,5% 0 0 26%
A: 1,1 V: 1,2 A-V: -0,139 ct: -0,028 26/ 21 7% 0% 1,5% 0 0 26%
A: 1,1 V: 1,1 A-V: 0,018 ct: -0,026 27/ 22 7% 0% 1,5% 0 0 28%
A: 1,2 V: 1,2 A-V: 0,013 ct: -0,025 29/ 23 7% 0% 1,4% 0 0 28%
A: 1,2 V: 1,3 A-V: -0,102 ct: -0,028 30/ 24 7% 0% 1,4% 0 0 30%
A: 1,3 V: 1,2 A-V: 0,022 ct: -0,026 31/ 25 7% 0% 1,5% 0 0 30%
A: 1,3 V: 1,3 A-V: 0,021 ct: -0,024 32/ 26 7% 0% 1,5% 0 0 32%
A: 1,3 V: 1,5 A-V: -0,123 ct: -0,027 33/ 27 7% 0% 1,5% 0 0 32%
A: 1,4 V: 1,4 A-V: 0,006 ct: -0,026 35/ 28 7% 0% 1,4% 0 0 32%
A: 1,4 V: 1,4 A-V: 0,004 ct: -0,026 36/ 29 7% 0% 1,4% 0 0 35%
A: 1,5 V: 1,6 A-V: -0,109 ct: -0,029 37/ 30 7% 0% 1,5% 0 0 36%
A: 1,5 V: 1,5 A-V: 0,020 ct: -0,027 38/ 31 7% 0% 1,5% 0 0 36%
user_data: len= 14 10 0E 00 80 ''
[...]
A: 795,2 V: 795,3 A-V: -0,121 ct: 0,062 978/783 19% 11% 2,4% 3 0 49%
Exiting... (Quit)
*** free_stream() called ***
Successfully enabled DPMS
And now - the problem itself: I hear static (mostly in high-pitched sounds).
Changing audio codec doesn't help. Changing video output driver
doesn't help. It happens only with SVCDs (well, I only have 4 and it happens
on all of them). It doesn't happen under Windows 2000.
Right after starting mplayer with this SVCD, on a CPU usage monitor I see
high cpu usage for a few seconds, the sound becomes garbled, then it settles
down and the sound contains only a little static. Same thing happens after
any seeking.
I have enabled DMA for my CD-ROM:
hdparm -vi /dev/hdc
/dev/hdc:
HDIO_GET_MULTCOUNT failed: Invalid argument
I/O support = 3 (32-bit w/sync)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
HDIO_GET_NOWERR failed: Invalid argument
readonly = 1 (on)
readahead = 8 (on)
HDIO_GETGEO_BIG failed: Invalid argument
Model=CRD-8240B, FwRev=1.19, SerialNo=1998/03/30
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2
AdvancedPM=no
But turning it off doesn't change anything.
I also tried slowing it down to 16x and less but that only makes
things worse.
One more thing: I managed to get clear sound two times, but I did
nothing special, so I guess this was just random chance. This is
very frustrating. And I'm not so sure if this is a mplayer problem,
but I think you would know better, so here it is.
By the way, the compiler spits out lots of warnings during compilation.
I made a patch to fix some of them, mainly the trivial ones.
Interested?
Regards,
Dominik
--
"The Universe doesn't give you any points for doing things that are easy."
-- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
Dominik 'Rathann' Mierzejewski <rathann(at)rangers.eu.org>
More information about the MPlayer-users
mailing list