Why Do This in Your Browser?
Contact sheets — also called sprite sheets, preview grids, or video thumbnails — are how every download site and torrent index lets you see a video's content at a glance. They're trivial to make with FFmpeg's `tile` filter, and yet most online tools wrap them in upload-process-download workflows that turn a 5-second operation into a 5-minute one.
FFmpeg.wasm with the tile and scale filters runs the whole operation locally. The tool picks N evenly spaced frames (skipping the very start and end), scales each to the target thumbnail width, and tiles them into an R×C grid with your chosen spacing between tiles. With Timestamps on, each tile is labelled with the exact time of the frame it shows. Output is a single PNG or JPG.
How It Works
Pick the grid shape (a preset or custom rows × columns), thumbnail width in pixels, spacing and output format. The tool divides the video into equal intervals, uses FFmpeg's `select` filter to take one real frame per interval, and the `tile` filter to build the contact sheet.
Options: spacing between thumbnails (0–20 px, on the dark page colour) and a timestamp label on each frame. JPG output is smaller (good for embedding in markdown or sharing); PNG preserves text overlays sharply (good for documentation, archives, video catalogues).
Tip: For individual frame export (not tiled), the Video Frame Extractor tool is the right pick — it exports a zip of separate PNGs. Use this thumbnail-grid tool when you want a single overview image. Pair with the Video Compressor to make the grid file smaller before sharing.
Common Use Cases
Worked example: where the frames come from
For an R×C grid the tool divides the duration into R×C + 1 equal steps and wants tile k at k × step. FFmpeg's select filter keeps a frame when a multiple of the step falls between the previous frame and this one, so each tile is the first frame at or after its target time and the error never builds up; then the frames are scaled and tiled. On October 13, 2026 we ran that filter chain with desktop FFmpeg 6.1.1 on 30 fps test clips and logged the time of every frame chosen:
| Clip and grid | Step | Frames tiled | Frame times | Worst gap after the ideal time | Image |
|---|---|---|---|---|---|
| 60 s, 4×4 | 3.529 s | 16 of 16 | 3.533, 7.067 … 56.500 s | 0.031 s (under 1 frame) | 1292×732 |
| 60 s, 3×3 | 6.000 s | 9 of 9 | 6.0, 12.0 … 54.0 s | 0 | 968×548 |
| 8 s, 5×5 | 0.308 s | 25 of 25 (was 24, last tile empty) | 0.333, 0.633 … 7.700 s | 0.031 s (was 0.615 s) | 1616×916 |
- Every tile within one frame. A frame only exists every 1/30 s, so the best any tool can do is the first frame at or after the target; the worst case above is 0.031 s, under one frame at 30 fps, and the timestamp labels show each frame's real time.
- The previous rule drifted. It kept a frame once a full step had passed since the last frame it kept, so on the 8 s, 5×5 sheet each wait for the next frame added up to 0.615 s and the video ended before the last tile. We also ran the page itself in Chromium with FFmpeg.wasm on that clip and matched every tile against all 240 frames: now 25 of 25 tiles show exactly their target frame; the old page filled 23 tiles, drifting by up to 17 frames.
- Very short clips. If the step is shorter than one frame (for example a 10×10 grid of a 2 s clip at 30 fps), two targets can share a frame and the last tiles stay empty; use a smaller grid.
- Size of the sheet. Width is cols × thumbnail width plus padding; height follows the video's aspect ratio (rounded to an even number). A 4×4 sheet of 320 px thumbnails from 16:9 video is 1292×732 with 4 px padding. With Timestamps on, the image is redrawn on a canvas and re-saved (JPG at quality 0.92).
Sources
Checked on .