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
b1955036
Commit
b1955036
authored
Apr 30, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: add showspatial multimedia filter
parent
9c35285a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
432 additions
and
2 deletions
+432
-2
Changelog
Changelog
+1
-0
filters.texi
doc/filters.texi
+52
-0
Makefile
libavfilter/Makefile
+1
-0
allfilters.c
libavfilter/allfilters.c
+1
-0
avf_showspatial.c
libavfilter/avf_showspatial.c
+375
-0
version.h
libavfilter/version.h
+2
-2
No files found.
Changelog
View file @
b1955036
...
...
@@ -30,6 +30,7 @@ version <next>:
- colorhold filter
- xmedian filter
- asr filter
- showspatial multimedia filter
version 4.1:
...
...
doc/filters.texi
View file @
b1955036
...
...
@@ -22248,6 +22248,58 @@ Set minimum amplitude used in @code{log} amplitude scaler.
@end table
@section showspatial
Convert stereo input audio to a video output, representing the spatial relationship
between two channels.
The filter accepts the following options:
@table @option
@item size, s
Specify the video size for the output. For the syntax of this option, check the
@ref{video size syntax,,"
Video
size
" section in the ffmpeg-utils manual,ffmpeg-utils}.
Default value is @code{512x512}.
@item win_size
Set window size. Allowed range is from @var{1024} to @var{65536}. Default size is @var{4096}.
@item win_func
Set window function.
It accepts the following values:
@table @samp
@item rect
@item bartlett
@item hann
@item hanning
@item hamming
@item blackman
@item welch
@item flattop
@item bharris
@item bnuttall
@item bhann
@item sine
@item nuttall
@item lanczos
@item gauss
@item tukey
@item dolph
@item cauchy
@item parzen
@item poisson
@item bohman
@end table
Default value is @code{hann}.
@item overlap
Set ratio of overlap window. Default value is @code{0.5}.
When value is @code{1} overlap is set to recommended size for specific
window function currently used.
@end table
@anchor{showspectrum}
@section showspectrum
...
...
libavfilter/Makefile
View file @
b1955036
...
...
@@ -465,6 +465,7 @@ OBJS-$(CONFIG_AVECTORSCOPE_FILTER) += avf_avectorscope.o
OBJS-$(CONFIG_CONCAT_FILTER)
+=
avf_concat.o
OBJS-$(CONFIG_SHOWCQT_FILTER)
+=
avf_showcqt.o
lswsutils.o
lavfutils.o
OBJS-$(CONFIG_SHOWFREQS_FILTER)
+=
avf_showfreqs.o
OBJS-$(CONFIG_SHOWSPATIAL_FILTER)
+=
avf_showspatial.o
OBJS-$(CONFIG_SHOWSPECTRUM_FILTER)
+=
avf_showspectrum.o
OBJS-$(CONFIG_SHOWSPECTRUMPIC_FILTER)
+=
avf_showspectrum.o
OBJS-$(CONFIG_SHOWVOLUME_FILTER)
+=
avf_showvolume.o
...
...
libavfilter/allfilters.c
View file @
b1955036
...
...
@@ -443,6 +443,7 @@ extern AVFilter ff_avf_avectorscope;
extern
AVFilter
ff_avf_concat
;
extern
AVFilter
ff_avf_showcqt
;
extern
AVFilter
ff_avf_showfreqs
;
extern
AVFilter
ff_avf_showspatial
;
extern
AVFilter
ff_avf_showspectrum
;
extern
AVFilter
ff_avf_showspectrumpic
;
extern
AVFilter
ff_avf_showvolume
;
...
...
libavfilter/avf_showspatial.c
0 → 100644
View file @
b1955036
This diff is collapsed.
Click to expand it.
libavfilter/version.h
View file @
b1955036
...
...
@@ -30,8 +30,8 @@
#include "libavutil/version.h"
#define LIBAVFILTER_VERSION_MAJOR 7
#define LIBAVFILTER_VERSION_MINOR 5
4
#define LIBAVFILTER_VERSION_MICRO 10
1
#define LIBAVFILTER_VERSION_MINOR 5
5
#define LIBAVFILTER_VERSION_MICRO 10
0
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
LIBAVFILTER_VERSION_MINOR, \
...
...
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