diff options
author | nanahi <130121847+na-na-hi@users.noreply.github.com> | 2024-04-03 20:42:07 -0400 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2024-04-07 15:38:57 +0200 |
commit | 48ce438fae94805cf164e29c6bc6f529b33b87d2 (patch) | |
tree | b89812b4abb9cbe8abd3dffbac0a14e99ed1b746 | |
parent | b1ee92ad4aec81dd31408d0c1223f0e9ea3cb738 (diff) | |
download | mpv-48ce438fae94805cf164e29c6bc6f529b33b87d2.tar.bz2 mpv-48ce438fae94805cf164e29c6bc6f529b33b87d2.tar.xz |
DOCS/man/options: mention the impact of --hwdec-codecs on startup time
Probing for hwdec can be very slow: on my setup (Nvidia GPU without
VP9 hwdec capability), this causes 2x hot cache startup time compared
to explicitly disabling VP9 in this list (500 ms -> 1 000 ms).
Also remove --vo=vdpau reference.
-rw-r--r-- | DOCS/man/options.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index a731d3116e..1ffecdf51d 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -1730,9 +1730,16 @@ Video This is usually only needed with broken GPUs, where a codec is reported as supported, but decoding causes more problems than it solves. + .. note:: + + On some broken drivers (e.g. NVIDIA on Linux), probing for codecs which + the GPU does not support can unnecessarily slow down video playback + initialization. To alleviate this, explicitly specify a list which + only includes the codecs supported on the setup. + .. admonition:: Example - ``mpv --hwdec=vdpau --vo=vdpau --hwdec-codecs=h264,mpeg2video`` + ``mpv --hwdec=vdpau --hwdec-codecs=h264,mpeg2video`` Enable vdpau decoding for h264 and mpeg2 only. ``--vd-lavc-check-hw-profile=<yes|no>`` |