Re: [FFmpeg-devel] [PATCH] avfilter: add declick and declip audio filters

2018-05-17 Thread James Almer
On 5/17/2018 2:19 PM, Paul B Mahol wrote: > +static int config_input(AVFilterLink *inlink) > +{ > +AVFilterContext *ctx = inlink->dst; > +DeclickContext *s = ctx->priv; > +int i; > + > +s->pts = AV_NOPTS_VALUE; > +s->window_size = inlink->sample_rate * s->w / 1000.; > +if

Re: [FFmpeg-devel] [PATCH] avfilter: add declick and declip audio filters

2018-05-17 Thread Moritz Barsnick
On Thu, May 17, 2018 at 19:19:06 +0200, Paul B Mahol wrote: Valuable filters. I had compiled your previous separate patches, but didn't have any samples for testing. > +Setting this to very high value increases impulsive noise removal but makes > whole ^ a very high ...

[FFmpeg-devel] [PATCH] avfilter: add declick and declip audio filters

2018-05-17 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 95 +++ libavfilter/Makefile | 2 + libavfilter/af_declick.c | 699 +++ libavfilter/allfilters.c | 2 + 4 files changed, 798 insertions(+) create mode 100644