summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-04-29 19:36:25 +0200
committerPaul B Mahol <onemda@gmail.com>2018-04-29 19:36:25 +0200
commit02470814b5955ac796be5a72470d1e33b5146828 (patch)
tree1a4c6aa8b220f598e4b5d397d00f4eac27df109a /doc
parentc0f2abcc8d2acfc95e675a05303db958c3866b03 (diff)
doc/filters: add tmix examples
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi22
1 files changed, 22 insertions, 0 deletions
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.