diff options
author | Clément Bœsch <clement.boesch@smartjog.com> | 2011-10-24 17:11:10 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-12-27 11:05:08 +0100 |
commit | 15a2a29ba3345083c95d8a920d8950267db8a6f5 (patch) | |
tree | 3362d52100a0ea4ef7b1a0edf0d88d122f68ca9b /doc/filters.texi | |
parent | b72544370aa22697cc28d4c85e642431fa591629 (diff) | |
download | ffmpeg-streaming-15a2a29ba3345083c95d8a920d8950267db8a6f5.zip ffmpeg-streaming-15a2a29ba3345083c95d8a920d8950267db8a6f5.tar.gz |
lavfi: add thumbnail video filter.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 699e0c1..37fd9cd 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -2400,6 +2400,26 @@ For example: will create two separate outputs from the same input, one cropped and one padded. +@section thumbnail +Select the most representative frame in a given sequence of consecutive frames. + +It accepts as argument the frames batch size to analyze (default @var{N}=100); +in a set of @var{N} frames, the filter will pick one of them, and then handle +the next batch of @var{N} frames until the end. + +Since the filter keeps track of the whole frames sequence, a bigger @var{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: +@example +thumbnail=50 +@end example + +Complete example of a thumbnail creation with @command{ffmpeg}: +@example +ffmpeg -i in.avi -vf thumbnail,scale=300:200 -frames:v 1 out.png +@end example + @section transpose Transpose rows with columns in the input video and optionally flip it. |