FFmpeg 0.11.5
Since* 0.7
#

Draw a colored box on the input image.

It accepts the syntax:

drawbox=x:y:width:height:color
x, y

Specify the top left corner coordinates of the box. Default to 0.

width, height

Specify the width and height of the box, if 0 they are interpreted as the input width and height. Default to 0.

color

Specify the color of the box to write, it can be the name of a color (case insensitive match) or a 0xRRGGBB[AA] sequence.

Follow some examples:

# draw a black box around the edge of the input image
drawbox

# draw a box with color red and an opacity of 50%
drawbox=10:20:200:60:red@0.5"