How to get support for mpv? (Or how to enable joystick with mpv?)

wrybread

New Member
Joined
Oct 27, 2020
Messages
4
Reaction score
0
Credits
49
Sorry for the general question, but I've been trying and failing to figure out how to use a joystick with the mpv media player a few times now, and I can't even figure out where to get support for MPV in general. According to the MPV community page there's an #mpv channel on IRC, but I haven't had any luck getting that working.

I don't imagine anyone has any leads for getting a joystick to work with MPV under Linux (Debian)? I've been happily controlling mplayer with a joystick, but mplayer has been giving me more and more problems lately, and the recommended solution always seems to be "switch to mpv". But without joystick support it's a dealbreaker for my application.

In the MPV manual is the option:

--input-gamepad=<yes|no>Enable/disable SDL2 Gamepad support. Disabled by default.

But running "mpv --input-gamepad=yes" returns this error:

wrybread@wrycade:~$ mpv --input-gamepad=yes video1.mp4
Error parsing option input-gamepad (option not found)
Setting commandline option --input-gamepad=yes failed.
Exiting... (Fatal error)

However lsusb shows the two gamepads:

Bus 003 Device 005: ID 0079:0006 DragonRise Inc. PC TWIN SHOCK Gamepad
Bus 003 Device 004: ID 0079:0006 DragonRise Inc. PC TWIN SHOCK Gamepad

Running mpv --version outputs:

wrybread@wrycade:~$ mpv --version
mpv git-2020-10-16-cbbdb3f Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
built on Sun Oct 18 18:52:57 UTC 2020
FFmpeg library versions:
libavutil 56.50.100
libavcodec 58.90.100
libavformat 58.44.100
libswscale 5.6.101
libavfilter 7.84.100
libswresample 3.6.100
FFmpeg version: git-2020-06-05-cf28521

Help?
 
Last edited:


Try installing gnome-mpv
 
Isn't gnome-mpv just a GUI for MPV? If so, I'm not using any GUI at all, so there would be no benefit, right?

But I tried gnome-mpv, and have it working with my input.conf (specified via preferences -> keybindings), confirmed working with custon keyboard shortcuts, but it's not reacting to joystick input.
 
Last edited:
I'm still trying to get MPV working with joystick, so apologies, but bump?
 
Bumping is frowned upon at this site.

Don't worry, I'm not mad. I'm just making you aware of this.
 

Members online


Top