• Tobias Rapp's avatar
    avfilter/vf_fps: add eof_action filter option · 62bdec80
    Tobias Rapp authored
    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: 's avatarTobias Rapp <t.rapp@noa-archive.com>
    62bdec80
vf_fps.c 11.6 KB