FFmpeg 1.1.16
Since* 0.10
#

Select the most representative frame in a given sequence of consecutive frames.

It accepts as argument the frames batch size to analyze (default N=100); in a set of N frames, the filter will pick one of them, and then handle the next batch of N frames until the end.

Since the filter keeps track of the whole frames sequence, a bigger N value will result in a higher memory usage, so a high value is not recommended.

The following example extract one picture each 50 frames:

thumbnail=50

Complete example of a thumbnail creation with ffmpeg:

ffmpeg -i in.avi -vf thumbnail,scale=300:200 -frames:v 1 out.png