Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 17d3ee9

Browse files
author
nadeko
committed
CI autodeploy
1 parent fc7e161 commit 17d3ee9

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

‎manual/master/index.html‎

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4115,9 +4115,12 @@ <h2>Subtitles</h2>
41154115
<dd><p class="first">Applies filter removing subtitle additions for the deaf or hard-of-hearing (SDH).
41164116
This is intended for English, but may in part work for other languages too.
41174117
The intention is that it can be always enabled so may not remove
4118-
all parts added.
4119-
It removes speaker labels (like MAN:), upper case text in parentheses and
4120-
any text in brackets.</p>
4118+
all parts added.</p>
4119+
<p>It removes speaker labels (like MAN:) and any text enclosed within symbols like
4120+
parentheses or brackets as specified by the <tt class="docutils literal"><span class="pre">--sub-filter-sdh-enclosures</span></tt> option.
4121+
Note that parenthesis (full width parenthesis and the normal variant) are a special
4122+
case and only upper case text is removed. For more filtering, you can use the
4123+
<tt class="docutils literal"><span class="pre">--sub-filter-sdh-harder</span></tt> option.</p>
41214124
<p class="last">Default: <tt class="docutils literal">no</tt>.</p>
41224125
</dd>
41234126
<dt><tt class="docutils literal"><span class="pre">--sub-filter-sdh-harder=&lt;yes|no&gt;</span></tt></dt>
@@ -4126,6 +4129,14 @@ <h2>Subtitles</h2>
41264129
lower and upper case letters.</p>
41274130
<p class="last">Default: <tt class="docutils literal">no</tt>.</p>
41284131
</dd>
4132+
<dt><tt class="docutils literal"><span class="pre">--sub-filter-sdh-enclosures=&lt;string&gt;</span></tt></dt>
4133+
<dd><p class="first">Specify a string of characters that <tt class="docutils literal"><span class="pre">--sub-filter-sdh</span></tt> will use to potentially
4134+
remove text. Text that is enclosed within characters specified by this string will
4135+
be removed. Note that bracket characters with known pairs (such as <tt class="docutils literal">(</tt> or <tt class="docutils literal">[</tt>)
4136+
will be mapped internally to their matching right hand character, so you only need
4137+
to specify left hand characters.</p>
4138+
<p class="last">Default: <tt class="docutils literal">([(</tt>.</p>
4139+
</dd>
41294140
<dt><tt class="docutils literal"><span class="pre">--sub-filter-regex-...=...</span></tt></dt>
41304141
<dd><p class="first">Set a list of regular expressions to match on text subtitles, and remove any
41314142
lines that match (default: empty). This is a string list option. See
@@ -11327,7 +11338,7 @@ <h2>Input Commands that are Possibly Subject to Change</h2>
1132711338
information about the key state. The special key name <tt class="docutils literal">unmapped</tt> can be
1132811339
used to match any unmapped key.</p>
1132911340
</dd>
11330-
<dt><tt class="docutils literal"><span class="pre">overlay-add</span> &lt;id&gt; &lt;x&gt; &lt;y&gt; &lt;file&gt; &lt;offset&gt; &lt;fmt&gt; &lt;w&gt; &lt;h&gt; &lt;stride&gt;</tt></dt>
11341+
<dt><tt class="docutils literal"><span class="pre">overlay-add</span> &lt;id&gt; &lt;x&gt; &lt;y&gt; &lt;file&gt; &lt;offset&gt; &lt;fmt&gt; &lt;w&gt; &lt;h&gt; &lt;stride&gt; &lt;dw&gt; &lt;dh&gt;</tt></dt>
1133111342
<dd><p class="first">Add an OSD overlay sourced from raw data. This might be useful for scripts
1133211343
and applications controlling mpv, and which want to display things on top
1133311344
of the video window.</p>
@@ -11375,6 +11386,10 @@ <h2>Input Commands that are Possibly Subject to Change</h2>
1137511386
In general, the total amount of memory accessed is <tt class="docutils literal">stride * h</tt>.
1137611387
(Technically, the minimum size would be <tt class="docutils literal">stride * (h - 1) + w * 4</tt>, but
1137711388
for simplicity, the player will access all <tt class="docutils literal">stride * h</tt> bytes.)</p>
11389+
<p><tt class="docutils literal">dw</tt> and <tt class="docutils literal">dh</tt> specify the (optional) display size of the overlay.
11390+
The overlay visible portion of the overlay (<tt class="docutils literal">w</tt> and <tt class="docutils literal">h</tt>) is scaled to
11391+
in display to <tt class="docutils literal">dw</tt> and <tt class="docutils literal">dh</tt>. If parameters are not present, the
11392+
values for <tt class="docutils literal">w</tt> and <tt class="docutils literal">h</tt> are used.</p>
1137811393
<div class="admonition note last">
1137911394
<p class="first admonition-title">Note</p>
1138011395
<p class="last">Before mpv 0.18.1, you had to do manual &quot;double buffering&quot; when updating

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /