Re: [FFmpeg-devel] [PATCH v2] Allow 'concat' filter to support inputs with different frame rates

2017-03-14 Thread Calvin Walton
On Sat, 2017-03-11 at 14:28 +0100, Michael Niedermayer wrote: > On Thu, Mar 09, 2017 at 03:27:16PM -0500, Calvin Walton wrote: > > --- > >  libavfilter/avf_concat.c |  15 ++- > >  tests/fate/filter-video.mak  |   4 +- > >  tests/ref/fate/filter-concat-vfr | 224 > >

Re: [FFmpeg-devel] [PATCH v2] Allow 'concat' filter to support inputs with different frame rates

2017-03-11 Thread Michael Niedermayer
On Thu, Mar 09, 2017 at 03:27:16PM -0500, Calvin Walton wrote: > Right now, the concat filter does not set the frame_rate value on any of > the out links. As a result, the default ffmpeg behaviour kicks in - to > copy the framerate from the first input to the outputs. > > If a later input is

[FFmpeg-devel] [PATCH v2] Allow 'concat' filter to support inputs with different frame rates

2017-03-09 Thread Calvin Walton
Right now, the concat filter does not set the frame_rate value on any of the out links. As a result, the default ffmpeg behaviour kicks in - to copy the framerate from the first input to the outputs. If a later input is higher framerate, this results in dropped frames; if a later input is lower