summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-10-18 16:50:39 +0200
committersfan5 <sfan5@live.de>2022-10-02 14:12:26 +0200
commit5463d3eeff0aeff4f9c6d7634ace157ceb2cec57 (patch)
tree648d819132bd58c5fa476dde9cf03c50d3d76160 /DOCS
parent2207236aaae54f32c1861c6fd77219e28139dc78 (diff)
downloadmpv-5463d3eeff0aeff4f9c6d7634ace157ceb2cec57.tar.bz2
mpv-5463d3eeff0aeff4f9c6d7634ace157ceb2cec57.tar.xz
vo_gpu: hwdec: add Android hwdec utilizing AImageReader
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/options.rst10
-rw-r--r--DOCS/man/vo.rst4
2 files changed, 10 insertions, 4 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index c2b715c1ce..0d18784b26 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -1264,7 +1264,8 @@ Video
:dxva2-copy: copies video back to system RAM (Windows only)
:vdpau: requires ``--vo=gpu`` with X11, or ``--vo=vdpau`` (Linux only)
:vdpau-copy: copies video back into system RAM (Linux with some GPUs only)
- :mediacodec: requires ``--vo=mediacodec_embed`` (Android only)
+ :mediacodec: requires ``--vo=gpu --gpu-context=android``
+ or ``--vo=mediacodec_embed`` (Android only)
:mediacodec-copy: copies video back to system RAM (Android only)
:mmal: requires ``--vo=gpu`` (Raspberry Pi only - default if available)
:mmal-copy: copies video back to system RAM (Raspberry Pi only)
@@ -1364,6 +1365,11 @@ Video
``rpi`` always uses the hardware overlay renderer, even with
``--vo=gpu``.
+ ``mediacodec`` is not safe. It forces RGB conversion (not with ``-copy``)
+ and how well it handles non-standard colorspaces is not known.
+ In the rare cases where 10-bit is supported the bit depth of the output
+ will be reduced to 8.
+
``cuda`` should usually be safe, but depending on how a file/stream
has been mixed, it has been reported to corrupt the timestamps causing
glitched, flashing frames. It can also sometimes cause massive
@@ -3317,7 +3323,7 @@ Window
On Android, the ID is interpreted as ``android.view.Surface``. Pass it as a
value cast to ``intptr_t``. Use with ``--vo=mediacodec_embed`` and
``--hwdec=mediacodec`` for direct rendering using MediaCodec, or with
- ``--vo=gpu --gpu-context=android`` (with or without ``--hwdec=mediacodec-copy``).
+ ``--vo=gpu --gpu-context=android`` (with or without ``--hwdec=mediacodec``).
``--no-window-dragging``
Don't move the window when clicking on it and moving the mouse pointer.
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index 13d4050dc4..5e5b1394d9 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -676,8 +676,8 @@ Available video output drivers are:
many of mpv's features (subtitle rendering, OSD/OSC, video filters, etc)
are not available with this driver.
- To use hardware decoding with ``--vo=gpu`` instead, use
- ``--hwdec=mediacodec-copy`` along with ``--gpu-context=android``.
+ To use hardware decoding with ``--vo=gpu`` instead, use ``--hwdec=mediacodec``
+ or ``mediacodec-copy`` along with ``--gpu-context=android``.
``wlshm`` (Wayland only)
Shared memory video output driver without hardware acceleration that works