Browse Source

avfilter: add arnndn filter

tags/n4.3
Paul B Mahol 6 years ago
parent
commit
b0bfa3699c
6 changed files with 1560 additions and 2 deletions
  1. +1
    -0
      Changelog
  2. +11
    -0
      doc/filters.texi
  3. +1
    -0
      libavfilter/Makefile
  4. +1544
    -0
      libavfilter/af_arnndn.c
  5. +1
    -0
      libavfilter/allfilters.c
  6. +2
    -2
      libavfilter/version.h

+ 1
- 0
Changelog View File

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


version 4.2:


+ 11
- 0
doc/filters.texi 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.


+ 1
- 0
libavfilter/Makefile 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
- 0
libavfilter/af_arnndn.c
File diff suppressed because it is too large
View File


+ 1
- 0
libavfilter/allfilters.c 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;


+ 2
- 2
libavfilter/version.h 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, \


Loading…
Cancel
Save