ffmpeg/tests/filtergraphs
Calvin Walton 3ad5d4df9c lavfi/concat: allow to support inputs with different frame rates
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 framerate it might cause judder.

This patch checks if all of the video inputs have the same framerate, and
if not it sets the out link to use '1/0' as the frame rate, the value
meaning "unknown/vfr".

A test is added to verify the VFR behaviour. The existing test for CFR
behaviour passes unchanged.
2019-09-08 16:48:28 +02:00
..
alphamerge_alphaextract_rgb
alphamerge_alphaextract_yuv
anequalizer
channelmap_one_int
channelmap_one_str
colorkey
compand
concat
concat-vfr
firequalizer
gradfun
hqdn3d
hstack
lavr_mix_output_zero
mergeplanes
overlay
overlay-dvdsub-2397
overlay_nv12
overlay_nv21
overlay_rgb
overlay_yuv420
overlay_yuv422
overlay_yuv444
scale2ref_keep_aspect
scalenorm
select-alternate
setpts
vstack