• Calvin Walton's avatar
    lavfi/concat: allow to support inputs with different frame rates · 3ad5d4df
    Calvin Walton authored
    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.
    3ad5d4df
Name
Last commit
Last update
..
alphamerge_alphaextract_rgb Loading commit data...
alphamerge_alphaextract_yuv Loading commit data...
anequalizer Loading commit data...
channelmap_one_int Loading commit data...
channelmap_one_str Loading commit data...
colorkey Loading commit data...
compand Loading commit data...
concat Loading commit data...
concat-vfr Loading commit data...
firequalizer Loading commit data...
gradfun Loading commit data...
hqdn3d Loading commit data...
hstack Loading commit data...
lavr_mix_output_zero Loading commit data...
mergeplanes Loading commit data...
overlay Loading commit data...
overlay-dvdsub-2397 Loading commit data...
overlay_nv12 Loading commit data...
overlay_nv21 Loading commit data...
overlay_rgb Loading commit data...
overlay_yuv420 Loading commit data...
overlay_yuv422 Loading commit data...
overlay_yuv444 Loading commit data...
scale2ref_keep_aspect Loading commit data...
scalenorm Loading commit data...
select-alternate Loading commit data...
setpts Loading commit data...
vstack Loading commit data...