mirror of
https://github.com/mpv-player/mpv
synced 2025-03-23 03:37:27 +00:00
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.
This commit is contained in:
parent
b1ee92ad4a
commit
48ce438fae
@ -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>``
|
||||
|
Loading…
Reference in New Issue
Block a user