summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorMohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>2023-10-28 15:54:43 +0300
committerDudemanguy <random342@airmail.cc>2023-11-07 20:46:40 +0000
commitd470766000250ada785da3513dc7a476447e7e73 (patch)
treea75579ab409735bc935411f381e2fe7a043d3d8a /DOCS/man/options.rst
parentc2b3d967baf0f38807764ee9a04d620de19d3403 (diff)
downloadmpv-d470766000250ada785da3513dc7a476447e7e73.tar.bz2
mpv-d470766000250ada785da3513dc7a476447e7e73.tar.xz
sub: add --sub-stretch-durations option
Stretch a subtitle duration so it ends when the next one starts. Should help with subtitles which erroneously have zero durations. I found such a subrip substitles stream in the wild. Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 42399509ae..d8f55f4cd1 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -2648,6 +2648,14 @@ Subtitles
particular subtitles in mkv files) are always assumed to be UTF-8.
+``--sub-stretch-durations=<yes|no>``
+ Stretch a subtitle duration so it ends when the next one starts.
+ Should help with subtitles which erroneously have zero durations.
+
+ .. note::
+
+ Only applies to text subtitles.
+
``--sub-fix-timing=<yes|no>``
Adjust subtitle timing is to remove minor gaps or overlaps between
subtitles (if the difference is smaller than 210 ms, the gap or overlap