Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
f0f19f3d
Commit
f0f19f3d
authored
Dec 06, 2022
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: add corr video filter
parent
9ca139b2
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
366 additions
and
1 deletion
+366
-1
Changelog
Changelog
+1
-0
filters.texi
doc/filters.texi
+24
-0
Makefile
libavfilter/Makefile
+1
-0
allfilters.c
libavfilter/allfilters.c
+1
-0
version.h
libavfilter/version.h
+1
-1
vf_corr.c
libavfilter/vf_corr.c
+338
-0
No files found.
Changelog
View file @
f0f19f3d
...
@@ -26,6 +26,7 @@ version <next>:
...
@@ -26,6 +26,7 @@ version <next>:
- QSV AV1 encoder
- QSV AV1 encoder
- QSV decoding and encoding for 10/12bit 422, 10/12bit 444 HEVC and VP9
- QSV decoding and encoding for 10/12bit 422, 10/12bit 444 HEVC and VP9
- showcwt multimedia filter
- showcwt multimedia filter
- corr video filter
version 5.1:
version 5.1:
...
...
doc/filters.texi
View file @
f0f19f3d
...
@@ -10110,6 +10110,30 @@ ffmpeg -f lavfi -i nullsrc=s=100x100,coreimage=filter=CIQRCodeGenerator@@inputMe
...
@@ -10110,6 +10110,30 @@ ffmpeg -f lavfi -i nullsrc=s=100x100,coreimage=filter=CIQRCodeGenerator@@inputMe
@end example
@end example
@end itemize
@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
@section cover_rect
Cover a rectangular object
Cover a rectangular object
...
...
libavfilter/Makefile
View file @
f0f19f3d
...
@@ -241,6 +241,7 @@ OBJS-$(CONFIG_CONVOLUTION_OPENCL_FILTER) += vf_convolution_opencl.o opencl.o
...
@@ -241,6 +241,7 @@ OBJS-$(CONFIG_CONVOLUTION_OPENCL_FILTER) += vf_convolution_opencl.o opencl.o
OBJS-$(CONFIG_CONVOLVE_FILTER)
+=
vf_convolve.o
framesync.o
OBJS-$(CONFIG_CONVOLVE_FILTER)
+=
vf_convolve.o
framesync.o
OBJS-$(CONFIG_COPY_FILTER)
+=
vf_copy.o
OBJS-$(CONFIG_COPY_FILTER)
+=
vf_copy.o
OBJS-$(CONFIG_COREIMAGE_FILTER)
+=
vf_coreimage.o
OBJS-$(CONFIG_COREIMAGE_FILTER)
+=
vf_coreimage.o
OBJS-$(CONFIG_CORR_FILTER)
+=
vf_corr.o
framesync.o
OBJS-$(CONFIG_COVER_RECT_FILTER)
+=
vf_cover_rect.o
lavfutils.o
OBJS-$(CONFIG_COVER_RECT_FILTER)
+=
vf_cover_rect.o
lavfutils.o
OBJS-$(CONFIG_CROP_FILTER)
+=
vf_crop.o
OBJS-$(CONFIG_CROP_FILTER)
+=
vf_crop.o
OBJS-$(CONFIG_CROPDETECT_FILTER)
+=
vf_cropdetect.o
OBJS-$(CONFIG_CROPDETECT_FILTER)
+=
vf_cropdetect.o
...
...
libavfilter/allfilters.c
View file @
f0f19f3d
...
@@ -221,6 +221,7 @@ extern const AVFilter ff_vf_convolution_opencl;
...
@@ -221,6 +221,7 @@ extern const AVFilter ff_vf_convolution_opencl;
extern
const
AVFilter
ff_vf_convolve
;
extern
const
AVFilter
ff_vf_convolve
;
extern
const
AVFilter
ff_vf_copy
;
extern
const
AVFilter
ff_vf_copy
;
extern
const
AVFilter
ff_vf_coreimage
;
extern
const
AVFilter
ff_vf_coreimage
;
extern
const
AVFilter
ff_vf_corr
;
extern
const
AVFilter
ff_vf_cover_rect
;
extern
const
AVFilter
ff_vf_cover_rect
;
extern
const
AVFilter
ff_vf_crop
;
extern
const
AVFilter
ff_vf_crop
;
extern
const
AVFilter
ff_vf_cropdetect
;
extern
const
AVFilter
ff_vf_cropdetect
;
...
...
libavfilter/version.h
View file @
f0f19f3d
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#include "version_major.h"
#include "version_major.h"
#define LIBAVFILTER_VERSION_MINOR 5
1
#define LIBAVFILTER_VERSION_MINOR 5
2
#define LIBAVFILTER_VERSION_MICRO 100
#define LIBAVFILTER_VERSION_MICRO 100
...
...
libavfilter/vf_corr.c
0 → 100644
View file @
f0f19f3d
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment