From bfac1e81a66fff8445022695001f2e8ea56ee0b5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 3 Jan 2015 03:37:05 +0100 Subject: 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. --- DOCS/man/vf.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'DOCS/man') diff --git a/DOCS/man/vf.rst b/DOCS/man/vf.rst index bafefe8871..e0427bd88d 100644 --- a/DOCS/man/vf.rst +++ b/DOCS/man/vf.rst @@ -771,6 +771,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 -- cgit v1.2.3