FFmpeg 4.2.10
Since* 4.2
#

Temporarily pad video frames.

The filter accepts the following options:

start

Specify number of delay frames before input video stream.

stop

Specify number of padding frames after input video stream. Set to -1 to pad indefinitely.

start_mode

Set kind of frames added to beginning of stream. Can be either add or clone. With add frames of solid-color are added. With clone frames are clones of first frame.

stop_mode

Set kind of frames added to end of stream. Can be either add or clone. With add frames of solid-color are added. With clone frames are clones of last frame.

start_duration, stop_duration

Specify the duration of the start/stop delay. See the Time duration section in the ffmpeg-utils(1) manual for the accepted syntax. These options override start and stop.

color

Specify the color of the padded area. For the syntax of this option, check the "Color" section in the ffmpeg-utils manual.

The default value of color is "black".