On 6/23/15, Ronald S. Bultje <[email protected]> wrote: > Hi, > > On Tue, Jun 23, 2015 at 10:45 AM, Ronald S. Bultje <[email protected]> > wrote: > >> On Tue, Jun 23, 2015 at 10:42 AM, Paul B Mahol <[email protected]> wrote: >> >>> On 6/22/15, Paul B Mahol <[email protected]> wrote: >>> > On 6/22/15, Nicolas George <[email protected]> wrote: >>> >> Le quartidi 4 messidor, an CCXXIII, Paul B Mahol a ecrit : >>> >>> Signed-off-by: Paul B Mahol <[email protected]> >>> >>> --- >>> >>> Changelog | 1 + >>> >>> doc/filters.texi | 53 ++++++++ >>> >>> libavfilter/Makefile | 1 + >>> >>> libavfilter/allfilters.c | 1 + >>> >>> libavfilter/vf_ssim.c | 340 >>> >>> +++++++++++++++++++++++++++++++++++++++++++++++ >>> >>> 5 files changed, 396 insertions(+) >>> >>> create mode 100644 libavfilter/vf_ssim.c >>> >> >>> >> Would it make sense to merge it with the psnr filter, sharing code >>> >> and >>> >> offering a common user interface for various quality measurements? >>> > >>> > Just to put it into same file? >>> > Moving it into same filter would be also possible but how would then >>> > new filter be named then? >>> >>> Looks like there are no new comments so I can safely assume current >>> state as is is good enough. >> >> >> Yeah lgtm. >> > > Actually one question - how would I use this with with a raw yuv file as > reference?
ffmpeg -i main.movie -s WIDTHxHEIGHT [-pix_fmt yuv420p] -i REF.yuv -lavfi ssim -f null - Both psnr and ssim: ffmpeg -i main.movie -s WIDTHxHEIGHT -i REF.yuv -lavfi "[0:v][1:v]ssim;[0:v][1:v]psnr" -f null - _______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
