[FFmpeg-devel] [PATCH] Added VMAF filter linking to Netflix's vmaf library

2017-06-21 Thread Ashish Singh
This is VMAF filter which requires Netflix's vmaf library installed but currently there is no library implementation in the Netflix's vmaf. I will open a pull request soon to Netflix's vmaf for the library integration code and provide a link in this thread. This uses pthreads (mutex/cond) where

[FFmpeg-devel] [PATCH] Added vmaf filter linking to netflix's vmaf repo. It may not necessarily be suitable for adding into mainline since it uses fork/pipe and exec for calling vmaf scripts. It is mo

2017-03-04 Thread Ashish Singh
diff --git a/libavfilter/vf_vmaf.c b/libavfilter/vf_vmaf.c new file mode 100644 index 000..a62aad1 --- /dev/null +++ b/libavfilter/vf_vmaf.c @@ -0,0 +1,319 @@ +/* + * Copyright (c) 2017 Ashish Singh + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it a

[FFmpeg-devel] [PATCH] avfilter: add VMAF filter

2017-06-24 Thread Ashish Singh
This is VMAF filter which requires Netflix's vmaf library installed, but currently there is no library implementation in the Netflix's vmaf. I will open a pull request soon to Netflix's vmaf for the library integration code and provide a link in this thread. After installing the Netflix's vmaf libr

[FFmpeg-devel] [PATCH] avfilter: add VMAF filter

2017-06-24 Thread Ashish Singh
This is VMAF filter which requires Netflix's vmaf library installed, but currently there is no library implementation in the Netflix's vmaf. I will open a pull request soon to Netflix's vmaf for the library integration code and provide a link in this thread. After installing the Netflix's vmaf libr

[FFmpeg-devel] [PATCH] avfilter: add VMAF filter

2017-07-01 Thread Ashish Singh
This patch fixes most of the styling and coding issues of the previous VMAF patches. --- configure| 5 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_vmaf.c| 400 +++ 4 files changed, 407 inse

[FFmpeg-devel] [PATCH] avfilter: add VMAF filter

2017-07-03 Thread Ashish Singh
Hi, my pull request for vmaf library interface has been merged. First install vmaf library (libvmaf) from https://github.com/Netflix/vmaf It can be installed by first doing 'make', then 'make lib' (for building libvmaf.a), then 'make install' (for installing) from root directory of vmaf. Fixed the

[FFmpeg-devel] [PATCH] avfilter: add ANSNR filter

2017-07-03 Thread Ashish Singh
This is ANSNR filter, one of the component filters of VMAF. Run it using: ffmpeg -i main -i ref -lavfi ansnr -f null - Currently it outputs the average ansnr score over all frames. --- libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/ansnr.h | 32 libavfi

[FFmpeg-devel] [PATCH] avfilter: add ANSNR filter

2017-07-03 Thread Ashish Singh
Added ansnr section in doc/filters.texi and changelog and fixed issues. --- Changelog| 1 + doc/filters.texi | 24 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/ansnr.h | 29 libavfilter/vf_ansnr.c | 403 +++

[FFmpeg-devel] [PATCH] avfilter: add VMAF filter

2017-07-03 Thread Ashish Singh
Added vmaf section in doc/filters.texi and Changelog. --- Changelog| 1 + configure| 5 + doc/filters.texi | 33 libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_vmaf.c| 402 +++

[FFmpeg-devel] [PATCH] avfilter: add ANSNR filter

2017-07-09 Thread Ashish Singh
Hi, added metadata scores and changed multipe string comparisons to few integer comparisons. --- Changelog| 1 + doc/filters.texi | 20 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/ansnr.h | 29 libavfilter/vf_ansnr.c

[FFmpeg-devel] [PATCH] avfilter: add ANSNR filter

2017-07-09 Thread Ashish Singh
--- Changelog| 1 + doc/filters.texi | 20 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/ansnr.h | 29 libavfilter/vf_ansnr.c | 418 +++ 6 files changed, 470 insertions(+) cre

[FFmpeg-devel] [PATCH] avfilter: add ADM filter

2017-07-09 Thread Ashish Singh
Hi, this is ADM filter also known as DLM (Detail loss metric), one of the component filters of VMAF. It takes two videos as input. Run it using: ffmpeg -i main -i ref -lavfi adm -f null - Currently it outputs the average adm score over all frames. --- Changelog| 1 + doc/filters

[FFmpeg-devel] [PATCH] avfilter: add motion filter

2017-07-13 Thread Ashish Singh
Hi, this is motion filter, one of the component filters of VMAF. It takes two videos as input. Run it using: ffmpeg -i main -i ref -lavfi motion -f null - Currently it outputs the average motion score over all frames. --- Changelog | 1 + doc/filters.texi | 19 +++ lib

[FFmpeg-devel] [PATCH] avfilter: add VMAF filter

2017-07-14 Thread Ashish Singh
Hi, templatized 8-bit and 10-bit functions. Documented options in doc/filters.texi and fixed most of the issues with earlier patches. Signed-off-by: Ashish Singh --- Changelog| 1 + configure| 5 + doc/filters.texi | 64 + libavfilter

[FFmpeg-devel] [PATCH] avfilter: add LIBVMAF filter

2017-07-15 Thread Ashish Singh
This one changes the previous vmaf patch to libvmaf to keep it separate from the native implementation of vmaf inside ffmpeg later. Signed-off-by: Ashish Singh --- Changelog| 1 + configure| 5 + doc/filters.texi | 64 + libavfilter/Makefile