From 3720b3f17d4951ab839418b5cbfd1a85eb74adba Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 24 Dec 2013 17:46:14 +0100 Subject: player: add --secondary-sid for displaying a second subtitle stream This is relatively hacky, but it's Christmas, so it's ok. This does two things: 1. allow selecting two subtitle tracks, and 2. include a hack that renders the second subtitle always as toptitle. See manpage additions how to use this. --- DOCS/man/en/input.rst | 1 + DOCS/man/en/options.rst | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) (limited to 'DOCS/man/en') diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst index aca35177a6..a5de6df18d 100644 --- a/DOCS/man/en/input.rst +++ b/DOCS/man/en/input.rst @@ -595,6 +595,7 @@ Name W Comment ``video-unscaled`` x see ``--video-unscaled`` ``program`` x switch TS program (write-only) ``sid`` x current subtitle track (similar to ``--sid``) +``secondary-sid`` x secondary subtitle track (``--secondary-sid``) ``sub`` x alias for ``sid`` ``sub-delay`` x see ``--sub-delay`` ``sub-pos`` x see ``--sub-pos`` diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst index a1f48d32a1..b2f9d30b68 100644 --- a/DOCS/man/en/options.rst +++ b/DOCS/man/en/options.rst @@ -2017,6 +2017,28 @@ OPTIONS Specify the screen width for video output drivers which do not know the screen resolution, like ``x11`` and TV-out. +``--secondary-sid=`` + Select a secondary subtitle stream. This is similar to ``--sid``. If a + secondary subtitle is selected, it will be rendered as toptitle (i.e. on + the top of the screen) alongside the normal subtitle, and provides a way + to render two subtitles at once. + + there are some caveats associated with this feature. For example, secondary + subtitles are never shown on the terminal if video is disabled. + + .. note:: + + Styling and interpretation of any formatting tags is disabled for the + secondary subtitle. Internally, the same mechanism as ``--no-ass`` is + used to strip the styling. + + .. note:: + + If the main subtitle stream contains formatting tags which display the + subtitle at the top of the screen, it will overlap with the secondary + subtitle. To prevent this, you could use ``--no-ass`` to disable + styling in the main subtitle stream. + ``--show-profile=`` Show the description and content of a profile. -- cgit v1.2.3