summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-25 00:03:37 +0200
committerwm4 <wm4@nowhere>2013-06-25 00:34:58 +0200
commit00de44eec90e45f4801e45d636b6759e1fdb9d2f (patch)
tree944b084ba34c465e861c0bd6f48bdccabcf82556 /DOCS
parent125c20bd081a7d99681f3ac25174c1360b885436 (diff)
downloadmpv-00de44eec90e45f4801e45d636b6759e1fdb9d2f.tar.bz2
mpv-00de44eec90e45f4801e45d636b6759e1fdb9d2f.tar.xz
options: add -sub-speed option
Should we actually get into trouble for unproper handling of frame-based subtitle formats, this might be the simplest way to work this around. Also is a bit more intuitive than -subfps, which might use an unknown, misdetected, or non-sense video FPS. Still pretty silly, though.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/en/options.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst
index 956758ef7d..57af5ff209 100644
--- a/DOCS/man/en/options.rst
+++ b/DOCS/man/en/options.rst
@@ -2062,6 +2062,8 @@
*NOTE*: <rate> > movie fps speeds the subtitles up for frame-based
subtitle files and slows them down for time-based ones.
+ Also see ``--sub-speed`` option.
+
--sub-gauss=<0.0-3.0>
Apply gaussian blur to image subtitles (default: 0). This can help making
pixelated DVD/Vobsubs look nicer. A value other than 0 also switches to
@@ -2088,6 +2090,16 @@
*NOTE*: this affects ASS subtitles as well, and may lead to incorrect
subtitle rendering. Use with care, or use ``--sub-text-font-size`` instead.
+--sub-speed=<0.1-10.0>
+ Multiply the subtitle event timestamps with the given value. Can be used
+ to fix the playback speed for frame-based subtitle formats. Works for
+ external text subtitles only.
+
+ *EXAMPLE*:
+
+ - ``--sub-speed=25/23.976`` play frame based subtitles, which have been
+ loaded assuming a framerate of 23.976, at 25 FPS.
+
--sws=<n>
Specify the software scaler algorithm to be used with ``--vf=scale``. This
also affects video output drivers which lack hardware acceleration,