[MPlayer-users] MPEG-1 audio decoding; sounds bad.
Richard Thrippleton
ret28 at cam.ac.uk
Wed Jan 16 13:41:01 CET 2002
On various mpeg-1 movies I've tried playing with the latest version
(0.60, cvs build didn't compile last time I checked), the audio has come out
like it should, but with an annoying and very loud whine in the background.
I suspect this is a decoding rather than a sound card driver problem, as I
get exactly the same problems with both sdl and oss sound output. I've
attached output as appropriate. Running Linux 2.2.20 on a PPC.
Thanks in advance for any help to be offered.
Richard
--
My .sig blatant plug
http://www.srcf.ucam.org/~ret28
-------------- next part --------------
MPlayer 0.60-2.95.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
Reading /home/rt/.mplayer/codecs.conf: can't open '/home/rt/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/mplayer/codecs.conf: 26 audio & 70 video codecs
CommandLine: '-ao' 'oss' '-v' '/tmp/thematrix.mpg'
num_filenames: 1
get_path('font/font.desc') -> '/home/rt/.mplayer/font/font.desc'
font: can't open file: /home/rt/.mplayer/font/font.desc
font: can't open file: /usr/local/mplayer/font/font.desc
Using usleep() timing
Playing /tmp/thematrix.mpg
get_path('sub/') -> '/home/rt/.mplayer/sub/'
Not an URL!
File size is 30953472 bytes
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for MOV
Checking for VIVO
header block 1 size: 0
Checking for REAL
system stream synced at 0xB (11)!
==> Found audio stream: 0
==> Found video stream: 0
Detected MPEG-PS file format!
Searching for sequence header... OK!
VIDEO: MPEG1 320x152 (aspect 1) 23.98 fps 250.0 kbps (31.2 kbyte/s)
[V] filefmt:2 fourcc:0x10000001 size:320x152 fps:23.98 ftime:=0.0417
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: Using generic decore.
AUDIO: srate=48000 chans=2 bps=2 sfmt=0x20 ratio: 8000->192000
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
vo: X11 color mask: 7FFF (R:7C00 G:3E0 B:1F)
vo: X11 running at 1024x768 with depth 15 and 15 bits/pixel (":0.0" => local display)
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: No accelerated IDCT transform found
libmpeg2: No accelerated motion compensation found
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 320x152 => 320x152 Planar YV12
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
video_out->init(320x152->320x152,flags=0,'MPlayer',0x32315659)
Sharing memory.
No accelerated colorspace conversion found
INFO: Video OUT driver init OK!
AO: [oss] 48000Hz Stereo Signed 16-bit (Big-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 Hz 2 chans Signed 16-bit (Big-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Big-Endian) (requested: Signed 16-bit (Big-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 4/4 (32768 bytes/frag) free: 131072
Start playing...
A: -0.0 V: 0.0 A-V: -0.053 ct: 0.000 1/ 1 0% 0% 0.0% 0 0 0%
A: 0.2 V: 0.1 A-V: 0.086 ct: 0.004 2/ 2 0% 0% 0.0% 1 0 0%
A: 0.3 V: 0.1 A-V: 0.200 ct: 0.008 3/ 3 0% 0% 0.0% 2 0 0%
A: 0.5 V: 0.2 A-V: 0.338 ct: 0.013 4/ 4 0% 0% 0.0% 3 0 0%
A: 0.7 V: 0.2 A-V: 0.467 ct: 0.017 5/ 5 0% 0% 0.0% 4 0 0%
A: 0.8 V: 0.3 A-V: 0.582 ct: 0.021 6/ 6 0% 0% 0.0% 5 0 0%
A: 1.0 V: 0.3 A-V: 0.720 ct: 0.025 7/ 7 0% 0% 0.0% 6 0 0%
A: 1.2 V: 0.3 A-V: 0.849 ct: 0.029 8/ 8 0% 0% 0.0% 7 0 0%
A: 1.4 V: 0.4 A-V: 0.987 ct: 0.033 9/ 9 0% 0% 0.0% 8 0 0%
A: 1.5 V: 0.4 A-V: 1.102 ct: 0.038 10/ 10 0% 0% 0.0% 9 0 0%
A: 1.7 V: 0.5 A-V: 1.231 ct: 0.042 11/ 11 0% 0% 0.0% 10 0 0%
A: 1.9 V: 0.5 A-V: 1.369 ct: 0.046 12/ 12 7% 5% 16.6% 11 0 0%
A: 2.0 V: 0.5 A-V: 1.483 ct: 0.050 13/ 13 8% 4% 16.4% 12 0 0%
A: 2.2 V: 0.6 A-V: 1.612 ct: 0.054 14/ 14 8% 4% 16.2% 13 0 0%
A: 2.4 V: 0.6 A-V: 1.751 ct: 0.058 15/ 15 8% 4% 16.1% 14 0 0%
A: 2.6 V: 0.7 A-V: 1.889 ct: 0.063 16/ 16 8% 5% 16.0% 15 0 0%
A: 2.7 V: 0.7 A-V: 2.018 ct: 0.067 17/ 17 8% 6% 16.0% 16 0 0%
A: 2.9 V: 0.8 A-V: 2.132 ct: 0.071 18/ 18 8% 6% 15.9% 17 0 0%
A: 3.1 V: 0.8 A-V: 2.271 ct: 0.075 19/ 19 8% 6% 15.8% 18 0 0%
A: 3.2 V: 0.8 A-V: 2.399 ct: 0.079 20/ 20 8% 7% 15.7% 19 0 0%
A: 3.4 V: 0.9 A-V: 2.538 ct: 0.083 21/ 21 8% 7% 15.6% 20 0 0%
A: 3.6 V: 0.9 A-V: 2.652 ct: 0.088 22/ 22 7% 7% 15.6% 21 0 0%
A: 3.7 V: 1.0 A-V: 2.781 ct: 0.092 23/ 23 7% 7% 15.5% 22 0 0%
A: 3.9 V: 1.0 A-V: 2.919 ct: 0.096 24/ 24 7% 8% 15.5% 23 0 0%
A: 4.1 V: 1.0 A-V: 3.034 ct: 0.100 25/ 25 8% 8% 15.4% 24 0 0%
A: 4.2 V: 1.1 A-V: 3.163 ct: 0.104 26/ 26 8% 8% 15.4% 25 0 0%
A: 4.4 V: 1.1 A-V: 3.301 ct: 0.108 27/ 27 8% 8% 15.4% 26 0 0%
A: 4.6 V: 1.2 A-V: 3.439 ct: 0.113 28/ 28 8% 8% 15.3% 27 0 0%
A: 4.8 V: 1.2 A-V: 3.568 ct: 0.117 29/ 29 8% 8% 15.3% 28 0 0%
A: 4.9 V: 1.3 A-V: 3.683 ct: 0.121 30/ 30 7% 8% 15.3% 29 0 0%
A: 5.1 V: 1.3 A-V: 3.821 ct: 0.125 31/ 31 7% 9% 15.2% 30 0 0%
A: 5.3 V: 1.3 A-V: 3.950 ct: 0.129 32/ 32 7% 9% 15.2% 31 0 0%
A: 5.4 V: 1.4 A-V: 4.064 ct: 0.133 33/ 33 7% 9% 15.1% 32 0 0%
A: 5.6 V: 1.4 A-V: 4.203 ct: 0.138 34/ 34 7% 9% 15.1% 33 0 0%
A: 5.8 V: 1.5 A-V: 4.332 ct: 0.142 35/ 35 7% 9% 15.1% 34 0 0%
A: 6.0 V: 1.5 A-V: 4.470 ct: 0.146 36/ 36 7% 9% 15.1% 35 0 0%
A: 6.1 V: 1.5 A-V: 4.584 ct: 0.150 37/ 37 8% 9% 15.1% 36 0 0%
A: 6.3 V: 1.6 A-V: 4.713 ct: 0.154 38/ 38 8% 9% 15.0% 37 0 0%
A: 6.5 V: 1.6 A-V: 4.852 ct: 0.158 39/ 39 8% 9% 15.0% 38 0 0%
A: 6.6 V: 1.7 A-V: 4.966 ct: 0.163 40/ 40 8% 9% 15.0% 39 0 0%
A: 6.8 V: 1.7 A-V: 5.095 ct: 0.167 41/ 41 8% 9% 15.0% 40 0 0%
A: 7.0 V: 1.8 A-V: 5.233 ct: 0.171 42/ 42 8% 9% 15.0% 41 0 0%
A: 7.2 V: 1.8 A-V: 5.372 ct: 0.175 43/ 43 8% 9% 14.9% 42 0 0%
A: 7.3 V: 1.8 A-V: 5.501 ct: 0.179 44/ 44 8% 10% 15.0% 43 0 0%
A: 7.5 V: 1.9 A-V: 5.615 ct: 0.184 45/ 45 7% 10% 15.0% 44 0 0%
A: 7.7 V: 1.9 A-V: 5.753 ct: 0.188 46/ 46 7% 10% 15.0% 45 0 0%
A: 7.8 V: 2.0 A-V: 5.882 ct: 0.192 47/ 47 7% 10% 15.0% 46 0 0%
A: 8.0 V: 2.0 A-V: 5.998 ct: 0.196 48/ 48 7% 10% 14.9% 47 0 0%
A: 8.2 V: 2.0 A-V: 6.136 ct: 0.200 49/ 49 8% 10% 14.9% 48 0 0%
A: 8.4 V: 2.1 A-V: 6.265 ct: 0.204 50/ 50 8% 10% 14.9% 49 0 0%
A: 8.5 V: 2.1 A-V: 6.404 ct: 0.209 51/ 51 8% 10% 14.9% 50 0 0%
-------------- next part --------------
MPlayer 0.60-2.95.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
Reading /home/rt/.mplayer/codecs.conf: can't open '/home/rt/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/mplayer/codecs.conf: 26 audio & 70 video codecs
CommandLine: '-ao' 'sdl' '-v' '/tmp/thematrix.mpg'
num_filenames: 1
get_path('font/font.desc') -> '/home/rt/.mplayer/font/font.desc'
font: can't open file: /home/rt/.mplayer/font/font.desc
font: can't open file: /usr/local/mplayer/font/font.desc
Using usleep() timing
Playing /tmp/thematrix.mpg
get_path('sub/') -> '/home/rt/.mplayer/sub/'
Not an URL!
File size is 30953472 bytes
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for MOV
Checking for VIVO
header block 1 size: 0
Checking for REAL
system stream synced at 0xB (11)!
==> Found audio stream: 0
==> Found video stream: 0
Detected MPEG-PS file format!
Searching for sequence header... OK!
VIDEO: MPEG1 320x152 (aspect 1) 23.98 fps 250.0 kbps (31.2 kbyte/s)
[V] filefmt:2 fourcc:0x10000001 size:320x152 fps:23.98 ftime:=0.0417
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: Using generic decore.
AUDIO: srate=48000 chans=2 bps=2 sfmt=0x20 ratio: 8000->192000
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
vo: X11 color mask: 7FFF (R:7C00 G:3E0 B:1F)
vo: X11 running at 1024x768 with depth 15 and 15 bits/pixel (":0.0" => local display)
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: No accelerated IDCT transform found
libmpeg2: No accelerated motion compensation found
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 320x152 => 320x152 Planar YV12
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
video_out->init(320x152->320x152,flags=0,'MPlayer',0x32315659)
Sharing memory.
No accelerated colorspace conversion found
INFO: Video OUT driver init OK!
AO: [sdl] 48000Hz Stereo Signed 16-bit (Big-Endian)
AO: Description: SDLlib audio output
AO: Author: Felix Buenemann <atmosfear at users.sourceforge.net>
SDL: Samplerate: 48000Hz Channels: Stereo Format Signed 16-bit (Big-Endian)
SDL: buf size = 4096
Start playing...
A: 0.0 V: 0.0 A-V: -0.010 ct: 0.000 1/ 1 0% 0% 0.0% 0 0 0%
A: 0.1 V: 0.1 A-V: -0.009 ct: -0.001 2/ 2 0% 0% 0.0% 0 0 0%
A: 0.1 V: 0.1 A-V: -0.008 ct: -0.002 3/ 3 0% 0% 0.0% 0 0 0%
A: 0.2 V: 0.2 A-V: -0.007 ct: -0.002 4/ 4 0% 0% 0.0% 0 0 0%
A: 0.2 V: 0.2 A-V: 0.025 ct: 0.000 5/ 5 0% 0% 0.0% 0 0 0%
A: 0.3 V: 0.3 A-V: 0.004 ct: 0.000 6/ 6 0% 0% 0.0% 0 0 0%
A: 0.3 V: 0.3 A-V: 0.005 ct: 0.001 7/ 7 0% 0% 0.0% 0 0 0%
A: 0.3 V: 0.3 A-V: -0.015 ct: -0.001 8/ 8 0% 0% 0.0% 0 0 0%
A: 0.4 V: 0.4 A-V: 0.007 ct: 0.000 9/ 9 0% 0% 0.0% 0 0 0%
A: 0.4 V: 0.4 A-V: -0.007 ct: -0.000 10/ 10 0% 0% 0.0% 0 0 0%
A: 0.5 V: 0.5 A-V: -0.006 ct: -0.001 11/ 11 0% 0% 0.0% 0 0 0%
A: 0.5 V: 0.5 A-V: -0.005 ct: -0.001 12/ 12 7% 11% 5.9% 0 0 0%
A: 0.5 V: 0.5 A-V: -0.004 ct: -0.002 13/ 13 8% 11% 5.8% 0 0 0%
A: 0.6 V: 0.6 A-V: -0.024 ct: -0.004 14/ 14 7% 11% 5.7% 0 0 0%
A: 0.6 V: 0.6 A-V: -0.002 ct: -0.004 15/ 15 7% 11% 5.5% 0 0 0%
A: 0.7 V: 0.7 A-V: -0.001 ct: -0.005 16/ 16 7% 11% 5.4% 0 0 0%
A: 0.7 V: 0.7 A-V: -0.012 ct: -0.006 17/ 17 7% 11% 5.3% 0 0 0%
A: 0.8 V: 0.8 A-V: 0.011 ct: -0.005 18/ 18 7% 11% 5.2% 0 0 0%
A: 0.8 V: 0.8 A-V: 0.011 ct: -0.003 19/ 19 7% 11% 5.2% 0 0 0%
A: 0.8 V: 0.8 A-V: -0.009 ct: -0.004 20/ 20 7% 11% 5.1% 0 0 0%
A: 0.9 V: 0.9 A-V: 0.013 ct: -0.003 21/ 21 7% 11% 4.9% 0 0 0%
A: 0.9 V: 0.9 A-V: -0.000 ct: -0.003 22/ 22 7% 11% 5.0% 0 0 0%
A: 0.9 V: 1.0 A-V: -0.021 ct: -0.005 23/ 23 7% 11% 5.0% 0 0 0%
A: 1.0 V: 1.0 A-V: 0.002 ct: -0.005 24/ 24 7% 11% 4.9% 0 0 0%
A: 1.0 V: 1.0 A-V: -0.019 ct: -0.007 25/ 25 7% 11% 4.8% 0 0 0%
A: 1.1 V: 1.1 A-V: -0.018 ct: -0.009 26/ 26 7% 11% 4.7% 0 0 0%
A: 1.1 V: 1.1 A-V: -0.017 ct: -0.010 27/ 27 7% 11% 4.7% 0 0 0%
A: 1.2 V: 1.2 A-V: -0.016 ct: -0.012 28/ 28 7% 10% 4.7% 0 0 0%
A: 1.2 V: 1.2 A-V: -0.006 ct: -0.012 29/ 29 7% 10% 4.6% 0 0 0%
A: 1.3 V: 1.3 A-V: 0.017 ct: -0.011 30/ 30 7% 10% 4.6% 0 0 0%
A: 1.3 V: 1.3 A-V: -0.004 ct: -0.011 31/ 31 7% 9% 4.7% 0 0 0%
A: 1.3 V: 1.3 A-V: -0.003 ct: -0.011 32/ 32 7% 9% 4.6% 0 0 0%
A: 1.4 V: 1.4 A-V: -0.002 ct: -0.012 33/ 33 7% 9% 4.6% 0 0 0%
A: 1.4 V: 1.4 A-V: -0.001 ct: -0.012 34/ 34 7% 8% 4.5% 0 0 0%
A: 1.5 V: 1.5 A-V: 0.010 ct: -0.011 35/ 35 7% 8% 4.5% 0 0 0%
A: 1.5 V: 1.5 A-V: 0.032 ct: -0.007 36/ 36 7% 8% 4.5% 0 0 0%
A: 1.5 V: 1.5 A-V: -0.010 ct: -0.008 37/ 37 7% 8% 4.5% 0 0 0%
A: 1.6 V: 1.6 A-V: 0.012 ct: -0.007 38/ 38 7% 8% 4.4% 0 0 0%
A: 1.6 V: 1.6 A-V: 0.013 ct: -0.006 39/ 39 7% 7% 4.4% 0 0 0%
A: 1.7 V: 1.7 A-V: -0.007 ct: -0.007 40/ 40 7% 7% 4.4% 0 0 0%
A: 1.7 V: 1.7 A-V: 0.001 ct: -0.006 41/ 41 7% 7% 4.4% 0 0 0%
A: 1.8 V: 1.8 A-V: 0.002 ct: -0.006 42/ 42 7% 7% 4.4% 0 0 0%
A: 1.8 V: 1.8 A-V: -0.019 ct: -0.008 43/ 43 7% 7% 4.4% 0 0 0%
A: 1.8 V: 1.8 A-V: 0.004 ct: -0.008 44/ 44 7% 6% 4.3% 0 0 0%
vo: uninit!
SDL: Audio Subsystem shutting down!
*** free_stream() called ***
max framesize was 1196 bytes
More information about the MPlayer-users
mailing list