[FFmpeg-devel] [PATCH v2 2/2] avfilter/vf_fps: add eof_action filter option
Tobias Rapp
t.rapp at noa-archive.com
Fri Oct 6 18:17:18 EEST 2017
On 04.10.2017 23:34, Michael Niedermayer wrote:
> 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
Pushed, thanks for the review.
Regards,
Tobias
More information about the ffmpeg-devel
mailing list