summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-16 20:04:02 +0100
committerwm4 <wm4@nowhere>2015-02-16 20:04:02 +0100
commit14a24f35bfc78121591b14e9ad8e137791582212 (patch)
tree6f38c56d3bb67bffa16ea79e6148bb115dc5eb7c /DOCS
parent4c283d5f8dbfdd220015c9c4d661ec9b5a2ba6f7 (diff)
downloadmpv-14a24f35bfc78121591b14e9ad8e137791582212.tar.bz2
mpv-14a24f35bfc78121591b14e9ad8e137791582212.tar.xz
osd: customizable subtitle and OSD position
You can set in which "corner" the OSD and subtitles are shown. I'd prefer it a bit more general (so you could set the alignment using a factor), but the libass API does not provide this.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/options.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index a7ec90b2ff..a50bd09e27 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -2540,6 +2540,17 @@ OSD
Default: 22.
+``--osd-align-x=<left|center|right>``, ``--sub-text-align-x=...``
+ Control to which corner of the screen OSD or text subtitles should be
+ aligned to (default: ``center`` for subs, ``left`` for OSD).
+
+ Never applied to ASS subtitles, except in ``--no-sub-ass`` mode. Likewise,
+ this does not apply to image subtitles.
+
+``--osd-align-y=<top|center|bottom>`` ``--sub-text-align-y=...``
+ Vertical position (default: ``bottom`` for subs, ``top`` for OSD).
+ Details see ``--osd-align-x``.
+
``--osd-scale=<factor>``
OSD font size multiplier, multiplied with ``--osd-font-size`` value.