1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 23:32:26 +00:00
mpv/DOCS/client_api_examples
wm4 e76f6929e5 vo_opengl_cb: deprecate mpv_opengl_cb_render()
Its vp parameter made no sense anymore. Introduce a new one.
2015-04-09 19:31:01 +02:00
..
cocoa cocoa: remove the setNextKeyView hack 2015-02-28 14:55:32 +01:00
qml vo_opengl_cb: deprecate mpv_opengl_cb_render() 2015-04-09 19:31:01 +02:00
qml_direct vo_opengl_cb: deprecate mpv_opengl_cb_render() 2015-04-09 19:31:01 +02:00
qt DOCS/client_api_examples: qtexample: demonstrate multiple mpv instances 2015-01-06 11:56:10 +01:00
simple DOCS/client_api_examples/simple: fix option 2015-02-23 16:08:38 +01:00
Copyright DOCS/client_api_examples: add an explicit license 2014-12-30 22:47:50 +01:00
README.md build: remove bogus client API examples build 2015-01-23 15:32:23 +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.