doc/filters: extend fps documentation.

This commit is contained in:
Clément Bœsch 2012-12-11 18:11:25 +01:00
parent 0e0e3db189
commit b2f2321cec

View File

@ -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.