[MPlayer-users] MPEG-1 audio decoding; sounds bad.

Richard Thrippleton ret28 at cam.ac.uk
Mon Jan 21 18:25:01 CET 2002


On Sat, Jan 19, 2002 at 02:04:05PM +0100, Attila Kinali wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Wed, 16 Jan 2002 12:32:52 +0000
> Richard Thrippleton <ret28 at cam.ac.uk> wrote:
> 
> > 	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.
> 
> Can you provide more informations (read bugreport.html)
> It could be a bigendian problem
> (works fine here)
> And please check CVS again, if it does not compile on PPC
> please show also the full errormsg of gcc.
	OK, and in all thoroughness;
(runtime, it compiled fine)
Distro: Debian 2.2
Kernel: Linux Pi 2.2.20 #1 Wed Nov 14 23:27:09 GMT 2001 ppc unknown
LibC: 2.1.3
X: XFree86 Version 4.0.3 / X Window System
gcc: gcc version 2.95.2 20000220 (Debian GNU/Linux)
ld: GNU ld version 2.9.5 (with BFD 2.9.5.0.37)
binutils: GNU assembler 2.9.5
cpuinfo:
processor       : 0
cpu             : 750
temperature     : 0 C
clock           : 333MHz
revision        : 2.2
bogomips        : 665.69
zero pages      : total 0 (0Kb) current: 0 (0Kb) hits: 0/7750 (0%)
machine         : iMac,1
motherboard     : iMac MacRISC Power Macintosh
L2 cache        : 512K unified
memory          : 32MB
pmac-generation : NewWorld

sound card: Standard PowerMac DMA sound

Output from MPlayer. Worth saying that I've narrowed down the sound problem
a little; in the left speaker/earpiece output is a long continual pure beep,
and in the right I get a very scratchy version of the original sound.


MPlayer CVS-020121-05:00-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: 28 audio & 74 video codecs
CommandLine: '-v' '-ao' 'sdl' '-vo' 'x11' 'fun/paper_clip.mpg'
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 fun/paper_clip.mpg
Not an URL!
File size is 507296 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 video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG1  176x96  (aspect 1)  25.00 fps  187.0 kbps (23.4 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:176x96  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/rt/.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
init layer2&3 finished, tables done
mp3lib: using generic decore!

MPEG 1.0, Layer II, 44100 Hz 64 kbit Stereo, BPF: 209
Channels: 2, copyright: No, original: No, CRC: Yes, emphasis: 0
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x20  ratio: 8000->176400
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] 176x96 => 176x96 Planar YV12 
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
video_out->init(176x96->176x96,flags=0,'MPlayer',0x32315659)
Sharing memory.
No accelerated colorspace conversion found
Disabling DPMS
stat: 1
INFO: Video OUT driver init OK!
AO: [sdl] 44100Hz Stereo Signed 16-bit (Big-Endian)
AO: Description: SDLlib audio output
AO: Author: Felix Buenemann <atmosfear at users.sourceforge.net>
SDL: Samplerate: 44100Hz Channels: Stereo Format Signed 16-bit (Big-Endian)
SDL: buf size = 4096
Start playing...

	Hope this helps (both of us) !

Richard
-- 
Richard 'aj' Thrippleton
"handsome, charming and genuinely good at bringing in the money"
E-mail:<ret28 at cam.ac.uk>
Homepage:http://www.srcf.ucam.org/~ret28




More information about the MPlayer-users mailing list