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
399c7ab9
Commit
399c7ab9
authored
Apr 25, 2017
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: add video oscilloscope filter
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
8341d0dd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
463 additions
and
0 deletions
+463
-0
Changelog
Changelog
+2
-0
filters.texi
doc/filters.texi
+78
-0
Makefile
libavfilter/Makefile
+1
-0
allfilters.c
libavfilter/allfilters.c
+1
-0
vf_datascope.c
libavfilter/vf_datascope.c
+381
-0
No files found.
Changelog
View file @
399c7ab9
...
...
@@ -5,6 +5,8 @@ version <next>:
- deflicker video filter
- doubleweave video filter
- lumakey video filter
- pixscope video filter
- oscilloscope video filter
version 3.3:
- CrystalHD decoder moved to new decode API
...
...
doc/filters.texi
View file @
399c7ab9
...
...
@@ -10233,6 +10233,84 @@ other parameters is 0.
These parameters correspond to the parameters assigned to the
libopencv function @code{cvSmooth}.
@section oscilloscope
2D Video Oscilloscope.
Useful to measure spatial impulse, step responses, chroma delays, etc.
It accepts the following parameters:
@table @option
@item x
Set scope center x position.
@item y
Set scope center y position.
@item s
Set scope size, relative to frame diagonal.
@item t
Set scope tilt/rotation.
@item o
Set trace opacity.
@item tx
Set trace center x position.
@item ty
Set trace center y position.
@item tw
Set trace width, relative to width of frame.
@item th
Set trace height, relative to height of frame.
@item c
Set which components to trace. By default it traces first three components.
@item g
Draw trace grid. By default is enabled.
@item st
Draw some statistics. By default is enabled.
@item sc
Draw scope. By default is enabled.
@end table
@subsection Examples
@itemize
@item
Inspect full first row of video frame.
@example
oscilloscope=x=0.5:y=0:s=1
@end example
@item
Inspect full last row of video frame.
@example
oscilloscope=x=0.5:y=1:s=1
@end example
@item
Inspect full 5th line of video frame of height 1080.
@example
oscilloscope=x=0.5:y=5/1080:s=1
@end example
@item
Inspect full last column of video frame.
@example
oscilloscope=x=1:y=0.5:s=1:t=1
@end example
@end itemize
@anchor{overlay}
@section overlay
...
...
libavfilter/Makefile
View file @
399c7ab9
...
...
@@ -236,6 +236,7 @@ OBJS-$(CONFIG_NULL_FILTER) += vf_null.o
OBJS-$(CONFIG_OCR_FILTER)
+=
vf_ocr.o
OBJS-$(CONFIG_OCV_FILTER)
+=
vf_libopencv.o
OBJS-$(CONFIG_OPENCL)
+=
deshake_opencl.o
unsharp_opencl.o
OBJS-$(CONFIG_OSCILLOSCOPE_FILTER)
+=
vf_datascope.o
OBJS-$(CONFIG_OVERLAY_FILTER)
+=
vf_overlay.o
dualinput.o
framesync.o
OBJS-$(CONFIG_OWDENOISE_FILTER)
+=
vf_owdenoise.o
OBJS-$(CONFIG_PAD_FILTER)
+=
vf_pad.o
...
...
libavfilter/allfilters.c
View file @
399c7ab9
...
...
@@ -246,6 +246,7 @@ static void register_all(void)
REGISTER_FILTER
(
NULL
,
null
,
vf
);
REGISTER_FILTER
(
OCR
,
ocr
,
vf
);
REGISTER_FILTER
(
OCV
,
ocv
,
vf
);
REGISTER_FILTER
(
OSCILLOSCOPE
,
oscilloscope
,
vf
);
REGISTER_FILTER
(
OVERLAY
,
overlay
,
vf
);
REGISTER_FILTER
(
OWDENOISE
,
owdenoise
,
vf
);
REGISTER_FILTER
(
PAD
,
pad
,
vf
);
...
...
libavfilter/vf_datascope.c
View file @
399c7ab9
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