[FFmpeg-cvslog] doc/filters: align order of fps filter options to implementation
Tobias Rapp
git at videolan.org
Thu Oct 5 11:36:02 EEST 2017
ffmpeg | branch: master | Tobias Rapp <t.rapp at noa-archive.com> | Thu Oct 5 10:14:26 2017 +0200| [4f5fb7813423ae67d3a6897999cc97e02f75dee1] | committer: Tobias Rapp
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 at noa-archive.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4f5fb7813423ae67d3a6897999cc97e02f75dee1
---
doc/filters.texi | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/doc/filters.texi b/doc/filters.texi
index 601701f591..624e5cd01b 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -8669,13 +8669,21 @@ It accepts the following parameters:
@item fps
The desired output frame rate. The default is @code{25}.
+ at 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}.
- at 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:
- at var{fps}[:@var{round}].
+ at var{fps}[:@var{start_time}[:@var{round}]].
See also the @ref{setpts} filter.
More information about the ffmpeg-cvslog
mailing list