doc/filters: extend fps documentation.

pull/8/head
Clément Bœsch 12 years ago
parent 0e0e3db189
commit b2f2321cec
  1. 25
      doc/filters.texi

@ -2408,13 +2408,33 @@ This filter accepts the following named parameters:
@table @option @table @option
@item fps @item fps
Desired output framerate. Desired output framerate. The default is @code{25}.
@item round @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 @end table
Alternatively, the options can be specified as a flat string:
@var{fps}[:@var{round}].
See also the @ref{setpts} filter.
@section framestep @section framestep
Select one frame every N. Select one frame every N.
@ -4867,6 +4887,7 @@ sendcmd=f=test.cmd,drawtext=fontfile=FreeSerif.ttf:text='',hue
@end example @end example
@end itemize @end itemize
@anchor{setpts}
@section asetpts, setpts @section asetpts, setpts
Change the PTS (presentation timestamp) of the input frames. Change the PTS (presentation timestamp) of the input frames.

Loading…
Cancel
Save