summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-04-14 19:19:44 +0200
committerwm4 <wm4@nowhere>2017-04-14 19:19:44 +0200
commit3709ce6718bed8a113d141cdf5e8198f22f3c5f7 (patch)
treeca5e9bd66f9f559365f630d6124592e48e7795e4 /DOCS/man
parent3e8510d515e9446f7c1f2b4372e501a713bb2502 (diff)
downloadmpv-3709ce6718bed8a113d141cdf5e8198f22f3c5f7.tar.bz2
mpv-3709ce6718bed8a113d141cdf5e8198f22f3c5f7.tar.xz
demux: estimate total packet size, deprecate packet number limits
It's all explained in the DOCS changes. Although this option was always kind of obscure and pointless. Until it is removed, the only reason for setting it would be to raise the static default limit, so change its default to INT_MAX so that it does nothing by default.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/options.rst18
1 files changed, 12 insertions, 6 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 5814a41634..7d3070fda0 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -2754,20 +2754,26 @@ Demuxer
``--demuxer-rawvideo-size=<value>``
Frame size in bytes when using ``--demuxer=rawvideo``.
-``--demuxer-max-packets=<packets>``, ``--demuxer-max-bytes=<bytes>``
+``--demuxer-max-bytes=<bytes>``
This controls how much the demuxer is allowed to buffer ahead. The demuxer
will normally try to read ahead as much as necessary, or as much is
- requested with ``--demuxer-readahead-secs``. The ``--demuxer-max-...``
- options can be used to restrict the maximum readahead. This limits excessive
- readahead in case of broken files or desynced playback. The demuxer will
- stop reading additional packets as soon as one of the limits is reached.
- (The limits still can be slightly overstepped due to technical reasons.)
+ requested with ``--demuxer-readahead-secs``. The option can be used to
+ restrict the maximum readahead. This limits excessive readahead in case of
+ broken files or desynced playback. The demuxer will stop reading additional
+ packets as soon as one of the limits is reached. (The limits still can be
+ slightly overstepped due to technical reasons.)
Set these limits higher if you get a packet queue overflow warning, and
you think normal playback would be possible with a larger packet queue.
See ``--list-options`` for defaults and value range.
+``--demuxer-max-packets=<packets>``
+ Quite similar ``--demuxer-max-bytes=<bytes>``. Deprecated, because the
+ other option does basically the same job. Since mpv 0.25.0, the code
+ tries to account for per-packet overhead, which is why this option becomes
+ rather pointless.
+
``--demuxer-thread=<yes|no>``
Run the demuxer in a separate thread, and let it prefetch a certain amount
of packets (default: yes). Having this enabled may lead to smoother