From c72df804604c8b7859af76d3503234725b501c96 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 2 Sep 2016 09:51:21 +0200 Subject: DOCS: move libmpv stub to manpage And replace the sort-of duplicated explanations. (It's a bit funny to use weblinks to the generated web version of itself instead of proper RST links, but I think I don't care.) --- DOCS/man/libmpv.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 DOCS/man/libmpv.rst (limited to 'DOCS/man/libmpv.rst') diff --git a/DOCS/man/libmpv.rst b/DOCS/man/libmpv.rst new file mode 100644 index 0000000000..d3e78aa5bc --- /dev/null +++ b/DOCS/man/libmpv.rst @@ -0,0 +1,16 @@ +EMBEDDING INTO OTHER PROGRAMS (LIBMPV) +====================================== + +mpv can be embedded into other programs as video/audio playback backend. The +recommended way to do so is using libmpv. See ``libmpv/client.h`` in the mpv +source code repository. This provides a C API. Bindings for other languages +might be available (see wiki). + +Since libmpv merely allows access to underlying mechanisms that can control +mpv, further documentation is spread over a few places: + +- https://github.com/mpv-player/mpv/blob/master/libmpv/client.h +- http://mpv.io/manual/master/#options +- http://mpv.io/manual/master/#list-of-input-commands +- http://mpv.io/manual/master/#properties +- https://github.com/mpv-player/mpv-examples/tree/master/libmpv -- cgit v1.2.3