One-line ffmpeg tblend trick visualizes motion in video — and can even estimate speed

johnowhitaker · x · 2026-09-29

johnowhitaker shared a one-line ffmpeg command that visualizes motion via frame differencing — the demo makes buzzing bees in a video pop out, and you can even estimate speed from it:

ffmpeg -i input.mp4 -vf "tblend=allmode=difference128,eq=contrast=2.0:saturation=0,format=yuv420p" -c:v libx264 -crf 18 -preset fast motionmap.mp4

Original post →

More from coding & agent

coding & agent channel →