summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-03-03 15:21:04 +0100
committerPaul B Mahol <onemda@gmail.com>2021-03-06 12:41:30 +0100
commit4a69cd4e4eba490b7e1ce33b45662e26d87a6a18 (patch)
treedcef53514caf1250fdc12e01b531f1427590fdc8 /doc
parentdc20b27802a4db3e46952b53c3aa8f331beffd37 (diff)
avfilter: add identity video filter
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 426cb158da..38698b6542 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -13382,6 +13382,28 @@ By default value is 0.
The @code{hysteresis} filter also supports the @ref{framesync} options.
+@section identity
+
+Obtain the identity score between two input videos.
+
+This filter takes two input videos.
+
+Both input videos must have the same resolution and pixel format for
+this filter to work correctly. Also it assumes that both inputs
+have the same number of frames, which are compared one by one.
+
+The obtained per component, average, min and max identity score is printed through
+the logging system.
+
+The filter stores the calculated identity scores of each frame in frame metadata.
+
+In the below example the input file @file{main.mpg} being processed is compared
+with the reference file @file{ref.mpg}.
+
+@example
+ffmpeg -i main.mpg -i ref.mpg -lavfi identity -f null -
+@end example
+
@section idet
Detect video interlacing type.