[MPlayer-users] a52: no resampler. try different channel setup!

Brent Roman brent at mbari.org
Sun Jan 27 10:29:02 CET 2002


Great player!

I've got a couple DVD's which are encoded with monophonic audio
(believe it or not)

mplayer's audio configuration seems to choke on them.

In the output below, not the following lines:

AC3: 1.0 (mono)  48000 Hz  192.0 kbit/s
Unimplemented resampler for mode 0x1 -> 1 channels conversion - Contact
MPlayer developers!
a52: no resampler. try different channel setup!
Couldn't initialize audio codec! -> nosound

Peeking at the function a52_resample_MMX in resample_mmx.c,
it looks like the A52_MONO flag is set, which means that the
only resampler available requires five output channels.

I've tried added the "-channels n" option where n=2..6
to no avail.

Is this just a missing case in a52_resample_MMX?

Thanks in Advance,

- brent

----- snip ------
This is the relevant output from mplayer:

mplayer -quiet -framedrop -master -delay -0.10 -vo xv -dvd 1
MPlayer 0.60-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
extended cpuid-level: 5
CPUflags: Type: 5 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX 3DNow
Reading /home/brent/.mplayer/codecs.conf: 26 audio & 70 video codecs
font: can't open file: /home/brent/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
libdvdcss debug: GetASF authenticated (ASF=1)
libdvdcss debug: requesting AGID
libdvdcss debug: drive authentic, using variant 5
libdvdcss debug: host authentication established
libdvdcss debug: GetASF authenticated (ASF=1)
libdvdcss debug: fully authenticated, success
Reading disc structure, please wait...
There are 4 titles on this DVD.
There are 36 chapters in this DVD title.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000015f
libdvdcss debug: requesting AGID
libdvdcss debug: drive authentic, using variant 5
libdvdcss debug: host authentication established
libdvdcss debug: GetASF authenticated (ASF=1)
libdvdcss debug: title key is cc 43 04 19 99
libdvdcss debug: got title key
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000008ce
libdvdcss debug: requesting AGID
libdvdcss debug: drive authentic, using variant 5
libdvdcss debug: host authentication established
libdvdcss debug: GetASF authenticated (ASF=1)
libdvdcss debug: title key is cc 43 04 19 99
libdvdcss debug: got title key
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
DVD successfully opened!
header block 1 size: 0
Detected MPEG-PS file format!
VIDEO:  MPEG2  720x480  (aspect 2)  29.97 fps  9375.0 kbps (1171.9 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
Detected audio codec: [a52] drv:14 (AC3-liba52)
Using 3DNow optimized IMDCT transform
AC3: 1.0 (mono)  48000 Hz  192.0 kbit/s
Unimplemented resampler for mode 0x1 -> 1 channels conversion - Contact
MPlayer developers!
a52: no resampler. try different channel setup!
Couldn't initialize audio codec! -> nosound
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMX for IDCT transform
libmpeg2: Using 3DNOW for motion compensation
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12
vo: X11 running at 1600x1200 with depth 16 and 16 bits/pixel (":1.0" => local
display)
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 48 for hw scaling
[xv] dcx: 4 dcy: 20 dx: 0 dy: 0 dw: 720 dh: 540
Audio: no sound!!!
Start playing...
[xv] dcx: 4 dcy: 20 dx: 0 dy: 0 dw: 720 dh: 540

-- 
 Brent Roman
 Software Engineer                 Tel: 831 775 1808
 425 Clinton St., Santa Cruz,      California, 95062
 mailto:brent at mbari.org  http://www.mbari.org/~brent




More information about the MPlayer-users mailing list