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
637c154a
Commit
637c154a
authored
Oct 17, 2020
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: add audio frequency and phase shift filters
parent
d60927b6
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
415 additions
and
1 deletion
+415
-1
Changelog
Changelog
+1
-0
filters.texi
doc/filters.texi
+30
-0
Makefile
libavfilter/Makefile
+2
-0
af_afreqshift.c
libavfilter/af_afreqshift.c
+379
-0
allfilters.c
libavfilter/allfilters.c
+2
-0
version.h
libavfilter/version.h
+1
-1
No files found.
Changelog
View file @
637c154a
...
...
@@ -36,6 +36,7 @@ version <next>:
- AVS3 video decoder via libuavs3d
- Cintel RAW decoder
- VDPAU accelerated VP9 10/12bit decoding
- afreqshift and aphaseshift filters
version 4.3:
...
...
doc/filters.texi
View file @
637c154a
...
...
@@ -1314,6 +1314,21 @@ Force the output to either unsigned 8-bit or signed 16-bit stereo
aformat=sample_fmts=u8|s16:channel_layouts=stereo
@end example
@section afreqshift
Apply frequency shift to input audio samples.
The filter accepts the following options:
@table @option
@item shift
Specify frequency shift. Allowed range is -INT_MAX to INT_MAX.
Default value is 0.0.
@end table
@subsection Commands
This filter supports the above option as @ref{commands}.
@section agate
A gate is mainly used to reduce lower parts of a signal. This kind of signal
...
...
@@ -2064,6 +2079,21 @@ It accepts the following values:
@end table
@end table
@section aphaseshift
Apply phase shift to input audio samples.
The filter accepts the following options:
@table @option
@item shift
Specify phase shift. Allowed range is from -1.0 to 1.0.
Default value is 0.0.
@end table
@subsection Commands
This filter supports the above option as @ref{commands}.
@section apulsator
Audio pulsator is something between an autopanner and a tremolo.
...
...
libavfilter/Makefile
View file @
637c154a
...
...
@@ -50,6 +50,7 @@ OBJS-$(CONFIG_AFFTDN_FILTER) += af_afftdn.o
OBJS-$(CONFIG_AFFTFILT_FILTER)
+=
af_afftfilt.o
OBJS-$(CONFIG_AFIR_FILTER)
+=
af_afir.o
OBJS-$(CONFIG_AFORMAT_FILTER)
+=
af_aformat.o
OBJS-$(CONFIG_AFREQSHIFT_FILTER)
+=
af_afreqshift.o
OBJS-$(CONFIG_AGATE_FILTER)
+=
af_agate.o
OBJS-$(CONFIG_AIIR_FILTER)
+=
af_aiir.o
OBJS-$(CONFIG_AINTEGRAL_FILTER)
+=
af_aderivative.o
...
...
@@ -68,6 +69,7 @@ OBJS-$(CONFIG_ANULL_FILTER) += af_anull.o
OBJS-$(CONFIG_APAD_FILTER)
+=
af_apad.o
OBJS-$(CONFIG_APERMS_FILTER)
+=
f_perms.o
OBJS-$(CONFIG_APHASER_FILTER)
+=
af_aphaser.o
generate_wave_table.o
OBJS-$(CONFIG_APHASESHIFT_FILTER)
+=
af_afreqshift.o
OBJS-$(CONFIG_APULSATOR_FILTER)
+=
af_apulsator.o
OBJS-$(CONFIG_AREALTIME_FILTER)
+=
f_realtime.o
OBJS-$(CONFIG_ARESAMPLE_FILTER)
+=
af_aresample.o
...
...
libavfilter/af_afreqshift.c
0 → 100644
View file @
637c154a
This diff is collapsed.
Click to expand it.
libavfilter/allfilters.c
View file @
637c154a
...
...
@@ -43,6 +43,7 @@ extern AVFilter ff_af_afftdn;
extern
AVFilter
ff_af_afftfilt
;
extern
AVFilter
ff_af_afir
;
extern
AVFilter
ff_af_aformat
;
extern
AVFilter
ff_af_afreqshift
;
extern
AVFilter
ff_af_agate
;
extern
AVFilter
ff_af_aiir
;
extern
AVFilter
ff_af_aintegral
;
...
...
@@ -61,6 +62,7 @@ extern AVFilter ff_af_anull;
extern
AVFilter
ff_af_apad
;
extern
AVFilter
ff_af_aperms
;
extern
AVFilter
ff_af_aphaser
;
extern
AVFilter
ff_af_aphaseshift
;
extern
AVFilter
ff_af_apulsator
;
extern
AVFilter
ff_af_arealtime
;
extern
AVFilter
ff_af_aresample
;
...
...
libavfilter/version.h
View file @
637c154a
...
...
@@ -30,7 +30,7 @@
#include "libavutil/version.h"
#define LIBAVFILTER_VERSION_MAJOR 7
#define LIBAVFILTER_VERSION_MINOR 8
7
#define LIBAVFILTER_VERSION_MINOR 8
8
#define LIBAVFILTER_VERSION_MICRO 100
...
...
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