From b2f2321cecf3a52b5b0c6408950de0e86ae8d625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Tue, 11 Dec 2012 18:11:25 +0100 Subject: [PATCH] doc/filters: extend fps documentation. --- doc/filters.texi | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 8d4f5ca6bd..1f36b3a9f2 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -2408,13 +2408,33 @@ This filter accepts the following named parameters: @table @option @item fps -Desired output framerate. +Desired output framerate. The default is @code{25}. @item round -Rounding method. The default is @code{near}. +Rounding method. + +Possible values are: +@table @option +@item zero +zero round towards 0 +@item inf +round away from 0 +@item down +round towards -infinity +@item up +round towards +infinity +@item near +round to nearest +@end table +The default is @code{near}. @end table +Alternatively, the options can be specified as a flat string: +@var{fps}[:@var{round}]. + +See also the @ref{setpts} filter. + @section framestep Select one frame every N. @@ -4867,6 +4887,7 @@ sendcmd=f=test.cmd,drawtext=fontfile=FreeSerif.ttf:text='',hue @end example @end itemize +@anchor{setpts} @section asetpts, setpts Change the PTS (presentation timestamp) of the input frames.