-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Language bindings
wm4 edited this page Feb 15, 2020
·
2 revisions
Currently, there are two kind of bindings:
- Internal: can be used from inside of mpv only.
- External: can't control the mpv command line player, but can be used to implement new applications that use libmpv as backend for video playback.
Both of them use the libmpv client API: https://github.com/mpv-player/mpv/blob/master/libmpv/client.h
- Lua: https://mpv.io/manual/master/#lua-scripting
- JavaScript: https://mpv.io/manual/master/#javascript
- Python: https://github.com/jaseg/python-mpv
- Python (another one): https://github.com/marcan/pympv
- Ruby: https://github.com/woodruffw/ruby-mpv
- JavaScript: https://github.com/rcombs/node-mpv
- JavaScript (PPAPI): https://github.com/Kagami/mpv.js