avfilter: add arnndn filter

This commit is contained in:
Paul B Mahol 2019-07-26 10:38:31 +02:00
parent c3985c0ea8
commit b0bfa3699c
6 changed files with 1560 additions and 2 deletions

View File

@ -15,6 +15,7 @@ version <next>:
- scroll video filter
- photosensitivity filter
- anlms filter
- arnndn filter
version 4.2:

View File

@ -2116,6 +2116,17 @@ atrim=end=5,areverse
@end example
@end itemize
@section arnndn
Reduce noise from speech using Recurrent Neural Networks.
This filter accepts the following options:
@table @option
@item model, m
Set train model file to load. This option is always required.
@end table
@section asetnsamples
Set the number of samples per each output audio frame.

View File

@ -72,6 +72,7 @@ OBJS-$(CONFIG_APULSATOR_FILTER) += af_apulsator.o
OBJS-$(CONFIG_AREALTIME_FILTER) += f_realtime.o
OBJS-$(CONFIG_ARESAMPLE_FILTER) += af_aresample.o
OBJS-$(CONFIG_AREVERSE_FILTER) += f_reverse.o
OBJS-$(CONFIG_ARNNDN_FILTER) += af_arnndn.o
OBJS-$(CONFIG_ASELECT_FILTER) += f_select.o
OBJS-$(CONFIG_ASENDCMD_FILTER) += f_sendcmd.o
OBJS-$(CONFIG_ASETNSAMPLES_FILTER) += af_asetnsamples.o

1544
libavfilter/af_arnndn.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -65,6 +65,7 @@ extern AVFilter ff_af_apulsator;
extern AVFilter ff_af_arealtime;
extern AVFilter ff_af_aresample;
extern AVFilter ff_af_areverse;
extern AVFilter ff_af_arnndn;
extern AVFilter ff_af_aselect;
extern AVFilter ff_af_asendcmd;
extern AVFilter ff_af_asetnsamples;

View File

@ -30,8 +30,8 @@
#include "libavutil/version.h"
#define LIBAVFILTER_VERSION_MAJOR 7
#define LIBAVFILTER_VERSION_MINOR 62
#define LIBAVFILTER_VERSION_MICRO 101
#define LIBAVFILTER_VERSION_MINOR 63
#define LIBAVFILTER_VERSION_MICRO 100
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \