summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-12-21 20:36:08 +0100
committerwm4 <wm4@nowhere>2012-12-28 13:44:01 +0100
commit527b39cafa9f84077aec68dc17558b8fce5c2106 (patch)
tree06a72f9adfbd66f6ad9554977ae1c14cbda11804 /DOCS
parent1cf5a4dbd741047b94ec0bdf7010569cab8a5559 (diff)
downloadmpv-527b39cafa9f84077aec68dc17558b8fce5c2106.tar.bz2
mpv-527b39cafa9f84077aec68dc17558b8fce5c2106.tar.xz
manpage: minor improvements
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/en/options.rst23
1 files changed, 14 insertions, 9 deletions
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst
index 51ecab6166..109633085a 100644
--- a/DOCS/man/en/options.rst
+++ b/DOCS/man/en/options.rst
@@ -532,9 +532,9 @@
enabled). These fonts can be used for SSA/ASS subtitle rendering
(``--ass`` option).
---end=<relative time>
- Stop at given absolute time. See ``--start`` for valid option values and
- examples.
+--end=<time>
+ Stop at given absolute time. Use ``--length`` if the time should be relative
+ to ``--start``. See ``--start`` for valid option values and examples.
--no-extbased, --extbased
``--no-extbased`` disables extension-based demuxer selection. By default, when the file type
@@ -547,7 +547,7 @@
double the framerate: ``--vf=yadif=1`` and ``--vo=vdpau:deint``.
:auto: (default) If the decoder does not export the appropriate
- information, it falls back to 0 (top field first).
+ information, it falls back to ``top`` (top field first).
:top: top field first
:bottom: bottom field first
@@ -1234,20 +1234,25 @@
--osd-duration=<time>
Set the duration of the OSD messages in ms (default: 1000).
---osd-color=<#RRGGBB>
+--osd-color=<#RRGGBB|#AARRGGBB>
Specify the color used for OSD. This is also used for unstyled text
subtitles. This option (and most other ``--osd-`` options) are ignored
when ASS subtitles are rendered, unless the ``--no-ass`` option is
specified.
- The color is specified in hex RGB, and each 2-digit group expresses a
- color value in the range 0 (``00``) to 255 (`FF`). For example, ``#FF0000``
- is red.
+ The color is specified as a RGB hex triplet, and each 2-digit group
+ expresses a color value in the range 0 (``00``) to 255 (`FF`).
+ For example, ``#FF0000`` is red. This is similar to web colors.
You can specify transparency by specifying an alpha value in the form
``#AARRGGBB``. 0 is fully transparent, while ``FF`` is opaque (opaque is
default with the shorter color specification).
+ *EXAMPLE*:
+
+ - ``--osd-color='#FF0000'`` set OSD to opaque red
+ - ``--osd-color='#C0808080'`` set OSD to 50% gray with 75% alpha
+
--osd-back-color=<#RRGGBB>
See ``--osd-color``. Color used for OSD text background.
@@ -1811,7 +1816,7 @@
``--start=-3:20 --length=10``
Seeks to 3 minutes and 20 seconds before the end of the file, plays
10 seconds, and exits.
- ``--start=#2 --end=#4``
+ ``--start='#2' --end='#4'``
Plays chapters 2 and 3, and exits.
--ssf=<mode>