Draw Rectangles, Lines, and Grids with the FFmpeg drawbox Filter
Learn how to draw rectangular boxes and lines on video with the FFmpeg drawbox filter. Covers coordinate, color, line-width, and fill settings, combining drawbox with drawgrid, and applying it to visualize object-detection results — all backed by primary sources.
May 2, 2026