From 02470814b5955ac796be5a72470d1e33b5146828 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 29 Apr 2018 19:36:25 +0200 Subject: [PATCH] doc/filters: add tmix examples Signed-off-by: Paul B Mahol --- doc/filters.texi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index f31747ebf5..1b817f374b 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -15615,6 +15615,28 @@ of each weight multiplied with pixel values to give final destination pixel value. By default @var{scale} is auto scaled to sum of weights. @end table +@subsection Examples + +@itemize +@item +Average 7 successive frames: +@example +tmix=frames=7:weights="1 1 1 1 1 1 1" +@end example + +@item +Apply simple temporal convolution: +@example +tmix=frames=3:weights="-1 3 -1" +@end example + +@item +Similar as above but only showing temporal differences: +@example +tmix=frames=3:weights="-1 2 -1":scale=1 +@end example +@end itemize + @section tonemap Tone map colors from different dynamic ranges.