[FFmpeg-devel] [PATCH v2 2/2] avfilter/vf_fps: add eof_action filter option

Michael Niedermayer michael at niedermayer.cc
Thu Oct 5 00:34:06 EEST 2017


On Mon, Sep 25, 2017 at 01:31:19PM +0200, Tobias Rapp wrote:
> 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 at noa-archive.com>
> ---
>  doc/filters.texi      | 12 ++++++++++++
>  libavfilter/version.h |  2 +-
>  libavfilter/vf_fps.c  | 14 +++++++++++++-
>  3 files changed, 26 insertions(+), 2 deletions(-)

ok with me assuming noone (maybe nicolas ?) has comments

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171004/80053b03/attachment.sig>


More information about the ffmpeg-devel mailing list