From 70b35612704a992dac45856e069608216f41ea89 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 11 May 2016 16:18:58 +0200 Subject: video: add --hwdec=auto-copy mode This uses the normal autoprobing rules like "auto", but rejects anything that isn't flagged as copying data back to system memory. The chunk in command.c was dead code, so remove it instead of updating it. --- DOCS/man/options.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'DOCS/man/options.rst') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index ab34e6468e..c61a556296 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -581,6 +581,7 @@ Video :no: always use software decoding (default) :auto: see below + :auto-copy: see below :vdpau: requires ``--vo=vdpau`` or ``--vo=opengl`` (Linux only) :vaapi: requires ``--vo=opengl`` or ``--vo=vaapi`` (Linux only) :vaapi-copy: copies video back into system RAM (Linux with Intel GPUs only) @@ -600,6 +601,13 @@ Video work, it will always fall back to software decoding, instead of trying the next method (might matter on some Linux systems). + ``auto-copy`` selects only modes that copy the video data back to system + memory after decoding. Currently, this selects only one of the following + modes: ``vaapi-copy``, ``dxva2-copy``, ``d3d11va-copy``, ``mediacodec``. + If none of these work, hardware decoding is disabled. This mode is always + guaranteed to incur no additional loss compared to software decoding, and + will allow CPU processing with video filters. + The ``vaapi`` mode, if used with ``--vo=opengl``, requires Mesa 11 and most likely works with Intel GPUs only. It also requires the opengl EGL backend (automatically used if available). You can also try the old GLX backend by -- cgit v1.2.3