Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
c888adf5
Commit
c888adf5
authored
Mar 08, 2019
by
Vladimir Panteleev
Committed by
Paul B Mahol
Sep 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libavfilter: add photosensitivity filter
parent
a746359e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
360 additions
and
1 deletion
+360
-1
Changelog
Changelog
+1
-0
filters.texi
doc/filters.texi
+20
-0
Makefile
libavfilter/Makefile
+1
-0
allfilters.c
libavfilter/allfilters.c
+1
-0
version.h
libavfilter/version.h
+1
-1
vf_photosensitivity.c
libavfilter/vf_photosensitivity.c
+336
-0
No files found.
Changelog
View file @
c888adf5
...
...
@@ -13,6 +13,7 @@ version <next>:
- streamhash muxer
- sierpinski video source
- scroll video filter
- photosensitivity filter
version 4.2:
...
...
doc/filters.texi
View file @
c888adf5
...
...
@@ -14040,6 +14040,26 @@ Filter selects among @samp{t}, @samp{b} and @samp{p} using image analysis only.
@end table
@end table
@section photosensitivity
Reduce various flashes in video, so to help users with epilepsy.
It accepts the following options:
@table @option
@item frames, f
Set how many frames to use when filtering. Default is 30.
@item threshold, t
Set detection threshold factor. Default is 1.
Lower is stricter.
@item skip
Set how many pixels to skip when sampling frames. Defalt is 1.
Allowed range is from 1 to 1024.
@item bypass
Leave frames unchanged. Default is disabled.
@end table
@section pixdesctest
Pixel format descriptor test filter, mainly useful for internal
...
...
libavfilter/Makefile
View file @
c888adf5
...
...
@@ -321,6 +321,7 @@ OBJS-$(CONFIG_PALETTEUSE_FILTER) += vf_paletteuse.o framesync.o
OBJS-$(CONFIG_PERMS_FILTER)
+=
f_perms.o
OBJS-$(CONFIG_PERSPECTIVE_FILTER)
+=
vf_perspective.o
OBJS-$(CONFIG_PHASE_FILTER)
+=
vf_phase.o
OBJS-$(CONFIG_PHOTOSENSITIVITY_FILTER)
+=
vf_photosensitivity.o
OBJS-$(CONFIG_PIXDESCTEST_FILTER)
+=
vf_pixdesctest.o
OBJS-$(CONFIG_PIXSCOPE_FILTER)
+=
vf_datascope.o
OBJS-$(CONFIG_PP_FILTER)
+=
vf_pp.o
...
...
libavfilter/allfilters.c
View file @
c888adf5
...
...
@@ -305,6 +305,7 @@ extern AVFilter ff_vf_paletteuse;
extern
AVFilter
ff_vf_perms
;
extern
AVFilter
ff_vf_perspective
;
extern
AVFilter
ff_vf_phase
;
extern
AVFilter
ff_vf_photosensitivity
;
extern
AVFilter
ff_vf_pixdesctest
;
extern
AVFilter
ff_vf_pixscope
;
extern
AVFilter
ff_vf_pp
;
...
...
libavfilter/version.h
View file @
c888adf5
...
...
@@ -30,7 +30,7 @@
#include "libavutil/version.h"
#define LIBAVFILTER_VERSION_MAJOR 7
#define LIBAVFILTER_VERSION_MINOR 6
0
#define LIBAVFILTER_VERSION_MINOR 6
1
#define LIBAVFILTER_VERSION_MICRO 100
...
...
libavfilter/vf_photosensitivity.c
0 → 100644
View file @
c888adf5
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