summaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
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/filters.texi
parentc0f2abcc8d2acfc95e675a05303db958c3866b03 (diff)
downloadffmpeg-streaming-02470814b5955ac796be5a72470d1e33b5146828.zip
ffmpeg-streaming-02470814b5955ac796be5a72470d1e33b5146828.tar.gz
doc/filters: add tmix examples
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index f31747e..1b817f3 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.
OpenPOWER on IntegriCloud