From e80a2a572dd7a426fc11b3776985b99460214d75 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Thu, 6 Jul 2017 10:58:26 -0700 Subject: vo: add mediacodec_embed output driver Allows rendering IMGFMT_MEDIACODEC frames directly onto an android.view.Surface --- DOCS/man/vo.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'DOCS') 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. -- cgit v1.2.3