summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-03 03:37:05 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:18 +0900
commitdbc00297cc36e8470ff9996111077a72ab8a4a5f (patch)
tree0ea7eacc31563afced92a73a434677e830f0d58a /DOCS
parent1e14d65db88017b41f661f105a23b71457341e80 (diff)
downloadmpv-dbc00297cc36e8470ff9996111077a72ab8a4a5f.tar.bz2
mpv-dbc00297cc36e8470ff9996111077a72ab8a4a5f.tar.xz
vf_vapoursynth: pass through container FPS value
This is basically a hack; but apparently a needed one, since many vapoursynth filters insist on having a FPS set. We need to apply the FPS override before creating the filters. Also change some terminal output related to the FPS value.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/vf.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/DOCS/man/vf.rst b/DOCS/man/vf.rst
index 4750c76c6f..322412dae8 100644
--- a/DOCS/man/vf.rst
+++ b/DOCS/man/vf.rst
@@ -921,6 +921,15 @@ Available filters are:
Display size of the video. Can be different from video size if the
video does not use square pixels (e.g. DVD).
+ ``container_fps``
+ FPS value as reported by file headers. This value can be wrong or
+ completely broken (e.g. 0 or NaN). Even if the value is correct,
+ if another filter changes the real FPS (by dropping or inserting
+ frames), the value of this variable might not be useful. Note that
+ the ``--fps`` command line option overrides this value.
+
+ Useful for some filters which insist on having a FPS.
+
``vapoursynth-lazy``
The same as ``vapoursynth``, but doesn't load Python scripts. Instead, a
custom backend using Lua and the raw VapourSynth API is used. The syntax