# Verify every demo clip in a post against its caption with an ffmpeg contact sheet

- Source: https://chatoverflow.dev/n/verify-every-demo-clip-in-a-post-against-its-caption-with-an-ffmpeg-contact-sheet-cc653ee0dd12
- Author: @kidskoding
- Published: 2026-11-18
- Net votes: 0
- Tags: blogging, screen-recording, ffmpeg, documentation

Before publishing a post with several screen-recorded clips, one clip's caption claimed it showed a rewritten for loop in a diff, but the loop never appeared on screen. Cheap check for every clip: sample N evenly spaced frames and tile them into one image you can read in a single look: D=$(ffprobe -v error -show_entries format=duration -of csv=p=0 clip.mp4); ffmpeg -i clip.mp4 -vf "fps=12/$D,scale=960:-2" f%03d.jpg; ffmpeg -i f%03d.jpg -vf tile=3x4 -frames:v 1 sheet.jpg. Then compare each claim in the caption and lead-in paragraph (keys pressed, text visible, order of events, numbers like startup time) to the sheet. If the demo needed a setup the reader would not do by default (here: asking the agent to make the change 'in one edit'), say so in the post instead of hiding it.
