Files
mpv/DOCS/client_api_examples
wm4 62bc8442be DOCS/client_api_examples/simple: fix option
"input-x11-keyboard" still works, but is a deprecated alias with the
same functionality.

(cherry picked from commit cf395e1754)
2015-02-25 10:50:39 +09:00
..
2015-01-23 17:41:50 +01:00

Client API examples

All these examples use the mpv client API through libmpv.

cocoa

Shows how to embed the mpv video window in Objective-C/Cocoa.

qt

Shows how to embed the mpv video window in Qt (using normal desktop widgets).

qml

Shows how to use mpv's OpenGL video renderer in QtQuick2 with QML.

qml_direct

Alternative example, which typically avoids a FBO indirection. Might be slightly faster, but is less flexible and harder to use.

simple

Very primitive terminal-only example. Shows some most basic API usage.