diff options
author | Paul B Mahol <onemda@gmail.com> | 2022-12-06 21:31:33 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2022-12-08 13:03:42 +0100 |
commit | f0f19f3d3d58eb9030fdf54884c5ea94e5481604 (patch) | |
tree | 880c655e1dd2e3c18767d5f99b04157c13f53ebc /doc | |
parent | 9ca139b2aa1e25b87072d8321402fa200edb894d (diff) |
avfilter: add corr video filter
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index f45b579a69..1cb7fd94a7 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -10110,6 +10110,30 @@ ffmpeg -f lavfi -i nullsrc=s=100x100,coreimage=filter=CIQRCodeGenerator@@inputMe @end example @end itemize +@section corr + +Obtain the correlation 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 correlation is printed through +the logging system. + +The filter stores the calculated correlation of each frame in frame metadata. + +This filter also supports the @ref{framesync} options. + +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 corr -f null - +@end example + @section cover_rect Cover a rectangular object |