summaryrefslogtreecommitdiffstats
path: root/DOCS/client_api_examples/README.md
blob: 013098bf142a5e17fd973ea25174b4339b668de3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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.

sdl
---

Show how to embed the mpv OpenGL renderer in SDL.

simple
------

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