[FFmpeg-trac] #8409(undetermined:new): tpad filter doesn't work with -r on input

FFmpeg trac at avcodec.org
Mon Dec 2 02:37:16 EET 2019

#8409: tpad filter doesn't work with -r on input
             Reporter:  occvtech     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  tpad         |               Blocked By:
  framerate                          |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 I'm trying to use the tpad filter on file inputs that also need their
 framerate changed.  If I use the -r flag on the input file, the output
 ends up duplicating the last frame of the file for a really long
 (arbitrary time), and throws an error saying "More than 1000 frames

 Here's an example of the command:

 ffmpeg -r 15 -i INPUT -filter_complex "[0:v]tpad=stop_duration=5[out]"
 -map [out] OUTPUT

 If instead, I remove the -r 15, and instead use the -framerate flag or the
 frame rate filter, then the command works properly.

Ticket URL: <https://trac.ffmpeg.org/ticket/8409>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list