mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
doc/filters: align order of fps filter options to implementation
Align order of "start_time" option within fps filter documentation to actual implementation. Also fix some documentation cosmetics. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
This commit is contained in:
parent
e01a270762
commit
4f5fb78134
@ -8669,13 +8669,21 @@ It accepts the following parameters:
|
||||
@item fps
|
||||
The desired output frame rate. The default is @code{25}.
|
||||
|
||||
@item start_time
|
||||
Assume the first PTS should be the given value, in seconds. This allows for
|
||||
padding/trimming at the start of stream. By default, no assumption is made
|
||||
about the first frame's expected PTS, so no padding or trimming is done.
|
||||
For example, this could be set to 0 to pad the beginning with duplicates of
|
||||
the first frame if a video stream starts after the audio stream or to trim any
|
||||
frames with a negative PTS.
|
||||
|
||||
@item round
|
||||
Rounding method.
|
||||
Timestamp (PTS) rounding method.
|
||||
|
||||
Possible values are:
|
||||
@table @option
|
||||
@item zero
|
||||
zero round towards 0
|
||||
round towards 0
|
||||
@item inf
|
||||
round away from 0
|
||||
@item down
|
||||
@ -8687,18 +8695,10 @@ round to nearest
|
||||
@end table
|
||||
The default is @code{near}.
|
||||
|
||||
@item start_time
|
||||
Assume the first PTS should be the given value, in seconds. This allows for
|
||||
padding/trimming at the start of stream. By default, no assumption is made
|
||||
about the first frame's expected PTS, so no padding or trimming is done.
|
||||
For example, this could be set to 0 to pad the beginning with duplicates of
|
||||
the first frame if a video stream starts after the audio stream or to trim any
|
||||
frames with a negative PTS.
|
||||
|
||||
@end table
|
||||
|
||||
Alternatively, the options can be specified as a flat string:
|
||||
@var{fps}[:@var{round}].
|
||||
@var{fps}[:@var{start_time}[:@var{round}]].
|
||||
|
||||
See also the @ref{setpts} filter.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user