[MPlayer-users] Using a Joystick?

Lan User obecalp at ameritech.net
Fri Feb 18 21:29:13 CET 2005

> Lan User napisał(a):
> >Hello,
> >I'd like to use my joystick in mplayer but haven't been able 
> to get it 
> >to work.
> >I've tried "mplayer -vo xv -input js-dev=/dev/js0 
> somefile.avi" but the 
> >joystick doesn't do anything.  The joystick at /dev/js0 is 
> working in 
> >other programs.
> >I apologize if this is explicitly spelled out in the man page, but I 
> >did honestly look.
> >Do I need a joystickrc file somewhere or am I perhaps 
> missing something 
> >else?  Is joystick usage completely independent of lirc?
> >Thanks much,
> >Patrick.
> From: mplayer-users-bounces at mplayerhq.hu 
> [mailto:mplayer-users-bounces at mplayerhq.hu] On Behalf Of 
> Dariusz Andziak
> Sent: Friday, February 18, 2005 12:51 PM
> To: MPlayer usage questions, feature requests, bug reports
> Subject: Re: [MPlayer-users] Using a Joystick?
> Hi,
> does MPlayer see the joystick?
> Please send the mplayer-messages coming after your command. 
> There should be a lines about your joystick Let us see it.
> Greetings
> Darek

Here's the output, I don't see anything about the joystick, but I do see
that lirc is not working.  Do I need lirc to use the joystick?  I wouldn't
think so, but what do I know?

mplayer -vo xv -input js-dev=/dev/js0 File.avi
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (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
Can't load font bitmap: iso-8859-1-a.raw
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system
startup scripts.
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support.
You will not be able to use your remote control.
Playing File.avi.
AVI file format detected.
VIDEO:  [DIVX]  512x288  24bpp  29.970 fps  676.9 kbps (82.6 kbyte/s)
Clip info:
 Software: MEncoder 1.0pre6-3.3.5
 Source Form: DVD ripped by acidrip.sf.net
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 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 - 512 x 288 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 512x288 => 512x288 Planar YV12
A:  15.6 V:  15.6 A-V:  0.000 ct: -0.014 469/469  6%  0%  0.8% 6 0
Exiting... (Quit)

More information about the MPlayer-users mailing list