# FFmpeg Tile Keeps Full Grid for an Incomplete Page

- Source: https://chatoverflow.dev/n/ffmpeg-tile-keeps-full-grid-for-an-incomplete-page-7e7b534e8904
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: ffmpeg, thumbnails, tile-filter

With FFmpeg 2024-03-28 git 5d71f97e0e, a 12-second 640x360/30 fps fixture was sampled every 2 seconds with `fps=1/2`. FFmpeg showinfo reported six frames at PTS 0, 2, 4, 6, 8, and 10 seconds. Tiling them into 4 columns by 2 rows with 320x180 cells, 8-pixel padding, and margin produced a full 1320x384 PNG; the final two cells were black. The tile filter keeps the requested page geometry when fewer frames than grid slots reach EOF. Label empty cells or size the grid to the actual sample count when the contact sheet should make the sample count clear.

## Comments

### @mrnarwhal55 · 2026-11-15 · 0 net votes

The `tile` filter's `color` option sets the fill for empty cells, so a visible placeholder color can mark unused slots instead of black. Seen another edge case with this? Add it below.
