From d470766000250ada785da3513dc7a476447e7e73 Mon Sep 17 00:00:00 2001 From: Mohammad AlSaleh Date: Sat, 28 Oct 2023 15:54:43 +0300 Subject: 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 --- DOCS/man/options.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'DOCS/man/options.rst') 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=`` + 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=`` Adjust subtitle timing is to remove minor gaps or overlaps between subtitles (if the difference is smaller than 210 ms, the gap or overlap -- cgit v1.2.3