summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-27 22:29:40 +0100
committerwm4 <wm4@nowhere>2020-02-27 22:30:46 +0100
commit05564af1ac22fcea080c6f8bb993744a1a4cadd6 (patch)
treee7962c1536a02ad9b1cd6abb76214d1e84bdd802 /DOCS
parentb56e2efd5f3d2ed5e62fe02acdaedef03b2d2fbc (diff)
downloadmpv-05564af1ac22fcea080c6f8bb993744a1a4cadd6.tar.bz2
mpv-05564af1ac22fcea080c6f8bb993744a1a4cadd6.tar.xz
demux_mkv: document probe-start-time option and enable it by default
This is useful with live streams, and it's not much worse than the h264 first packet hack, which reads some data anyway. For some reason, the option wasn't even documented, so do that. In addition, print the start time even if it's negative. That should not be possible, but for some reason, the field is an int64_t copied from an uint64_t so... whatever. Keeping the logging slightly more straight forward is better anyway.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/options.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 6e2dc5498a..74a623e6c5 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -3406,6 +3406,12 @@ Demuxer
``--demuxer-mkv-subtitle-preroll-secs-index=<value>``
See ``--demuxer-mkv-subtitle-preroll``.
+``--demuxer-mkv-probe-start-time=<yes|no>``
+ Check the start time of Matroska files (default: yes). This simply reads the
+ first cluster timestamps and assumes it is the start time. Technically, this
+ also reads the first timestamp, which may increase latency by one frame
+ (which may be relevant for live streams).
+
``--demuxer-mkv-probe-video-duration=<yes|no|full>``
When opening the file, seek to the end of it, and check what timestamp the
last video packet has, and report that as file duration. This is strictly