summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-05 21:23:15 +0100
committerwm4 <wm4@nowhere>2013-12-05 22:58:53 +0100
commite1966e4aae019b8bd13ccac462de2518d56269b2 (patch)
treec2a3b657fa458a662bcafe32beebd6d3de137aae /DOCS
parenta558d84108ede30f259ee88eeb5da0567295e970 (diff)
downloadmpv-e1966e4aae019b8bd13ccac462de2518d56269b2.tar.bz2
mpv-e1966e4aae019b8bd13ccac462de2518d56269b2.tar.xz
video: allow hardware decoding only for certain codecs
In particular, this disables mpeg4. There are some files out there that use GMC, a usually rarely used and ineffective feature, which is not supported by most hardware decoders. In these cases the hw decoder outputs garbage, while software decoding works perfectly fine. We can't really fallback to software decoding in these cases, because we don't know that something is wrong in the first place. I can't see any advantages of hw decoding of mpeg4, so it's better to disable it.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/en/options.rst16
1 files changed, 12 insertions, 4 deletions
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst
index efe18f9eab..962f7c9019 100644
--- a/DOCS/man/en/options.rst
+++ b/DOCS/man/en/options.rst
@@ -1135,12 +1135,20 @@ OPTIONS
The ``vaapi-copy`` function allows you to use vaapi with any VO. Because
this copies the decoded video back to system RAM, it's quite inefficient.
+ .. note::
+
+ When using this switch, hardware decoding is still only done for some
+ codecs. See ``--hwdec-codecs`` to enable hardware decoding for more
+ codecs.
+
``--hwdec-codecs=<codec1,codec2,...|all>``
- Allow hardware decoding for a given list of codecs only. The default is the
- special value ``all``, which always allows all codecs.
+ Allow hardware decoding for a given list of codecs only. The special value
+ ``all`` always allows all codecs.
+
+ By default this is set to ``h264,vc1,wmv3``.
- This is usually only needed with broken GPUs, where fallback on software
- decoding does not work properly.
+ This is usually only needed with broken GPUs, where a codec is reported
+ as supported, but decoding causes more problems than it solves.
.. admonition:: Example