summaryrefslogtreecommitdiffstats
path: root/DOCS/man/vo.rst
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2017-07-06 10:58:26 -0700
committerwm4 <wm4@nowhere>2017-10-09 18:36:54 +0200
commite80a2a572dd7a426fc11b3776985b99460214d75 (patch)
tree67192d1fe30823a43ebdf37a4a6e53ef91022039 /DOCS/man/vo.rst
parent61a1612de9c18d497c3be01f10b0fabc2066d76f (diff)
downloadmpv-e80a2a572dd7a426fc11b3776985b99460214d75.tar.bz2
mpv-e80a2a572dd7a426fc11b3776985b99460214d75.tar.xz
vo: add mediacodec_embed output driver
Allows rendering IMGFMT_MEDIACODEC frames directly onto an android.view.Surface
Diffstat (limited to 'DOCS/man/vo.rst')
-rw-r--r--DOCS/man/vo.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index 84b3a6a9d9..5dac65a38a 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -504,3 +504,11 @@ Available video output drivers are:
Mode ID to use (resolution, bit depth and frame rate).
(default: 0)
+``mediacodec_embed`` (Android)
+ Renders ``IMGFMT_MEDIACODEC`` frames directly to an ``android.view.Surface``.
+ Requires ``--hwdec=mediacodec`` for hardware decoding, along with
+ ``--vo=mediacodec_embed`` and ``--wid=(intptr_t)(*android.view.Surface)``.
+
+ Since this video output driver uses native decoding and rendering routines,
+ many of mpv's features (subtitle rendering, OSD/OSC, video filters, etc)
+ are not available with this driver.