[FFmpeg-devel] [PATCH] avfilter: add ANSNR filter
Steven Liu
lingjiujianke at gmail.com
Thu Mar 30 17:53:57 EEST 2017
2017-03-30 22:44 GMT+08:00 Betty Wu <lumosomul at gmail.com>:
> A new filter ANSNR is added. Makefile is changed.
> Run like 'ffmpeg -i input1 -i input2 -lavfi ansnr -f null -'.
> The implementation is for further constructing vmaf filter since ANSNR is
> one of individual tools used in vmaf.
>
> Signed-off-by: Betty Wu <lumosomul at gmail.com>
> ---
> libavfilter/Makefile | 1 +
> libavfilter/allfilters.c | 1 +
> 2 files changed, 2 insertions(+)
>
maybe you forgot add the filter source file?
use git add before commit
>
> diff --git a/libavfilter/Makefile b/libavfilter/Makefile
> index 9c15ed62d2..5416e0f34f 100644
> --- a/libavfilter/Makefile
> +++ b/libavfilter/Makefile
> @@ -123,6 +123,7 @@ OBJS-$(CONFIG_ANULLSINK_FILTER) +=
> asink_anullsink.o
> # video filters
> OBJS-$(CONFIG_ALPHAEXTRACT_FILTER) += vf_extractplanes.o
> OBJS-$(CONFIG_ALPHAMERGE_FILTER) += vf_alphamerge.o
> +OBJS-$(CONFIG_ANSNR_FILTER) += vf_ansnr.o dualinput.o
> framesync.o
> OBJS-$(CONFIG_ASS_FILTER) += vf_subtitles.o
> OBJS-$(CONFIG_ATADENOISE_FILTER) += vf_atadenoise.o
> OBJS-$(CONFIG_AVGBLUR_FILTER) += vf_avgblur.o
> diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c
> index 64b634e8f3..fbd9ec026e 100644
> --- a/libavfilter/allfilters.c
> +++ b/libavfilter/allfilters.c
> @@ -134,6 +134,7 @@ static void register_all(void)
>
> REGISTER_FILTER(ALPHAEXTRACT, alphaextract, vf);
> REGISTER_FILTER(ALPHAMERGE, alphamerge, vf);
> + REGISTER_FILTER(ANSNR, ansnr, vf);
> REGISTER_FILTER(ASS, ass, vf);
> REGISTER_FILTER(ATADENOISE, atadenoise, vf);
> REGISTER_FILTER(AVGBLUR, avgblur, vf);
> --
> 2.12.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list