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

Tobias Rapp t.rapp at noa-archive.com
Wed Oct 4 11:45:09 EEST 2017


On 25.09.2017 13:31, 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(-)
> 
> [...]

Ping.



More information about the ffmpeg-devel mailing list