[MPlayer-users] joystick problem... 1.0.0pre3

Jeremy Huddleston jeremy at outersquare.org
Wed Dec 17 11:47:20 CET 2003


1.0.0pre3 is the first version I've tried enabling joystick support, and
it seems to have introduced some problem.  The joystick works fine for
other purposes (emulators), so I am fairly certain this is an mplayer
problem.

I have a microsoft sidewinder game pad (gameport connection, not usb),
and I'm running a modified 2.4.22 kernel (gentoo 2.4.22-r1 to be
precise).  If I 'rmmod joydev' before sarting mplayer, all my input
devices work properly, but if mplayer is allowed to use joystick support
(that is, I have the joydev module loaded and my device connected), then
only my IR remote works (via lirc); the keyboard stops working.  Here's
some output from mplayer that might help figure out the problem:

MPlayer 1.0pre3-3.2.3 (C) 2000-2003 MPlayer Team

CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon
398.9 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /home/media/.mplayer/config
Reading /home/media/.mplayer/codecs.conf: Can't open
'/home/media/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 61 audio & 169 video codecs
font: can't open file: /home/media/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /home/media/.mplayer/input.conf: No such
file or directory
Input config file /usr/share/mplayer/input.conf parsed: 53 binds
Opening joystick device /dev/input/js0
Setting up LIRC support...

Playing alias.2x09.svcd.sd-6.mpg.
Cache fill:  4.30% (360448 bytes)    No bind found for key
JOY_BTN0-JOY_BTN1                         
Cache fill: 18.85% (1581056 bytes)    No bind found for key
JOY_BTN0-JOY_BTN1                         
LMLM4 Stream Format not found
MPEG-PS file format detected.
VIDEO:  MPEG2  480x480  (aspect 2)  29.970 fps  2520.0 kbps (315.0
kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 28000->176400 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0" => local
display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 480 x 480 (preferred csp: Mpeg PES)
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))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int 
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit
(Little-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa9: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa9] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 480 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 480x480 => 640x480 Planar YV12  [fs]
Joystick : warning init event, we have lost sync with driver0.0% 0 0 32%
alsa-space: xrun of at least 100.989 msecs. resetting stream
Joystick : warning init event, we have lost sync with driver0.0% 1 0 32%
Joystick : warning init event, we have lost sync with driver0.0% 2 0 99%
Joystick : warning init event, we have lost sync with driver0.0% 3 0 99%
Joystick : warning init event, we have lost sync with driver0.0% 4 0 99%
Joystick : warning init event, we have lost sync with driver0.0% 5 0 99%
Joystick : warning init event, we have lost sync with driver0.0% 6 0 99%
Joystick : warning init event, we have lost sync with driver
A:   0.7 V:   0.5 A-V:  0.123 ct:  0.030   12/ 10   0%  0%  0.0% 6 0 99%
demux_mpg: 24fps progressive NTSC content detected, switching framerate.
No bind found for key
JOY_BTN1-JOY_AXIS2_MINUS-JOY_AXIS3_MINUS-JOY_BTN0                         
No bind found for key
JOY_AXIS2_MINUS-JOY_AXIS3_MINUS-JOY_BTN0-JOY_BTN1                         
No bind found for key
JOY_AXIS2_MINUS-JOY_AXIS3_MINUS-JOY_BTN0-JOY_BTN1                         
No bind found for key
JOY_AXIS2_MINUS-JOY_AXIS3_MINUS-JOY_BTN0-JOY_BTN1                         
No bind found for key
JOY_AXIS2_MINUS-JOY_AXIS3_MINUS-JOY_BTN0-JOY_BTN1                         
No bind found for key
JOY_AXIS2_MINUS-JOY_AXIS3_MINUS-JOY_BTN0-JOY_BTN1                         
No bind found for key
JOY_AXIS2_MINUS-JOY_AXIS3_MINUS-JOY_BTN0-JOY_BTN1                         
No bind found for key
JOY_AXIS2_MINUS-JOY_AXIS3_MINUS-JOY_BTN0-JOY_BTN1                         
No bind found for key
JOY_AXIS2_MINUS-JOY_AXIS3_MINUS-JOY_BTN0-JOY_BTN1                         
No bind found for key
JOY_AXIS2_MINUS-JOY_AXIS3_MINUS-JOY_BTN0-JOY_BTN1                         
Joystick : warning init event, we have lost sync with driver2.6% 6 0 98%
Joystick : warning init event, we have lost sync with driver2.6% 6 0 98%
Joystick : warning init event, we have lost sync with driver2.5% 6 0 98%
Joystick : warning init event, we have lost sync with driver2.5% 6 0 98%
Joystick : warning init event, we have lost sync with driver2.5% 6 0 98%
Joystick : warning init event, we have lost sync with driver2.5% 6 0 98%
Joystick : warning init event, we have lost sync with driver2.5% 6 0 98%
Joystick : warning init event, we have lost sync with driver2.6% 6 0 98%
No bind found for key
JOY_AXIS2_MINUS-JOY_AXIS3_MINUS-JOY_BTN0-JOY_BTN1                         
No bind found for key
JOY_AXIS2_MINUS-JOY_AXIS3_MINUS-JOY_BTN0-JOY_BTN1                         
No bind found for key
JOY_AXIS2_MINUS-JOY_AXIS3_MINUS-JOY_BTN0-JOY_BTN1                  

...



More information about the MPlayer-users mailing list