summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-05-24 19:17:31 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:04 +0200
commit085c7106b9a1ee996cec89d747702dbe7eb29fb7 (patch)
treef511d5afed259c35156a885e5db87cdc98b945fc /DOCS/man
parentba95a0b5736a6175d5652841af1498206a45105a (diff)
downloadmpv-085c7106b9a1ee996cec89d747702dbe7eb29fb7.tar.bz2
mpv-085c7106b9a1ee996cec89d747702dbe7eb29fb7.tar.xz
demux: change backward-overlap to keyframe ranges instead of packets
This seems more useful in general. This change also happens to fix a miscounting of preroll packets when some of them were "rounded" away, and which could make it stuck. Also a simple intra-refresh encode with x264 (and muxed to mkv by it) seems to work now. I guess I misinterpreted earlier results.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/options.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 99bb8cad8d..0631fd6a12 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -543,7 +543,8 @@ Playback Control
accept suffixes such as ``KiB`` and ``MiB``.
``--video-backward-overlap=<auto|number>``, ``--audio-backward-overlap=<auto|number>``
- Number of overlapping packets to use for backward decoding (default: auto).
+ Number of overlapping keyframe ranges to use for backward decoding (default:
+ auto) ("keyframe" to be understood as in the mpv/ffmpeg specific meaning).
Backward decoding works by forward decoding in small steps. Some codecs
cannot restart decoding from any packet (even if it's marked as seek point),
which becomes noticeable with backward decoding (in theory this is a problem
@@ -554,10 +555,9 @@ Playback Control
discard the output. This option controls how many packets to feed. The
``auto`` choice is currently hardcoded to 1 for audio, and 0 for video.
- ``--video-backward-overlap`` was intended to handle intra-refresh video, but
- which does not work since libavcodec silently drops frames even with
- ``--vd-lavc-show-all``, and it's too messy to accurately guess which frames
- have been dropped.
+ ``--video-backward-overlap`` can potentially handle intra-refresh video,
+ depending on the exact conditions. You may have to use the
+ ``--vd-lavc-show-all`` option as well.
``--demuxer-backward-playback-step=<seconds>``
Number of seconds the demuxer should seek back to get new packets during