From 11423acf3048445620bf1e8987b3f7aa04887cf0 Mon Sep 17 00:00:00 2001 From: rcombs Date: Wed, 23 Dec 2020 00:40:32 -0600 Subject: sub: by default, don't render timestamps after video EOF This fixes a long-standing apparent issue where mpv would display the last frame with no subtitles at EOF. This is caused by sub rendering switching from video timestamps to audio timestamps when the video ends, and audio streams often running past the timestamp of the last video frame. However, authoring tools (most notably Aegisub) don't tend to provide easy ways to add meaningful subtitles after the end of the video, so this is rarely actually useful. --- DOCS/man/options.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'DOCS') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 4dfa459e00..fb111ded39 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -2597,6 +2597,13 @@ Subtitles This works for ``dvb_teletext`` subtitle streams, and if FFmpeg has been compiled with support for it. +``--sub-past-video-end`` + After the last frame of video, if this option is enabled, subtitles will + continue to update based on audio timestamps. Otherwise, the subtitles + for the last video frame will stay onscreen. + + Default: disabled + ``--sub-font=`` Specify font to use for subtitles that do not themselves specify a particular font. The default is ``sans-serif``. -- cgit v1.2.3