diff options
author | Tobias Rapp <t.rapp@noa-archive.com> | 2017-09-21 13:40:36 +0200 |
---|---|---|
committer | Tobias Rapp <t.rapp@noa-archive.com> | 2017-10-06 17:11:20 +0200 |
commit | 62bdec806ecd3539856dffc86542bdc46a1932c1 (patch) | |
tree | 599f46b4f098fa7fb2152295c50c944bc37c2cd7 /doc/filters.texi | |
parent | 1e27837265702b63db65122e97178a0ca4d25e05 (diff) | |
download | ffmpeg-62bdec806ecd3539856dffc86542bdc46a1932c1.tar.gz |
avfilter/vf_fps: add eof_action filter option
Allows to specify the action to be performed when reading the last frame
from the internal FIFO buffer. By default the last frame is written to
filter output depending on the timestamp rounding method. When using
"pass" action the last frame is passed through if input duration
has not been reached yet.
Examples using an input file with 25Hz, 1.4sec duration:
- "fps=fps=1:round=near" generates an output file of 1sec
- "fps=fps=1:round=near:eof_action=pass" generates an output file of
2sec
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 624e5cd01b..57189c77b0 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -8695,6 +8695,18 @@ round to nearest @end table The default is @code{near}. +@item eof_action +Action performed when reading the last frame. + +Possible values are: +@table @option +@item round +Use same timestamp rounding method as used for other frames. +@item pass +Pass through last frame if input duration has not been reached yet. +@end table +The default is @code{round}. + @end table Alternatively, the options can be specified as a flat string: |