[MPlayer-users] New ALSA lib causes MPlayer's configure to not detect ALSA
Zdenek Pizl
z.p at linux-cd.cz
Sun Jan 11 18:58:57 CET 2004
On Sunday 11 of January 2004 11:50, Jindrich Makovicka wrote:
> Actually, even the current cvs alone should work fine. The patch just
> does the next step in migration to alsa 1.0 - it makes mplayer use the
> new api instead of using alsa-0.9 compatibility mode.
Well, I made it to compile. But there are some error with new ALSA and
mplayer-cvs-20040111.
ALSA version - 1.0.1
MPlayer vers - cvs from 20040111 (current tarball from today)
./configure --prefix=/usr --datadir=/usr/share/mplayer --confdir=/etc/mplayer
--mandir=/usr/share/man --enable-gui --enable-largefiles --enable-win32
--with-win32libdir=/usr/lib/win32 --with-reallibdir=/usr/lib/win32
--enable-joystick --disable-mpdvdkit
--with-cdparanoiaincdir=/usr/include/cdda --enable-external-faad
--enable-shared-pp --enable-i18n --language=all --enable-menu
When I run mplayer (I want to play Matrix Reloaded DVD ...):
mplayer -framedrop -cache 8192 -ao alsa1x -vf pp -autoq 100 -af channels=6 -vo
xmga,xv -slang cs,sk,en -alang en,jp,es,cs -dvd-device /dev/cdrom -double -dr
dvd://1
then the debug messages are:
<debug>
MPlayer dev-CVS--3.1 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1400 MHz (Family:
6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Reading config file /etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/pizl/.mplayer/config
[cfg] read config file: /home/pizl/.mplayer/gui.conf
Reading config file /home/pizl/.mplayer/gui.conf
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local
display)
xscreensaver_disable: Could not find xscreensaver window.
Reading /home/pizl/.mplayer/codecs.conf: Can't open
'/home/pizl/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No
such file or directory
Using built-in default codecs.conf.
Font /home/pizl/.mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /home/pizl/.mplayer/input.conf: No such file or
directory
Can't open input config file /etc/mplayer/input.conf: No such file or
directory
Falling back on default (hardcoded) input config
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such device
Can't init input joystick
SKIN dir 1: '/home/pizl/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/Skin'
[gui] add video filter: pp
Playing dvd://1.
libdvdread: Using libdvdcss version 1.2.2 for DVD access
Reading disc structure, please wait...
There are 2 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/VIDEO_TS.VOB at 0x00000f80
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000153b
libdvdread: Elapsed time 5
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00023f7a
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 6
DVD successfully opened.
Selected DVD audio channel: 128 language: en
Selected DVD subtitle channel: 1 language: cs
Cache fill: 13.18% (1105920 bytes) LMLM4 Stream Format not found
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 7500.0 kbps (937.5 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 384.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 48000->192000 (384.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
Opening video filter: [pp]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
[PP] Using external postprocessing filter, max q = 6.
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 6 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 6ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit
(Little-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa1x: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa1x] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xmga] 720x576 => 1024x576 Planar YV12 [vm]
[mga] Using 3 buffers.
Using colorkey: ff00
xscreensaver_disable: Could not find xscreensaver window.
ALSA lib control.c:654:(snd_ctl_open_noupdate) Invalid CTL 0.0% 0 6 28%
ALSA lib control.c:654:(snd_ctl_open_noupdate) Invalid CTL yA: 0.3 V: 0.1
A-V: 0.222 ct: 0.004 2/ 2 0% 0% 0.0% 1 5 38%
ALSA lib control.c:654:(snd_ctl_open_noupdate) Invalid CTL yA: 0.3 V: 0.1
A-V: 0.218 ct: 0.008 3/ 3 0% 0% 0.0% 1 4 38%
ALSA lib control.c:654:(snd_ctl_open_noupdate) Invalid CTL yA: 0.4 V: 0.1
A-V: 0.256 ct: 0.012 4/ 4 0% 0% 0.0% 2 3 56%
ALSA lib control.c:654:(snd_ctl_open_noupdate) Invalid CTL yA: 0.4 V: 0.2
A-V: 0.252 ct: 0.016 5/ 5 0% 0% 0.0% 3 2 56%
ALSA lib control.c:654:(snd_ctl_open_noupdate) Invalid CTL yA: 0.5 V: 0.2
A-V: 0.248 ct: 0.020 6/ 6 0% 0% 0.0% 4 1 56%
ALSA lib control.c:654:(snd_ctl_open_noupdate) Invalid CTL yA: 0.5 V: 0.3
A-V: 0.234 ct: 0.024 7/ 7 0% 0% 0.0% 5 0 56%
ALSA lib control.c:654:(snd_ctl_open_noupdate) Invalid CTL yA: 0.5 V: 0.3
A-V: 0.230 ct: 0.028 8/ 8 0% 0% 0.0% 6 0 56%
ALSA lib control.c:654:(snd_ctl_open_noupdate) Invalid CTL yA: 0.6 V: 0.3
A-V: 0.226 ct: 0.032 9/ 9 0% 0% 0.0% 6 0 56%
[...] etc etc etc until quit mplayer
</debug>
But the video and sound go well, as I can judge. What do this messages mean?
Can anybody explain it?
Regard
z.p.
--
Zdenek Pizl
Internetovy obchod s aktualizovanymi distribucemi GNU/Linuxu
http://www.Linux-CD.cz
More information about the MPlayer-users
mailing list